Skip to main content
1-Visitor
March 24, 2021
Question

Can we display XML of type XSL in thingworx mashup ?

  • March 24, 2021
  • 1 reply
  • 916 views

Can we display XML of type XSL in thingworx mashup ? I have kept the XML file in Thingworx File repository but I am not able to load XML. getting below error when trying to use the LoadXML method in a service. Wrapped by: com.thingworx.dsl.exceptions.DSLRequestProcessingException: Execution error in service script [getXml] :: Content is not allowed in prolog. at com.thingworx.dsl.engine.DSLProcessor.executeService(DSLProcessor.java:328) Any suggestions ? Please find attached XML for your reference.

1 reply

12-Amethyst
March 25, 2021

Hello @PB_9761313

 

Due to security reason, XML of type XSL can not read in ThingWorx. LoadXML method can read only XML type.