RE: How to use xslt to transform xml to xml with added nodes

Subject: RE: How to use xslt to transform xml to xml with added nodes
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 22 Sep 1999 11:44:05 -0600
> From: Michael Teigman [mailto:michael.teigman@xxxxxxxxxxx]
> This is fine when the StringMap is part of the input XML. I 
> cannot modify the input XML.

If you are using an XSLT engine that implements the document() function,
like XT, you can put the string map in a separate XML file.

<xsl:variable name="StringMapRoot" select="document(URIofStringMap.xml)"/>
.
.
.
<xsl:variable name="texti"
select="string($StringMapRoot/StringMap/texti[textg=$textg]/@out)"/>


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


Current Thread