xs\QueryXS.java - Apache Xerves XS Sample

Q

What is the xs\QueryXS.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 installed.

✍: FYIcenter

A

xs\QueryXS.java provided in the Apache Xerces package parses an XML Schema (XS) and prints all types defined in the schema.

Here is how to run xs\QueryXS.java, if you have Apache Xerces 2.11.0 installed:

>\fyicenter\jdk-1.8.0\bin\java
   -cp \fyicenter\xerces-2_11_0\xercesSamples.jar xs.QueryXS
usage: java xs.QueryXS uri ...

uri        URI of an XML Schema. Local file path is acceptable too.

 

Display Types Defined in XML Schema with xs\QueryXS.java

View XML Tree Structure with ui\TreeViewer.java

Using Apache Xerces Other Sample Programs

⇑⇑ FAQ for Apache Xerces XML Parser

2017-09-12, 9079🔥, 0💬