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

Re: DTD Files !

Subject: Re: DTD Files !
From: "Srinivasan Ramaswamy" <sramaswamy@xxxxxxxxxxxxx>
Date: Tue, 9 May 2000 10:45:02 +0100
srinivasan ramaswamy
> > Why on earth most of the examples i found on internet don't
> > use a DTD file ?
>
> This isn't an XSL question but I'll answer it anyway.
>
> I very rarely use DTDs because (a) they can only do half the validation,
the
> rest needs to be done in the application (b) it's easier to write the
> validation rules in XSLT (c) I don't want to validate the document every
> time I read it, I only want to do it once (d) by controlling validation
from
> the application, you avoid the messy problem of a document that references
a
> different DTD from the one you want to validate it against.
>
> Others will disagree with me!

I also do not use it. In fact because of this, my team members and myself
tend to be looked upon as novices in the XML field who do not use DTD! In
the world, especially those who have started using XML recently, one has to
know DTD to be conversant with XML!

I  think DTDs are not required when the XMLs are being delivered by a server
on request by a client.The request originated in the first place because of
some response earlier from the server. So mostly the server kind of knows
about the content to be delivered in response to the request.

However, if I am a server accepting requests from other servers like in the
case of B2B application, I receive XML data from multifarious sources. I
need to validate whether the data conforms to the DTD that I am expecting.
If not, then I cannot do anything properly with the XML.

Regards

=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Srinivasan Ramaswamy
 Senior System Analyst                   e-mail : sramaswamy@xxxxxxxxxxxxx
 Pyramid Consulting Inc.                 phone  : 770-248-0024 Ext. 501
 5335 Triangle Parkway Suite 510         fax    : 770-248-9560
 Norcross, GA 30092                      web    : www.pyramidci.com

     "If Windows is the answer, it must have been a stupid question"
=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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