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

Re: Loading an external file of index

Subject: Re: Loading an external file of index
From: Claudio Sacerdoti Coen <sacerdot@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jun 2000 09:51:42 +0200
Re: Loading an external file of index
On Tue, Jun 27, 2000 at 12:48:33 -0700, Paul Tchistopolskii wrote:
> > >  I would prefer this requirement to be got rid of in the XSLT spec.
> > >  Instead, I would put a special PI (or something similar) telling the
> > >  XSLT processor that the document retrieved is ever the same.
> 
> Ah - I forgot to write...  Of course there is no need in any PI's - just 
> 
> <xsl:variable name="loaded-doc"  select="document( 'some-uri-here')"/>
> 
> And then re-use $loaded-doc when you need it. 

 This is not possible in XSLT because $loaded-doc is not a document
 fragment, but only a node set. So I can't, for example, write
 
  <xsl:value-of select="$loaded-doc/*[1]"/>

 For this reason I suggested the PI.

 						Regards,
						 C.S.C.

-- 
----------------------------------------------------------------
Real name: Claudio Sacerdoti Coen
Undergraduate Computer Science Student at University of Bologna
E-mail: sacerdot@xxxxxxxxxxx
http://caristudenti.cs.unibo.it/~sacerdot
----------------------------------------------------------------


 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.