xsl-list
[Top] [All Lists]

Re: how to "save" a context?

2003-01-14 12:23:10
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(_at_)yahoo(_dot_)com> wrote in message
news:C773ADAA-27F2-11D7-AD3E-000393414368(_at_)yahoo(_dot_)com(_dot_)(_dot_)(_dot_)
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



<Prev in Thread] Current Thread [Next in Thread>