xsl-list
[Top] [All Lists]

RE: XML validation

2004-02-18 13:33:07
Wendell,

Thanks for the suggestion. We have the Siebel system that can generate the 
DTDs(offline), which I have to use to validate against the transactions 
dynamically. First I will try with DTDs and see if there is any reason to use 
schema....

Thanks 
Kotes

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Wendell Piez
Sent: Wednesday, February 18, 2004 3:06 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] XML validation


Kotes,

At 02:13 PM 2/18/2004, you wrote:
I am trying to validate my XML against DTD or Schema. Can anybody suggest 
me which one is the better way??

Sure, but others will disagree, and it's not on topic for this list in any 
case.

The real answer is "it depends", although if you get me in a punchy mood I 
might say "Relax NG". (Too bad Xalan doesn't support it.)

Assuming you only need to please yourself (your validation is entirely 
local), I'd start with a DTD and move to a Schema if and when you discover 
you need Schema features that DTDs don't offer. There are plenty of tools 
that will generate a Schema from a DTD.

 Also is there any document availble showing the methods to do validation 
using XALAN..

Don't know, and that's way off topic.

I sometimes point Java programmers (and others) to ER Harold's Cafe Con 
Leche, and to his print books on XML in general. http://www.cafeconleche.org.

Good luck,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
   Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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


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



<Prev in Thread] Current Thread [Next in Thread>