[Home] [By Thread] [By Date] [Recent Entries]
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/ ***************************************************************************
|

Cart



