Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4926 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (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 by Guest
Posted

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' ?>



 

  

   

    

     

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

      

       

      

     

    

   

  

 







Posted

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!!!

Posted

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">

Posted

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).

  • 3 months later...
Posted

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.

  • 5 years later...
Posted

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.

This topic is 4926 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.