iacon_tp Posted March 16, 2011 Posted March 16, 2011 We purchased some hardware in our office that comes with software that outputs data as XML. I have been trying to build an XLST style sheet to import it into a filemaker database but am struggling to get it going. I just cant get my head around the references in the data file, I got a basic style sheet creating the field names but no data comes into the database when created. Some help and guidance with this would be great. I attached a sample data file that I am trying to import. flow data.xml
comment Posted March 16, 2011 Posted March 16, 2011 It would help knowing what data from the XML do you need to import. It looks like the entire XML document is a single record? Or perhaps multiple records describing different attributes of a single <something>?
iacon_tp Posted March 16, 2011 Author Posted March 16, 2011 I'd be happy to get them as a single record.
comment Posted March 16, 2011 Posted March 16, 2011 Try the attached as a starting point. Note that many of the data elements give you a choice between 'AsTxt' and 'AsVal'. I presume there is a list somewhere to decipher the numerical values, e.g. for: <FF_PipeOuterdiameter> <AsTxt> <UNIT>m</UNIT> <NOM>0.106</NOM> </AsTxt> <AsVal> <UNIT>2</UNIT> <NOM>106</NOM> </AsVal> </FF_PipeOuterdiameter> there should be a mapping of "2" to "mm". You will need this to construct your value lists, if you prefer to use the numerical values in your solution. flowdata.zip
iacon_tp Posted March 17, 2011 Author Posted March 17, 2011 Thanks for your help, this appears to be what I needed!
Recommended Posts
This topic is 5068 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now