On 31/01/2008, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
The XHTML schema defines the html element like this:
<xs:element name="html">
<xs:complexType>
<xs:sequence>
<xs:element ref="head"/>
<xs:element ref="body"/>
</xs:sequence>
<xs:attributeGroup ref="i18n"/>
<xs:attribute name="id" type="xs:ID"/>
</xs:complexType>
</xs:element>
So there is a global element declaration named "html", but its type is
anonymous.
You can only use xsl:type="htmlType" when there is a type definition in the
schema of the form
<xs:complexType name="htmlType">
ahhh, thanks.
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--