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]

dashes in xsl:comment not allowed


Hi,

This one threw me for a loop.  I was thinking that I could just about any
text inside an xsl:comment.  Not so.
Apparently one cannot put a sequence of two dashes (AKA hyphen) in a comment
nor end the comment in a dash.

e.g.  I wanted to put a visible demarcation in my HTML output using dashes
in a comment.

<xsl:comment> ---------------- Do not read below this line
------------------</xsl:comment>

My work around is to put in periods
<xsl:comment> ................ Do not read below this line
..................</xsl:comment>

Are there other character rules that I should know about xsl:comment?  
Is this something that should be put in dpawson's FAQ?

Thanks,




-James MacEwan
Software Developer
Investors Group Inc.
mailto:James.MacEwan@investorsgroup.com
v: (204) 956-8515
f: (204) 943-3540

"I don't know, lad. It's like no cheese I've ever tasted." -- Wallace


 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]