Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
View XML Tree Structure with ui\TreeViewer.java
How to view the tree Stucture of an XML document with the ui\TreeViewer.java provided in the Apache Xerces package?
✍: FYIcenter
If you want to view the tree Stucture of an XML document, you can try the ui\TreeViewer.java provided in the Apache Xerces package.
Compile and run ui\TreeViewer.java, if you have Apache Xerces 2.11.0 installed:
\fyicenter\xerces-2_11_0\samples>\fyicenter\jdk-1.8.0\bin\javac -cp ..\xercesImpl.jar;..\xercesSamples.jar ui\TreeViewer.java \fyicenter\xerces-2_11_0\samples>\fyicenter\jdk-1.8.0\bin\java -cp .;..\xercesImpl.jar;..\xercesSamples.jar;..\xml-apis.jar ui.TreeViewer User.xml User.xml: START createUI:User.xml START refreshUI:User.xml START getRoot:User.xml START readXMLFileUser.xml END readXMLFileUser.xml END refreshUI:User.xml END createUI:User.xml
You see a window displayed with the tree structure of the User.xml file:
⇒ xs\QueryXS.java - Apache Xerves XS Sample
⇐ ui\TreeViewer.java - Apache Xerves UI Sample
2017-09-12, 8507🔥, 0💬
Popular Posts:
What Is jaxb-impl-2.1.12.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Jav...
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...
JDK 11 jdk.jdeps.jmod is the JMOD file for JDK 11 JDeps tool, which can be invoked by the "jdeps" co...
What is the jaxp\SourceValidator.jav aprovided in the Apache Xerces package? I have Apache Xerces 2....
Where to find answers to frequently asked questions on Downloading and Installing Connector/J - JDBC...