OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] EXTREME newbie question

[ Lists Home | Date Index | Thread Index ]

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@bnl.gov
>  
> 
> -----Original Message-----
> From: Yallala, Bhaskar [mailto:B_Yallala@DirectAdvice.com] 
> Sent: Tuesday, July 16, 2002 10:59 AM
> To: Xml-Dev (E-mail); Xmlschema-Dev (E-mail)
> Subject: [xml-dev] 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS