Jump to content
Server Maintenance This Week. ×

XML with XSLT, but error on import


Pavlk

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

Recommended Posts

I've attached two files. The first one is INVOICE, that is generated by every establishment when you purchase, and is in xml format.

The second one is XSLT file, that is provided by government fiscal institution and is used to "translate" xml.

PROBLEM DESCRIPTION: when I try to decode xml using attached xslt scheme on any online xml-converter website the output looks fine. BUT when importing to Filemaker, I receive an error: "XML parsing error: invalid document structure".

 

I would appreciate any help with the issue. Thanks.

XML input.xml

XSLT scheme.xslt

Link to comment
Share on other sites

  • 6 months later...

The "grammar/schema/format" for the XML that FileMaker uses for import is FMPXMLRESULT. See this help topic for more information. You must use an XSLT that "maps" the XML source to the fields in FileMaker.

https://fmhelp.filemaker.com/help/17/fmp/en/FMP_Help/xml-format.html

Also check this "universal XSLT" for an example:

http://jensteich.de/fmfaq/export/universal-xslt-fur-den-import-beliebiger-xml-daten/

Link to comment
Share on other sites

This topic is 2020 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.