[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Hi All,
I need help in logic of replacing the string in XML for the below input.
<test>
<content_vars>
<content name="subject"> Hello [[BUYERS_NAME]]</content>
<content name="text"> REF Order [ORDER_NUMBER]</content>
</content_vars>
<BUYERS_NAME>
SENTHIL
</BUYERS_NAME>
< ORDER_NUMBER >
1234
</ORDER_NUMBER >
</test>
[xsl] String Replacement in XML using XSLT
Subject: [xsl] String Replacement in XML using XSLT From: Senthilkumaravelan Krishnanatham <senthil@xxxxxxxxx> Date: Mon, 25 Sep 2006 09:47:28 -0700 |
Hi All,
I need help in logic of replacing the string in XML for the below input.
<test>
<content_vars>
<content name="subject"> Hello [[BUYERS_NAME]]</content>
<content name="text"> REF Order [ORDER_NUMBER]</content>
</content_vars>
<BUYERS_NAME>
SENTHIL
</BUYERS_NAME>
< ORDER_NUMBER >
1234
</ORDER_NUMBER >
</test>
Output should be <html> <body> <P>Hello SENTHIL</p> <p> REF Order 1234</p> </body> </html>
Is there anyway I can do it in XSLT? Any suggestion are welcome.
Thanks, Senthil
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Test, Mulberry Technologie | Thread | Re: [xsl] String Replacement in XML, Mukul Gandhi |
Re: [xsl] Test, Mulberry Technologie | Date | Re: [xsl] String Replacement in XML, Mukul Gandhi |
Month |
Keywords