Subject: Re: [xsl] How to use generate-id() inside an xsl:function without a node available? From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 28 Feb 2007 00:00:19 +0100 |
Out of interest, how can you call a function multiple times and not be able to create an ID in the code in the code that makes the call?
For example, in the above code snippet you have (1 to 20) to use. If you were iterating over nodes you could use them. In a recursive named template you could use the value you're recursing with etc...
My point is - in what situation would you need to create a node to call generate-id() on?
<xsl:function name="my:caption" as="element()"> <xsl:param name="caption-list" as="xs:string+" /> <xsl:param name="style-list" as="xs:string+" /> .... create SVG and FO parts </xsl:function>
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to use generate-id() , Andrew Welch | Thread | Re: [xsl] How to use generate-id() , Dimitre Novatchev |
Re: [xsl] How to use generate-id() , Andrew Welch | Date | Re: [xsl] How to use generate-id() , Abel Braaksma |
Month |