|
Subject: Re: [xsl] Get value from update.xml and stored in source.xml(update source.xml) From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Thu, 08 Sep 2005 12:09:30 +0200 |
I have used posted xml and xslt.
I have written a small code in VB.NET which takes input as "xml" file and
for transformation "xslt" and does the transformation which will output an xml file.
<xsl:variable name="update" select="document('update.xml')"/>
<xsl:key name="id" match="*" use="@id"/><xsl:template match="/"> <test> <source.xml> <xsl:copy-of select="/"/> </source.xml> <source.xml> <xsl:copy-of select="$update"/> </source.xml> <output> <xsl:apply-templates/> </output> </test> </xsl:template>
<xsl:template match="node()|@*"> <xsl:copy> <xsl:apply-templates select="node()|@*" /> </xsl:copy> </xsl:template>
-- "NN= N?N/N4N1 OON9 N?ON4N-N= N?N/N4N1" - N#O N:ON1ON7O
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Get value from update.xml, Shailesh | Thread | RE: [xsl] Get value from update.xml, Shailesh |
| Re: [xsl] Get value from update.xml, Joris Gillis | Date | Re: [xsl] Merging lines of 3 words , David Carlisle |
| Month |