jfortes Posted October 7, 2009 Posted October 7, 2009 Hi there... I'm producing XML code to export data out of a fM file, I use a calcuation field to represent the XML code of each record and then I export that field to a file... very simple and works. Normally, I dont have much trouble, but the XML does not have the same validation I have implemented in my FM file, so sometimes I produce XML files rejected in the other part(Empty fields etc...) I could program that validation inside my calculation field but since I am provided with an .XSD file, I wonder if it would be possible to use that schema to validate my XML code inside my FM solution. ¿Any suggestion, example of use of .XSD code in Filemaker?
JamesBand Posted October 7, 2009 Posted October 7, 2009 I don't know for sure that this will help, but it seems to me that you should be able to solve your problem with the 360 Works Scriptmaster plugin and some Groovy code. The link below is probably a good place to start for the Groovy code. http://groovy.codehaus.org/Validating+XML+with+a+W3C+XML+Schema
Fenton Posted October 7, 2009 Posted October 7, 2009 There is also, in Mac OS X, a command line xml tool: xmllint It seems to have various validation options, dtd, schema. But the man documentation is kind of terse (usually is). I don't know whether the tool is present or up-to-date in Panther.
Recommended Posts
This topic is 5526 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 accountSign in
Already have an account? Sign in here.
Sign In Now