Subject: Re: [xsl] Challenge: create xPath 2.0 regular expressions for each XML Schema datatype From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Wed, 18 Oct 2006 14:02:29 +0200 |
Most of those are already listed in the schema spec eg http://www.w3.org/TR/xmlschema-2
<xs:restriction base="xs:short"> <xs:minInclusive value="-128" id="byte.minInclusive"/> <xs:maxInclusive value="127" id="byte.maxInclusive"/>
tells you immediately that the xpath2 for byte is
(:whatever you have for xs:short:) and $value >= -128 and $value <= 127
-- Abel Braaksma http://www.nuntia.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Challenge: create xPath 2, David Carlisle | Thread | RE: [xsl] Challenge: create xPath 2, Michael Kay |
Re: [xsl] Challenge: create xPath 2, David Carlisle | Date | Re: [xsl] Determining if an optiona, Evan Lenz |
Month |