|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: XPath incompatibilities
Jeni Tennison <jeni@xxxxxxxxxxxxxxxx> wrote: > I guess that one possibility that would help in the case of < would be > to convert the nodes to whatever type they look like. If they look > like numbers, treat them as numbers; if they look like dates, treat > them as dates and so on. I beg to disagree: is 02020202 a number or a date? It is better to flag an error instead of trying to read minds. If some data is meant to be a date, it is a good idea to have this expressed somewhere, either in a type declaration in a schema, or by using explicit conversion functions in the expression. Explicit type conversions might also be good for optimizations. Regards J.Pietschmann XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








