Commander Issues With Xml 追蹤


Trying to setup a task that triggers when an XML file is created in the Scan folder.

The XML file is generated from our ERP system and not in BTXML format so i've transform it with an XSL-file.

See both attached (ERP.xml and TRANSFORM.xsl) [attachment=2045:ERP.txt][attachment=2046:TRANSFORM.txt]


See also the Commander settings





But everytime the XML file is created I get an error.



Cant figure out what the error is? What am I doing wrong? :(

1 意見

Ian Cummings
評論操作 永久連結

I changed the header of the XSL to the below.  However, it should be noted that the result gave no actual record data in the CDATA section:


<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="2.0" xmlns:xsl="">
<xsl:output method="xml" version="1.0" indent="yes" cdata-section-elements="TextData"/>
<xsl:output omit-xml-declaration="no" encoding="UTF-8"/>
<xsl:strip-space elements="*"/>

To test your XSL more inteactively I recommend that you use this online tool:


*Note that the site only supports XSL v1.0 so you'll need to modify that in the applicable xsl:stylesheet attribute.  You don't seem to be using an XSL v2.0 specific feature so that shouldn't be a problem.


The below site is also a good XSL reference resource: