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

Re: how to "save" a context?

Subject: Re: how to "save" a context?
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Tue, 14 Jan 2003 16:38:40 -0500
save context for each
Thanks Dimitre. I haven't tried it yet but it looks most helpful :)

simon

On Tuesday, January 14, 2003, at 03:10 PM, Dimitre Novatchev wrote:


"S Woodside" <sbwoodside@xxxxxxxxx> wrote in message news:1D578741-27F8-11D7-AD3E-000393414368@xxxxxxxxxxxx
Gah! It's huge!

Seriously it looks like this will generate a string that, when
assigned
to a variable, and selected upon, will act as the correct XPath. Is
that right?

Yes, actually this snippet processes a nodeset of nodes and generates a set of strings (XPath expressions) for each of them. You can simplify it a bit to work only on a single node (get rid of the outermost xsl:for-each).


It has: <xsl:value-of select="msxsl:node-set($theResult)"/>


Does it require MSxml? Can I turn $theResult (which is a string,
right?) into an XPath expression I can use in a select statement,
without needing MSXML?

Actually, the xxx:node-set extension function is not required.


Just get rid of it and the msxsl namespace, too.




===== Cheers,

Dimitre Novatchev.
http://fxsl.sourceforge.net/ -- the home of FXSL

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


---
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel


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.