Subject: dashes in xsl:comment not allowed
From: "MacEwan, James (Information Services)" <James.MacEwan@xxxxxxxxxxxxxxxxxx>
Date: Fri, 22 Jun 2001 13:54:55 -0500
|
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@xxxxxxxxxxxxxxxxxx
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
|