So, using your example, instead of:

MyXMLObj.MyXMLChild[1] = 'http://myurl.com?x=y&a=b';

...I'd use:

MyXMLObj.MyXMLChild[1].XMLCData = 'http://myurl.com?x=y&a=b';

...?


On Tue, Jun 17, 2014 at 2:39 PM, Jon Clausen <jon_clau...@silowebworks.com>
wrote:

>
> CDATA:  MyXMLObj.MyXMLChild[1].XMLCData=蘇ttp://myurl.com?x=y&a=b';
>
> Most XML libraries for other languages will read CDATA just like they
> would a non-escaped node.
>
> On Jun 17, 2014, at 2:33 PM, John M Bliss <bliss.j...@gmail.com> wrote:
>
> >
> > I'm working with a vendor to troubleshoot an error and he's asked me to
> > *not* replace & with &amp; etc in a URL field. I'm building an XML doc
> > with xmlnew() and then posting it with cfhttp method="post" and I'm not
> > explicitly calling urlencodedformat() or anything. CF is just
> automatically
> > and (I think) correctly performing the encoding. Any way I can stop this
> > from happening just for the duration of the troubleshooting...?
> >
> > --
> > John Bliss - http://www.linkedin.com/in/jbliss
> >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358745
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to