Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #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

  #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
  #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

  #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


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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.