[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] variable holding a xml document created by xslt


Subject: [xsl] variable holding a xml document created by xslt
From: "Robert Van Gemert" <rcvangemert@xxxxxxxxxxxxxxxx>
Date: Sun, 11 Apr 2004 17:53:58 +1000

Hi,

Battling with a stylesheet to display svg maps and making good progress!,
one of my last problems is placing lables so they don't overlap.

Using xslt can I create a variable that holds xml, for example I want to
create a variable that holds the dimentions of  many lables eg.

<labels>
 <label x1="100" y1="110" x2="120" y2="115"/>
 <label x1="..." y1="..." x2="..." y2="..."/>
 <label x1="..." y1="..." x2="..." y2="..."/>
..
</labels>


My idea is to call a template and return a list of lables.

With xslt I can return a single variable or a node from the input document
but I cannot get my mind around returning a xml tree that I construct using
code (in one pass).

Thanks,

Robert


Current Thread
Keywords