xsl-list
[Top] [All Lists]

RE: data structure in xslt?

2002-10-08 01:51:07
I am using xslt for code generation from xml document. I need 
to maintain a data structure to remember a list of special 
nodes I have visited before. Is there any way in xslt which 
can address this issue?

No, because there is no "before" and "after" in XSLT, it is not a
sequential programming language but a declarative one.

You need to think about your problem in functional terms: what is the
functional relationship of the output document to the source document?

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



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