darkalfa Posted February 24, 2006 Posted February 24, 2006 (edited) Hello I'm trying to export the shippments from FM6 to UPS WorldShip. It can be done by .xml file. But the result of my export "para_ups.zip" and the .xml necesary "New Feature - Shipper Account Number Auto Import.zip" doesn't match. Can somebody help me to create one XSL? Note: In New Feature.xml Appears the section, but i don't need to create Invoices in ups software, so i don't need that segment. Thank you!!! New_Feature_-_Shipper_Account_Number_Auto_Import.zip para_ups.zip Edited February 24, 2006 by Guest
Wim Decorte Posted February 24, 2006 Posted February 24, 2006 This is just bare-bones and assumes you have a field for each node in "openshipment". If not delete the relevant "" lines <?xml version='1.0' ?>
darkalfa Posted February 24, 2006 Author Posted February 24, 2006 thank you very much for your help. I try it and gives me one error (I translate from spanish) Incorrect Combination in the input XML file 0<>/LineNumber> It can be because on the .xml sample is and when i export returns me ¿¿¿ Thank you for your help!!!
Fenton Posted February 24, 2006 Posted February 24, 2006 You can remove the FileMaker namespace by adding: exclude-result-prefixes="a" to the stylesheet element: xmlns:a="http://www.filemaker.com/fmpxmlresult" exclude-result-prefixes="a">
darkalfa Posted February 24, 2006 Author Posted February 24, 2006 Thank you very much!! Now all works PERFECT! I owe you a pair of beers! ???
Wim Decorte Posted February 24, 2006 Posted February 24, 2006 Someday I'll remember to always include that by default in my stylesheets ???
Fenton Posted February 24, 2006 Posted February 24, 2006 On imports you tend to have a similar but converse problem. Then it's the other guy's namespace that you need to prefix, then exclude. This is only necessary when they define their own specific namespace on their xml. But this is fairly common, esp. with large companies (such as Amazon).
Genx Posted June 14, 2006 Posted June 14, 2006 Awesome Awesome Post. I've been trying to work out how to reparse the xmldoresult export from scratch for ages. I didn't realize we could parse another xml file based on a referenced style sheet. Wim you've saved me another 2 weeks of my young life with that example, thanks.
dburnham Posted June 16, 2011 Posted June 16, 2011 I hope that my question is on the same topic. The spanish language part is throwing me off track ... I am looking for a stylesheet that will permit me to export data from FIleMaker so that it conforms to the schema required by OpenShipments.xdr (attached) The idea is to substitute XML processing for the ODBC method of making shipments using FileMaker data.
comment Posted June 17, 2011 Posted June 17, 2011 the schema required by OpenShipments.xdr (attached) I don't see an attachment.
Recommended Posts
This topic is 4942 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