Subject: Re: [XSLT 2.0] Checking that an element's value has the desired datatype?
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 16 Oct 2006 18:50:47 +0200 (CEST)
|
"Costello, Roger L." wrote:
Hi
> Excellent! With this:
> matches(flt:Aircraft/flt:Altitude, '[0-9]+')
> I can do datatype checking, without using XML Schemas.
No, you do string matching on the lexical representation of the
values. The difference can be important.
Regards,
--drkm
___________________________________________________________________________
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions !
Demandez ` ceux qui savent sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com
|