Stewart, James wrote:
> Does anyone know of a component for Delphi 6.0, that would allow for
> generation of a XML schema or DTD?
> 
> Here is the problem I have approximately 1800 XML files, but no related
> schema or DTD files.  

If you have no schema, then all your files necessarily validate, trivially.

> What I need to do, is to basically compare each XML file to find any
> missing elements.  I have used XMLMapper to generate a schema file for
> one of the XML files, but I do not want to have tod that for all of the
> files.

That's good. If you did that for every file, then there'd be nothing 
left to check. You want to have _one_ schema, and then check that all 
your data files fit that schema, right? For it to work, you'd need to 
make sure that the XML file you use as the example for generating the 
schema is an accurate representation of what all the rest of the files 
should look like.

I don't know of any schema validators for Delphi. I only know of Java 
and .Net validators. You could try looking and asking in the 
borland.public.delphi.xml newsgroup.

-- 
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to