[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: commenting an XML element [XSLT 1.0][xsltproc]
On 18/08/2010 12:09, Martin Honnen wrote:
I don't see any problem with that code The code is trying to copy elements into a comment, but comments can not conatin element nodes, they only have a text value, not children (the same as attributes). You need to serialise the element to a string (either using a template usineg <<xsl:value-of select="name()"/>.... or an extension such as saxon:serialize(). David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|