This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: What's wrong with this copy-of?
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] What's wrong with this copy-of?
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 3 Oct 2001 23:58:44 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
>
> 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