easypo.xml - Purchase Order Test XML Document


How to create an XML document based on the Purchase Order Test XML Schema, easypo.xsd? I want to test XMLBeans XML parsing functions.

✍: FYIcenter.com


If you want to test XMLBeans XML parsing functions, you can create the following Purchase Order Test XML Document, easypo.xml, manually:

<purchase-order xmlns="http://openuri.org/easypo">
        <name>Gladys Kravitz</name>
        <address>Anytown, PA</address>
        <description>Burnham's Celestial Handbook, Vol 1</description>
        <description>Burnham's Celestial Handbook, Vol 2</description>

Validate the XML document with the XML Schema:

\fyicenter\xmlbeans-2.6.0>.\bin\svalidate schemas\easypo.xsd easypo.xml

easypo.xml valid. (156 ms)


EasyPoXmlParser.java - Parse XML to Java Objects

SchemaCompiler - Call XML Schema Compiler Directly

Using Apache XMLBeans in Java Programs

⇑⇑ FAQ for Apache XMLBeans JAR Library

2017-07-07, 1812🔥, 0💬