xsl-list
[Top] [All Lists]

Re: [xsl] [XSLT 2.0] Checking that an element's value has the desired datatype?

2006-10-16 09:51:34
"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























        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Demandez à ceux qui savent sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>