What's wrong with this copy-of?
A silly question. Sorry. I've got the following foo.xml: <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="foo.xsl"?> <page> <foo> <one a="a1foo">v1foo</one> <two a="a2foo">v2foo</two> </foo> </page> An the foo.xsl is: <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="html" encoding="iso-8859-1" indent="yes"/> <xsl:template match="/"> <html> <head/> <body>BODY <xsl:comment> <xsl:copy-of select="node()"/> </xsl:comment> </body> </html> </xsl:template> </xsl:stylesheet> All I wanted is to see the XML foo node commented in the HTML, what i'm doing wrong? Thank you in advance. This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No confidentiality or privilege is waived or lost by any wrong transmission. If you have received this message in error, please immediately destroy it and kindly notify the sender by reply email. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Opinions, conclusions and other information in this message that do not relate to the official business of Newknow shall be understood as neither given nor endorsed by it. 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