|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How to use xslt to transform xml to xml with added nodes
That did it! Thanks very much to Mike Brown for all the help.
mike
(Embedded
image moved Mike Brown <mbrown@xxxxxxxxxxxxx>
to file: 09/22/99 01:44 PM
pic01987.pcx)
Please respond to xsl-list@xxxxxxxxxxxxxxxx
To: "'xsl-list@xxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxx>
cc: (bcc: Michael Teigman/HPG/US/Reuters)
Subject: RE: How to use xslt to transform xml to xml with added nodes
> 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
------------------------------------------------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Reuters Ltd.Attachment:
pic01987.pcx
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








