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

RE: XSLT V 1.1

Subject: RE: XSLT V 1.1
From: Thorbjørn Ravn Andersen <TRA@xxxxxxxx>
Date: Wed, 13 Sep 2000 10:26:14 +0200
thorbj rn ravn
> Yes. I was wrong estimating that I can solve some of the
> problems you are solving with pure XSLT. I was too naive.
> ( ... I'm anyway 'breaking'  my stylesheets with saxon:evaluate'
> and 'xt:node-set' )

Extensions do not break conformance.  You just tie yourself to the particular processor you use.


> > Why?  You just turn the problem around.  What if you need 
> an XML-file which is located
> with the XSL file?
> 
> The URI of XSL file could be provided to the stylesheet 
> itself by XSLT engine
> ( in $argv0 ). The URI of XML file ( 'argument' ) could be 
> provided as well.

Yes.  Certainly.  Except that it doesn't in XSLT 1.0.  The current semantics for document(a,b) does cover these cases completely.

> This pattern worked fine for decades. ( And is was trivially 
> implemented
> in Ux, because $argv0 was unavoidable for some *other* things. )

One of my most frequent annoyances about the argv[0] mechanism is that you get either the full path of the processor or the command name the user typed.  Either has disadvantages.  What is wrong with the current approach except being different to what you know already?


> 
> > I second Davids proposal that there should be a standard 
> interface to the various URI's
> present in the processor.
> 
> Because David  have not provided the particular example with 
> 'entities,
> breaking URI'  I still don't understand why  'design pattern' 
> which currently
> works for  'XSL'  will not work for 'XML'. In fact I think we 
> are discussing
> pretty much the same thing.

Not completely.  You are trying to fix something that ain't broken.  And doing it in an incompatible manner :-(

-- 
  Thorbjørn Ravn Andersen             "...and...Tubular Bells!"
  http://bigfoot.com/~thunderbear


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


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.