1 Reply Latest reply on Jul 30, 2013 10:07 PM by Mac_rk

    XML tags with Namespaces

    Teaching_ADBE Level 1



      I am trying to build XML objects with Javascript. It all goes OK, but when I try to create a new XML object from a string whose XML tag contains a colon (as it uses namespaces) in a way like "<tag:something>...</tag:something>, ExtendScript outputs an XML error for that line (like the XML code in that string is wrong).


      Anyone knows how to overcome this and be able to both read/build/append XML objects with tags that use namespaces.


      (Moreover: if the XML I am trying to read has an xmlns attribute in the root node, it also provides an error).