|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: For-each iteration problem
Kaerstin,
Your problem is almost undoubtedly here: <xsl:for-each select="node()"> ... </xsl:for-each> This says to select all child nodes for processing. Your source data snippet suggests that you have text nodes mixed in with the <values> elements you want: Notice each <values> element is preceded by a line feed plus some leading whitespace. These text nodes (which contain nothing but white space) are getting selected, and input boxes created for them. Either use xsl:strip-space to remove these text nodes from your input tree, or write for-each select="values", and the problem should clear up. I hope that helps, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








