|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using a parameter in a select within a recursive
Sean & Helen wrote:
<fo:block><xsl:value-of select="concat('FIELD_',$number)"/></fo:block>... However, the output gives me: FIELD_1 FIELD_2 FIELD_3 etc....
rather than the data contained within these nodes.
If you want the processor to select elements with a
constructed name, you have to tell this to the processor
the right way: select all elements, and restrict to elements
which have the name you want. Translated into XPath:
select="*[name()=concat('FIELD_',$number)]"I suspect there are ways to simplify your style sheet drastically. J.Pietschmann
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








