Re: [xsl] Locating Things Relative to Location of Style Sheet

Subject: Re: [xsl] Locating Things Relative to Location of Style Sheet
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 6 Dec 2002 11:43:54 GMT
  Why should using using xpath2 make for cross platform incompatibility
  please?


you might or might not want to peruse currrent rambling threads on
xml-dev.


But ...

in XPath1, given <x>012</x> then you have the following being true
on all XPath implementations (unless they are broken, which doesn't
count) 
x=12 and x='012'

in Xpath2 the string value of the element x might be 
"012"
or it might be
an error
or
"12.0"
or
"12"
depending on (a) whether the processor decided to apply a schema that
might or might not have been specified by the input file, and if it does
apply a schema, whether or not it keeps the original character string or
whether it discards the original text and just re-creates the string
value as the canonical representation of the schema typed value.

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread