1 Reply Latest reply on Apr 13, 2017 6:02 PM by pchung RSS
    lgilow-2 Newbie

    Using XML Objects

    I am working on a project that requires we manage XML Files. I noticed that ThingWorx provides an type that can be used for parameters. When using this I found that the creating a new XML object using the XML string will throw an exception if the XML includes the standard header:

    <?xml version="1.0" encoding="UTF-8"?>

    <?xml-stylesheet type="text/xsl" href=""?>


    Removing the header I find that the XML object is created without an exception. The problem is that I can't seem to find any standard functions that can be used to parse the XML or traverse it's nodes.

    Does the XML object when used in a service defined with JavaScript have any functions for accessing nodes and attributes?