I'm trying to read a fairly complicated XML format that I know nothing about (Government standard, 220 page spec, etc) and don't know where to begin. The Webinar for Reading XML is a bit broken (no video, at least some of the demo's error-out) so I'm stumped.
I have a XML (like: http://www.dft.gov.uk/transxchange/schema/2.1/examples/express/express.xml) but FME (either 2012 or 2013) refuses to read it.
I get: |ERROR |Unable to configure the XML module to read the XML dataset. No <xrs:switch> item in the xrs document 'C:\\apps\\FME_2013_64\\xml\\xrs\\xrs.xml' matched the XML dataset 'C:/Users/jmou1.WCC-CORP/Desktop/20121128 WarwTT/twm_8-201_-1-y11.xml'
|ERROR |The XML format could not be determined by examination. Try entering a feature path into the "Elements to Match" parameter, specifying an xfMap, selecting an XRS, or using a more specific reader
While there is a XSD collection (http://www.dft.gov.uk/transxchange/schema/2.1/TransXChange_schema_2.1.zip) but there's no XRS or xfMap in there.
I can manuall specify some "Elements to match" (i.e. "StopPoints") and this does then create a reader which in turn only had one feature which has everything as a list. I could explode this, but is this best practice? I don't know what all of my potential "Elements to match" are.
Can I get FME to just use the nice DTD and/or XSD files?
Thanks