Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

using Xerces with Delphi

142 views
Skip to first unread message

Brian

unread,
Apr 13, 2010, 7:47:25 PM4/13/10
to
If I understand correctly, the Delphi is just using the Microsoft's
underlying xml library. Is there anyone using Xerces or libxml with
Delphi?

brian

Brian

unread,
Apr 13, 2010, 8:01:56 PM4/13/10
to

I found this. Amazing what a little research will do!
http://sourceforge.net/projects/libxml2-pas/

brian

ap

unread,
Apr 14, 2010, 5:44:17 AM4/14/10
to
Brian wrote:
>
> I found this. Amazing what a little research will do!
> http://sourceforge.net/projects/libxml2-pas/

The documentation could not be very much more brief than it currently
is. The only Readme.txt could have mentioned where you can for instance
get the needed libxml2.dll library.
It took me a while before I realized that it is not the included
libxml2.pas file that creates libxml2.dll, but a separate (free) library
is needed.

So were you really able to use that package and get the functionality of
validating XML against DTD file to work?

- -
I have used NativeXml package for my XML tasks, though I have nor
written anything new there for a couple of years. all.
http://www.simdesign.nl/xml.html

NativeXml is pure Pascal. No MSXML.DLL or other libraries needed for
reading and writing XML files.

I bought my package about 3 years ago. I just discovered they have
turned NativeXml to OpenSource project in February.

NativeXml does much. But it does not for instance validate against DTD
file.
That's why I asked if was/it is easy to implement with libxml2.
-ap

Brian

unread,
Apr 14, 2010, 1:48:38 PM4/14/10
to
On Apr 14, 2:44 am, ap <ap.newso...@nomails.please.com> wrote:
> Brian wrote:
>
> > I found this. Amazing what a little research will do!
> >http://sourceforge.net/projects/libxml2-pas/
>
> The documentation could not be very much more brief than it currently
> is. The only Readme.txt could have mentioned where you can for instance
> get the needed libxml2.dll library.
> It took me a while before I realized that it is not the included
> libxml2.pas file that creates libxml2.dll, but a separate (free) library
> is needed.
>
> So were you really able to use that package and get the functionality of
> validating XML against DTD file to work?
>
> - -
> I have used NativeXml package for my XML tasks, though I have nor
> written anything new there for a couple of years.  all.http://www.simdesign.nl/xml.html

>
> NativeXml is pure Pascal. No MSXML.DLL or other libraries needed for
> reading and writing XML files.
>
> I bought my package about 3 years ago. I just discovered they have
> turned NativeXml to OpenSource project in February.
>
> NativeXml does much. But it does not for instance validate against DTD
> file.
> That's why I asked if was/it is easy to implement with libxml2.
> -ap

I have not tried libxml2 yet in Delphi. I have used it in C. There are
a number of examples at http://xmlsoft.org/ , but I don't think for
Pascal.

Thus far, I have only used the existing msxml . I will check out
NativeXML.

0 new messages