[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

BASE64 Encoded Content REPLACEMENT

Subject: BASE64 Encoded Content REPLACEMENT
From: Senthilkumaravelan Krishnanatham <senthil@xxxxxxxxx>
Date: Mon, 13 Nov 2006 10:53:47 -0800
studio 30200
Hi All,
I have the following structure in my XML and i need to translate the following object into


Input content
<?xml version="1.0" encoding="UTF-8"?>
<broadcast>
  <content_vars>
   <content name="subject"><html>Hello [[BUYERS_NAME]]</html>
</content><!--BASE 64 encoded-->
   <content name="text">Hello [[BUYERS_NAME]]</content><!--
encoded->
  </content_vars>

    	<ORDER_FEED>
<ORDER>
<ORDER_HEADER>
<BUYERS_NAME>Senthil</BUYERS_NAME>
<WEB_ORDER_NUMBER>W12345<WEB_ORDER_NUMBER>
</ORDER_HEADER>
<!--Line Items-->
</ORDER>
</ORDER_FEED>
</broadcast>


<?xml version="1.0" encoding="UTF-8"?> <htmlbody> <html>Hello Senthil </html> </htmlbody> <htmlbody> <textbody> Hello Senthil </textbody >


Could you please help me in decoding the base64 encode and replace the variable with the associated enclosed content.
I have gone through Mukul website and I am still strugging for the decoding of BASE64 content and replace the [[]]
content with the value in it.


Any eye opener suggestion are welcome.

Thanks in advance.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.