However, being old school, I still found it more comfortable to use an XML schema file (.xsd) to describe the structure of the data in the form and to use in a LiveCycle process to be able to access the separate fields in a form.
Creating an XSD can be troublesome, creating it from scratch even more so. The easiest method to create the XSD file is by inferring it from an XML file. There are many XML editors that are able to do this, a few being:
- oxygenxml: http://www.oxygenxml.com/
- Stylus Studio: http://www.stylusstudio.com/autogen_xsd.html
- Liquid XML Studio: http://www.liquid-technologies.com/
- Download Trang. You can download Trang at http://www.thaiopensource.com/relaxng/trang.html
- Extract the files from the zipped download
- Run the command passing your input XML file (it can be multiple XML files) and specifying the result XSD file.
java -jar trang.jar input.xml input2.xml input3.xml output.xsdAnd its as simple as that! You have your XSD file that you can use in your form and in your process to describe the structure of the data.
No comments:
Post a Comment