[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xls:for-each not working
Josh,
Your for-each is working fine, but your XPath is wrong: At 02:47 PM 4/1/2005, you wrote: <xsl:template name="detail"> <xsl:for-each select="/invoice/detail/row"> <fo:block> <xsl:value-of select="/transaction_detail"/> this value-of selects the "transaction_detail" element child of the root (as indicated by the initial slash). You want the "transaction_detail" child of the context node (each row in turn). That's xsl:value-of select="transaction_detail"/> Cheers, Wendell
|
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
|