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

Altering FMPDSORESULT DTD or creating a new grammar set.


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

Recommended Posts

Posted

Hi,

I'm wondering if I can change the grammar of Filemaker's XML output to something other than the options available. By either changing a standard DTD or maybe creating a third.

I should rework the whole system as it is barely functional, but I'm currently in a situation where I won't possibly have the time to start on something like this.

Posted (edited)

You can transform the output to practically anything you like, by using a XSLT stylesheet during the export. There are some examples of that included with the application, and many more in these forums.

Not sure what you mean by "barely functional".

Edited by Guest
Posted

Sorry about being too vague, I was pressed for time. I'll elaborate a bit more.

This was my first xml/xsl project so there might be a very small error somewhere.

I'm exporting a FMPDSORESULT grammar XML file and using XSL to transform it. The issue I have is that the XSL displays no xml data if I don't manually delete some starting nodes from the generated xml file:

0ODE>

When these are gone it's all fine.

So I'm guessing this is a newbie mistake somewhere ...

Posted

I'm guessing this is a newbie mistake somewhere

Very likely. I could tell for sure if you had posted your stylesheet. My guess is that you haven't declared (and used) the FMPDSORESULT namespace. As you can see, the root element of the XML source is qualified as . This is inherited by all the child elements - so your stylesheet must include a declaration such as:

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

You then use the declared prefix ("fmp" in my example) to refer to the source elements, e.g. instead of "ROW" you'd use "fmp:ROW".

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