Article View: borland.public.delphi.xml
Article #114Re: XML Validation
From: Stefan M. Huber
Date: Fri, 25 Jan 2008 11:05
Date: Fri, 25 Jan 2008 11:05
41 lines
2019 bytes
2019 bytes
On Wed, 12 Dec 2007 16:02:20 +0100, Basso Claudio <cbasso@intercomsolutions.it> wrote: > I'm a newbie with xml on delphi > > I'm using BDS2006 > > I have an application that use for import / export functions, xml files. > I've created a dtd file to validate the files that my application will > use. > > I'm using TXMLDocument > > I can't find how to validate my xml file using my dtd. > I must use external components? Do you want or need the validation within your programmes or is it just for your developing purposes? If you only need it while developing, you can use command line validators, eg from Microsoft. Or any other source. Look for dtd validators, you'll certainly find one that fits your needs. Or you could use an XML editor with buildin validation support, like http://www.philo.de/xmledit/ Otherwise, you might find hints here: http://groups.google.com/group/borland.public.delphi.xml/browse_thread/thread/83410fe483aaeaa1/5387578d1c679757?lnk=st&q=group%3A*delphi*+validate+xml+dtd#5387578d1c679757 Stefan
Technical Details
Message-ID:
<op.t5hfqnlns9ddfw@ws-6>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<475ff842$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,ba3cef3bd462a22 X-Google-Attributes: gidf5d9b,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Fri, 25 Jan 2008 12:05:01 +0100 Subject: Re: XML Validation From: "Stefan M. Huber" <looseleaf@gmx.net> Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Newsgroups: borland.public.delphi.xml References: <475ff842$1@newsgroups.borland.com> Content-Transfer-Encoding: Quoted-Printable Message-ID: <op.t5hfqnlns9ddfw@ws-6> User-Agent: Opera Mail/9.25 (Win32) NNTP-Posting-Host: 91.113.174.42 X-Trace: newsgroups.borland.com 1201259104 91.113.174.42 (25 Jan 2008 03:05:04 -0700) Lines: 41 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail