Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - >Thread Next - RE: [xsl] XSL-output for xml without parent node [xsl] XSL-output for xml without parent nodeTo: Date: 5/4/2004 7:04:00 AM Hi! I have the following xml . <RESULT ID="1" NAME="te"/> <RESULT ID="2" NAME="tes"/> <RESULT ID="3" NAME="tess"/> I have the following xsl <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xml:space="preserve"> <xsl:template match="/"> <html> <body> <xsl:for-each select="//RESULT"> <xsl:value-of select="@ID"/> </xsl:for-each> </body> </html> </xsl:template> </xsl:stylesheet> when i use the following xsl i'm not getting any output . I'm guessing it has to do with <xsl:for-each select="//RESULT"> . I do get output if i have only one record in the XML file . Any help appreciated . Thanks!!!! __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
