From: Misztur, C. <CMi...@ma...> - 2013-12-12 20:23:18
|
Thanks for the help again guys! I am glad you showed me the serialize() function. Seems to do a good job at serializing to json. Here is some updated code for sending email over mandrill API http://pastebin.com/BxTWTJwM From: Misztur, Chris [mailto:CMi...@ma...] Sent: Thursday, December 12, 2013 2:03 PM To: dan...@gm... Cc: exist open list Subject: Re: [Exist-open] Serialize and encode XML to string. Yeah it sort of does. I'm confused why I have to serialize twice to get the <, > to expand... serialize ( serialize ( ( <h1>test</h1>, <p>hi</p> ) ) ) From: Dan McCreary [mailto:dan...@gm...] Sent: Thursday, December 12, 2013 11:01 AM To: Misztur, Chris Cc: exist open list Subject: Re: [Exist-open] Serialize and encode XML to string. This example does much of what you are asking for. https://en.wikibooks.org/wiki/XQuery/Web_XML_Viewer - Dan On Thu, Dec 12, 2013 at 9:44 AM, Misztur, Chris <CMi...@ma...<mailto:CMi...@ma...>> wrote: How can I serialize and encode <h1>test</h1> to <h1>test</h1> ________________________________ The contents of this message may be privileged and confidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author. Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Exist-open mailing list Exi...@li...<mailto:Exi...@li...> https://lists.sourceforge.net/lists/listinfo/exist-open -- Dan McCreary http://danmccreary.com Co-author: Making Sense of NoSQL<http://manning.com/mccreary> office: (952) 931-9198 cell: (612) 986-1552 skype: dmccreary47 ________________________________ The contents of this message may be privileged and confidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author. Please consider the environment before printing this e-mail ________________________________ The contents of this message may be privileged and confidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author. Please consider the environment before printing this e-mail |