0

how to read xml file

asked 2011-06-04 02:36:55 +0800

archana gravatar image archana
102

I want to read this xml file with attribute give me code


<dwf:Manifest version="6.0" objectId="3E79B997-77AF-4DF6-BE86-2312947BF404">

<dwf:Interfaces>
<dwf:Interface objectId="715941D4-1AC2-4545-8185-BC40E053B551" name="ePlot" href="http://www.autodesk.com/viewers"/>
</dwf:Interfaces>

<dwf:Properties>
<dwf:Property name="DWFProductVendor" value="Autodesk Inc."/>
<dwf:Property name="DWFProductVersion" value="7.5"/>
<dwf:Property name="DWFToolkitVersion" value="7.6.0.63"/>
<dwf:Property name="SourceProductName" value="Autodesk Inventor"/>
<dwf:Property name="SourceProductVendor" value="Autodesk Inc."/>
<dwf:Property name="SourceProductVersion" value="R15.0"/>
</dwf:Properties>

<dwf:Contents>
<dwf:Content href="A07465FA-E6E8-45D0-87BD-6052A3C96079.content.xml" contentId="A07465FA-E6E8-45D0-87BD-6052A3C96079" mime="text/xml"/>
</dwf:Contents>

</dwf:Manifest>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-06-08 21:17:33 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi archana,
You can use SAXParserFactory.

link publish delete flag offensive edit

answered 2011-06-09 12:01:05 +0800

acirasa gravatar image acirasa
48 1

...

or if you have schema/dtd you can use JAX-B

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-06-04 02:36:55 +0800

Seen: 511 times

Last updated: Jun 09 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More