[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Sum in conjunction with string splitting?

Subject: Re: Sum in conjunction with string splitting?
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 09 Sep 2006 06:58:01 +0100
Re:  Sum in conjunction with string splitting?
>>>>> "David" == David Carlisle <davidc@xxxxxxxxx> writes:

    >> But only if your stylesheet's base-uri path is /, I think:
    David> ..
    >> There should be a leading file:/// before the C:/XSLT/FXSL, I
    >> think.

    David> Not necessarily , C:/XSLT/FXSL is a an absolute URI in the
    David> unregistered URI scheme C, but I think it's conformant for
    David> an xslt engine to support that URI and resolve it to
    David> something, perhaps even something on a windows filesystem
    David> mapped to that drive letter if you are lucky.  as it
    David> doesn't have the scheme:authority//path syntax it can't be
    David> a hierarchical URI so if you used such a URI as a base you

    David> shouldn't be able to resolve relative URI agaisnt that
    David> base, but I think it's OK as an absolute URI isn't it?

Yes, you are quite right - it has a colon so it's an absolute URI.

And Dmitre observes that MSXML4 accepts this - which it's quite
entitled to do.
But others are equally entitled to barf on it, or if they accept it,
not to recognize it as a file URI (which it isn't).
(You could distribute a catalog with such a transformation, which
mapped all C URIs to file:///C: URIs, which wold work if the processor
had in-built support for catalogs (<smug-grin/>), but even this won't
cover all)

So I stand by my original statement.
-- 
Colin Adams
Preston Lancashire

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.