This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


>
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]