October 7, 200916 yr 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?
October 7, 200916 yr 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
October 7, 200916 yr 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.
Create an account or sign in to comment