|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Schema-awareness and built-in types
The following doesn't work in an XSLT processor with basic conformance:
<xsl:element name="a" type="xs:integer">5</xsl:element>
even though you can create variables using the built-in types:
<xsl:variable name="a" select="5" as="xs:integer"/>
or use the constructor functions:
<xsl:variable name="a" select="xs:integer('5')"/>
What's the reason for this restriction? Why can't I use built-in types
to annotate new nodes?
--
Max Toro
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








