You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by El...@agi.ch on 2003/05/12 13:36:23 UTC

Apply-templates

Hello

I use the Function <xsl:apply-templates> to Apply a set of Template.
Because the calls are dynamic, i built the Node/Nodepaths up as follows:

	<xsl:apply-templates select="layout/page-setup/*[$nodeNr]"/>
It does not work. The Nodes to be execute are all Template are linked with
the Nodes underneath page-setup...

	<xsl:apply-templates select="layout/page-setup/*[3]"/> does work!

If i generate first a Variable, then i get the following error:
	-> NOT A NODE OR NODESET

Is there a Function, with which i can convert a String into a Node/Nodeset?
Or Is there another possibility?

THX Bule


___________________________________________________________________________________
 
Diese E-Mail ist nur fuer die als Empfaenger genannte Person oder Gesellschaft bestimmt. Wenn Sie diese
E-Mail irrtuemlich erhalten haben, bitten wir Sie, den Absender zu benachrichtigen und die E-Mail auf Ihrem
Computersystem zu loeschen.
___________________________________________________________________________________
 


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: Apply-templates

Posted by Jeremias Maerki <de...@greenmail.ch>.
Again, Elmar, this is not the right mailing list for XSLT-related questions.
Please understand.

See http://xml.apache.org/fop/resources.html#mailing-lists-xslt-mulberry

On 12.05.2003 13:36:23 Elmar.Hurni wrote:
> I use the Function <xsl:apply-templates> to Apply a set of Template.
> Because the calls are dynamic, i built the Node/Nodepaths up as follows:
> 
> 	<xsl:apply-templates select="layout/page-setup/*[$nodeNr]"/>
> It does not work. The Nodes to be execute are all Template are linked with
> the Nodes underneath page-setup...
> 
> 	<xsl:apply-templates select="layout/page-setup/*[3]"/> does work!
> 
> If i generate first a Variable, then i get the following error:
> 	-> NOT A NODE OR NODESET
> 
> Is there a Function, with which i can convert a String into a Node/Nodeset?
> Or Is there another possibility?

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org