[no subject]

Subject:
From: "Per Bergman J (QRA)" <per.j.bergman@xxxxxxxxxxxxxxx>
Date: Mon, 27 Mar 2000 16:33:40 +0200
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


Current Thread