xsl-list
[Top] [All Lists]

RE: About validating post xsl

2002-12-12 16:23:27

- Well, hate to be a bit nitpicky (I know you know this), but 
just to be explicit, you need to have a single root element 
in order for it to be well-formed.  The following is a legal 
stylesheet is it not?

<xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
   <xsl:template match="/">
      <Foo/>
      <Bar/>
   </xsl:template>
</xsl:stylesheet>

But you would certainly not say the result is well-formed :)

I hate to be nit-picky but the result is a well-formed external general
parsed entity.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>