RE: [xsl] What's wrong with this copy-of?

Subject: RE: [xsl] What's wrong with this copy-of?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 3 Oct 2001 23:58:44 +0100
>
> All I wanted is to see the XML foo node commented in the
> HTML, what i'm
> doing wrong?
>
Comments can only contain text, they cannot contain any other nodes.
Remember that you are generating a result tree, not text. If you want angle
brackets inside a comment, you must generate them as characters, because a
comment node cannot have element children.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread