[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: EXTREME newbie question


xml date
Dear Pat

You need to parse the file with a validating parser - such as MSXML
(included in Internet Explorer) or Xerces - which will check the file
against the DTD.  You should find this link is a good starting point:

http://www.w3schools.com/dtd/dtd_validation.asp

Do you have a preferred parser, programming language or platform?  This
would help list members to recommend tools.

kind regards

Steve Baker

On Tue, 2002-07-16 at 16:12, Gorden-Ozgul, Patricia E wrote:
> I have created an XML file and have been provided with a DTD for it.  The
> XML file was created in response to a call for data from a relational
> database.  The DTD was provided by the requestor.  The requestor states,
> "The following DTD is used to verify the data submitted. This file can be
> used by the sites to verify their file(s) before submittal."
> 
> My question - How do I use the DTD to perform the verification and what else
> will I need.
> 
> Thanks.
> Pat Gorden-Ozgul
> gorden@b...
>  
> 
> -----Original Message-----
> From: Yallala, Bhaskar [mailto:B_Yallala@D...] 
> Sent: Tuesday, July 16, 2002 10:59 AM
> To: Xml-Dev (E-mail); Xmlschema-Dev (E-mail)
> Subject:  linking and DOM
> Importance: High
> 
> 
> Hi
>            Example: 
> 	I have a.xml , which has DateInterval 
> like,
> 	<Date Interval>
> 		<start><Date>xyz</Date></<start>
> 		<limit><Date>pqr</Date></<limit>
> 	</Date Interval>
> 
> And I have another file called b.xml, in which Date with ID= xyz is present.
> 
> How can I parse this using DOM and how can I refer in a.xml , how to goto
> b.xml's xyz ID?
> 
> 
> Yours sincerely,
> Bhaskar Yallala
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative
> of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 
> 
-- 
Steven J Baker                 Ambriel Consulting
Telephone: +44 7855 333023     http://ambrielconsulting.com   
PGP key: http://www.ambrielconsulting.com/sjb-PGPkey.txt


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.