Skip to main content
Mar 24, 2021 5:19 AM UTC
Question

Can we display XML of type XSL in thingworx mashup ?

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

Mar 25, 2021 7:35 AM UTC

Hello @PB_9761313

 

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