|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FW: Add comment from xml source
Perhaps you should post the stylesheet where you actually try to get the comments since at least with Saxon 6.5.4 it does get comments which means most likely 6.5.3 does as well. There will be a lot of typos with this code, but the following should work (although it should really be cleaned up even further and you'll probably need to do something to prevent the two titles from messing stuff up). <xsl:template match="/"> <html> <body> <table> <tr> <th>Item</th> <th>ID</th> </tr> <xsl:for-each select="document/para0"> <tr> <xsl:apply-templates /> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> <xsl:template match="title | @id | comment()"> <td> <xsl:value-of select="." /> </td> </xsl:template> Jon Gorman
|
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








