[xsl] RE: How to transform an embedded node into text

Subject: [xsl] RE: How to transform an embedded node into text
From: "Meyer, Roland" <roland.meyer@xxxxxxxxxxx>
Date: Mon, 26 Sep 2005 09:44:39 +0200
Hi,

I have to transform an XML file into another one and have the following
problem. The source XML looks like this:

<root>
<short>Some text.

Description for the next node: <parameter id="8"
value="bldInvntryBladeIndex"/>
Some other text <parameter id="9" value="trapVbPrimaryBladeIndex"/>
And again some different text: <parameter id="10"
value="stm1CfgStm1Index"/>
</short>
</root>


The destination XML file should look like:

<root>
<short>Some text.

Description for the next node: %s
Some other text %s
And again some different text: %s
</short>
</root>


Is there a way to transform the "parameter" nodes in the embedded text
of node "short" into another text?


Best Regards,
Roland

Current Thread