Jump to content

Including an external XML file


3 Square
 Share

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

Recommended Posts

Hi

Has anyone any ideas as to the best way to include an existing XML file into a parent XML file? I'm not sure which is the best way to achieve this with FileMaker after looking at xsl:import, xsl:include, xi:include, defining an entity, etc!!

What I'm trying to achieve is to run one script in FileMaker that generates an XML file (parent.xml) that inserts the content of existing xml file/s (child.xml) into the final document. The structure needs to be something along the lines of...





One

Two

Three



*Child data elements need to be inserted from existing file child.xml*



One

Two

Three










I've got FileMaker and xsl producing the required xml files OK. The parent xsl uses FMDSORESULT and begins with the following:




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



	xmlns:xsl='http://www.w3.org/1999/XSL/Transform'

	xmlns:fm="http://www.filemaker.com/fmpdsoresult"

	exclude-result-prefixes="fm">

 	

indent='yes' method='xml' />

The template then sucessfully exports the various FileMaker fields as XML.

Any ideas and help very much appreciated. Thanks in advance.

Andy

Link to comment
Share on other sites

This topic is 5749 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
 Share

×
×
  • Create New...

Important Information

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