[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: David Megginson <david@m...>, <xml-dev@x...>
  • Date: Wed, 12 Apr 2000 17:36:09 -0400

At 06:53 AM 4/11/00 -0400, David Megginson wrote:
> > [Side note: XSLT's defaults for PIs and comments, to me, say a lot
> > indirectly about the 'robustness' of PIs and comments, especially in
> > contrast to the rules for elements: The built-in template rule for
> > processing instructions and comments is to do nothing.  <xsl:template
> > match="processing-instruction()|comment()"/>]
>
>That's seriously misleading -- the built-in templates also strip out
>start and end tags recursively:

What I find interesting here isn't so much that templates strip them out,
but that XSLT treats them together, as if in a single category of doing
nothing.

I should have been clearer about that.

Simon St.Laurent
XML Elements of Style / XML: A Primer, 2nd Ed.
Building XML Applications
Inside XML DTDs: Scientific and Technical
Cookies / Sharing Bandwidth
http://www.simonstl.com

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member