|
Subject: RE: [xsl] [XSLT 2.0] Checking that an element's value has the desired datatype? From: "Costello, Roger L." <costello@xxxxxxxxx> Date: Tue, 17 Oct 2006 06:43:39 -0400 |
>>Can you think of a value for the Altitude
>> element that the XSLT template would reject, but a schema
>> validator would accept?
> Yes. " 23 "
Good catch! The XSLT expression should be:
matches(flt:Aircraft/flt:Altitude, '^\s*[+\-]?[0-9]+\s$')
Agree?
/Roger
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] [XSLT 2.0] Checking that , Michael Kay | Thread | Re: [xsl] [XSLT 2.0] Checking that , Abel Braaksma |
| RE: [xsl] ISO Schematron in XSLT 2., Costello, Roger L. | Date | RE: [xsl] [XSLT 2.0] Checking that , Costello, Roger L. |
| Month |