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

Re: mixing it up: REST+XML Namespaces + XLST

Subject: Re: mixing it up: REST+XML Namespaces + XLST
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 19 Apr 2005 10:20:22 +0200
Re:  mixing it up: REST+XML Namespaces + XLST
Hi,

On mar, 2005-04-19 at 09:57 +0200, James Fuller wrote:

> I wont make an arguement for such a bastard child...but it does save a
> few cycles 

Hmmm... I must be missing something, but I don't see how
"document(fn:namespace-uri(.))" saves cycles compared to
"document(@lnk)"!

Furthermore, your trick requires that you use namespaces in your
instance documents which you might have been able to avoid without it
and these namespaces do add many cycles (for instance imposing that you
use prefixes in all your XPath expressions).

> and its usage within XSLT is pretty elegant.

Isn't it very subjective :-) ?

Personally, I wouldn't call using XSLT 2.0 "elegant" at all !

Eric 

-- 
Le premier annuaire des apiculteurs 100% XML!
                                                http://apiculteurs.info/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------

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.