This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

No Subject


Hi!

I have a question about XSLT (and xt), regarding dynamic state information.

I have XML containment hierarchy of "instances" (specified by a DTD), like this:

<instance name = "foo">
...
 <instance name = "fie">
...
 </instance>
</instance>


I'm using xt to transform this into HTML (and SVG later),
and I would like to calculate the "full distinguished name" (fdn) for each instance,
for example: the instance fie's fdn is "foo/fie". Compare with LDAP distinguished names.

Is it possible to to thid kind of stateful processing using XSLT/xt?
I have a feeling that it's not possible?

The algorithm could be:
Set a variable "fdn" by taking the "fdn" of the parent and add the name of the current instance.

I have tried with xsl:param and xsl:variable and so on, but it doesn't work.


Any ideas?


Per Bergman


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]