Subject: [xsl] Schema-awareness and built-in types From: "Max Toro maxtoroq@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 11 Jun 2014 15:45:07 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: [ann] Webinar: XSLT quick, George Cristian Bina | Thread | Re: [xsl] Schema-awareness and buil, Abel Braaksma (Exsel |
[xsl] Re: [ann] Webinar: XSLT quick, George Cristian Bina | Date | [xsl] Term/Definition Lookup, Rick Quatro rick@xxx |
Month |