For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > July 2005 > XML::DOM and extended characters









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XML::DOM and extended characters
Dave Isaacs

2005-07-24, 8:30 pm

I am having a problem with extended characters when creating an XML
document.

I have a XML::DOM::Document object $DOC, and when I create a text
element with extended characters, such as

$DOC->createTextElement("value", "abcd=E9");

I am ending up with an element that looks like

<value>abcdé</value>

This conversion of the =E9 to an entity is causing all sorts of
problems. What is causing it and how can I avoid it?

Thanks

Dave I

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com