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

Novice XML/FMP question on importing XML


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

Recommended Posts

Posted

I'm trying to develop a document management system. My network scanner completes a batch and generates this xml file. (Because I know nothing about XML...) when importing this file to FMP it generates errors I don't know how to respond to. My need is so simple I'm wondering if there is an equally simple solution to this problem. (I acknowledge I need to learn XML, but I'm trying to keep it off my "drop everything - do this now" list).

From the batch folder I need to import the pdf (123.pdf) and place it in a container, store the path to the file, and also the barcode value (ie CCC3334445555) to their respective fields. Anything other data from the xml file is irrelevant to my needs.

Does someone have a moment to walk me through some of the issues I need to solve/learn?

<?xml version="1.0" encoding="UTF-8"?>

}:(

Posted

Here is a fairly simple xsl stylesheet, to bring in only those 2 pieces of data. You'll need to convert the file path to a FileMaker syntax path, then import the file separately; I didn't do none of that }:(-]

Scanner_Docs_xml.zip

Posted

}:(-) It works. Your example made it clear the basic elements required. I'll try to cobble the other bits together.

Awesome, thank you.

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