[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 14:41:02 -0500
build string xsl
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?

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?

simon

On Tuesday, January 14, 2003, at 02:23 PM, Dimitre Novatchev wrote:

Build the XPath expression for that node.

One example way of doing this (for any type of node) this is presented
at:

http://www.topxml.com/code/default.asp?p=3&id=v20010323001030


===== Cheers,

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


"S Woodside" <sbwoodside@xxxxxxxxx> wrote in message news:C773ADAA-27F2-11D7-AD3E-000393414368@xxxxxxxxxxxx
I want to "save" a context, e.g., when I'm in a specific context
node,
I want to be able to serialize the context node such that I can pass
that serialization as a string or what not, to another XSLT that
processes the same original XML. Then I could simply
select="deserialize(myserializedString)" and jump to the same node.
Assuming the XML hasn't changed.

I read the spec and the FAQ... doesn't seem to be an easy way to do
this.

FWIW, the string has to go through an HTML forms client/server
roundtrip, it will be stored as a parameter in an HTML form, then
when
they submit, the string will be used to access a subtree of the
original XML to expand that subtree and make new HTML forms for the
subtree.

simon

---
www.simonwoodside.com


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



__________________________________________________ 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.