This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
dashes in xsl:comment not allowed
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] dashes in xsl:comment not allowed
- From: "MacEwan, James (Information Services)" <James dot MacEwan at investorsgroup dot com>
- Date: Fri, 22 Jun 2001 13:54:55 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
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