RE: [xsl] XML validation

Subject: RE: [xsl] XML validation
From: "Kotes Mogili" <Kotes.Mogili@xxxxxxxxxxxxxxxxx>
Date: Wed, 18 Feb 2004 15:33:07 -0500

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


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Wendell Piez
Sent: Wednesday, February 18, 2004 3:06 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] XML validation


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 

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.

Good luck,

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
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:

 XSL-List info and archive:

Current Thread