Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 1st, 2003, 12:24 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Parsing xml file ??

Hi all friends,

Iam new to XML I want to clear my some doubts how I can parse my xml file,I have created my own xml and dtd file.

Another question is validation and parsing are same thing ?

Thanks & Regards
Bikash

Reply With Quote
  #2 (permalink)  
Old September 1st, 2003, 04:27 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You don't say what os and parser you are using but if it's Windows get the Msxml core services sdk, it has a parser and lots of examples in VB, C++ and JavaScript.
As to parsing and validation they are different. Parsing is reading input and normally contructing a node tree if the xml is well-formed, i.e. single root node,nested correctly and quoted attribute values etc. Validation is comparing the structure to a DTD or schema and seeing whether the structure matches the constraints of the DTD or schema.

--

Joe
Reply With Quote
  #3 (permalink)  
Old September 1st, 2003, 11:20 PM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Iam using Windows.Can you plz tell me where I can find Msxml core services sdk and Can I parse my xml file using java.

Thanks & Regards
Bikash

Reply With Quote
  #4 (permalink)  
Old September 5th, 2003, 06:23 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

A quick search on Microsoft web site will find this. Yes you can parse using Java.

--

Joe
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parsing the xml which is having vikkiefd XML 14 July 28th, 2008 05:21 AM
parsing flat xml file using asp.net 2.0 mikecarmody XML 5 April 28th, 2008 02:55 AM
Help Parsing XML File Sojan80 XML 7 January 7th, 2008 06:09 PM
Help with parsing XML file (substitutions) yanzickp XSLT 1 July 25th, 2007 04:32 PM
XML Parsing tgopal Javascript 2 July 27th, 2004 08:54 AM



All times are GMT -4. The time now is 01:49 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.