At 2010-12-04 23:33 +0000, Michael Kay wrote:
>For a comment syntax, what's wrong with <xml:comment>....</xml:comment>?
Why I would never support that syntax for a comment is that today when I say:
<xsl:apply-templates select="*"/>
... I know I'm getting *only* my XML content and not any comments
that might be injected by the user.
I feel comments are benign and must stay that way. Already I have to
deal with modeling the xml:* attributes in my schemas ... I wouldn't
want to have to model comments as well.
I hope this helps.
. . . . . . . . . . . . Ken
--
Contact us for world-wide XML consulting & instructor-led training
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/
G. Ken Holman mailto:
Legal business disclaimers: http://www.CraneSoftwrights.com/legal