Subject:Help with strange XML file - please Author:McKyle Adams Date:11 Jun 2006 01:16 AM Originally Posted: 11 Jun 2006 12:48 AM
I have an XML file I received from a large corp. - it is generated by them to supposedly make it "easy' for me to bring the data from a transaction into our organization - I'm using an Access database for the time being. Since Access reads only element-centric xml and won't read the file (actually, it reads but makes a bunch of empty tables), I concluded the file is attribute-centric - also based on the file structure. So I went to the MS site and found VB .NET code for converting back and forth between attribute-centric and element-centric and I built a VB .NET app. The code works fine on other examples files, but not on the file of interest - I get warnings from the XML DOM that the code is not attribute-centric, nor is it element-centric. Would someone be willing to look at the file and tell me how I might read it? Thanks very much.
Subject:Help with strange XML file - please Author:McKyle Adams Date:12 Jun 2006 12:41 PM
Hello Ivan - thanks very much for the response.
I read the article, and I'm not clear on how to apply the XSLT during import - I may have missed something, but when I run the import per the instructions on that page, I don't see a place to apply the XSLT. Is it automatically applied by naming it the same filename prefix perhaps? I'm sorry I'm being slow about this process - I haven't worked with it before. I also looked at the MS web document regarding the schema (xsd) - the two links appear to be the same page and I guess I'm not clicking to what needs to be done.
It appears I can import the xsd before importing the xml file and it makes tables - is that the preprocessing you were referring to?
Sorry for my lack of understanding, and thanks for your patience.
If the XML document you are trying to import points to a XML Schema like the following example, Access uses the schema information to map the elements to appropriate column types.
Subject:Help with strange XML file - please Author:McKyle Adams Date:12 Jun 2006 07:32 PM
Ivan, you're a dang genious! Thanks very much - that got me the data in a hell of a lot better shape than before. I think it's all there. How did you generate that xsl file, or is that a generic file? How about the xsd? Did you do those with Stylus Studio?
Thanks again - if you ever come to New Mexico and want to go for a horse ride, look me up - we have 8 percherons (police horses).
Subject:Help with strange XML file - please Author:Schubert Xu Date:23 Aug 2019 09:46 PM
Hi McKyle,
I googled your this 13 years old message. Not sure your XACTDOC.XML was a file from XActimate? Just in case your XACTDOC.XML was from XActimate, I had a XACTDOC.ZIPXML from an ESX file. (After unzip the ESX file, I got the XACTDOC.ZIPXML). Someone said the XACTDOC.ZIPXML is a zip file, unzip it we'll get XACTDOC.XML. But I tried unzip it and it is not a zip file. so I wonder how you got your readable XACTDOC.XML? I mean through some conversions to get the readable XML file?