For Programmers: Free Programming Magazines  


Home > Archive > Prolog > February 2005 > XML and Visual Prolog









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author XML and Visual Prolog
Saun Falesh

2005-02-16, 9:00 pm

I working with Visual Prolog. I must write and read XML and XML Scheme. I
do not know how to do. I want not write parser, if tool already existing.
Anybody know?

/Falesh






Phil Quintin

2005-02-19, 8:58 pm

Hi Falesh, I guess that parsing and writing XML is rather simple, but I
believe there is a lot of side technologies that you probably also need to
deal with.

Visual Prolog can import COM components so you could try to import MSXML.

Regards Phil

"Saun Falesh" <sf@donskew.sa> wrote in message
news:cv0lti$bbn$1@domitilla.aioe.org...
>I working with Visual Prolog. I must write and read XML and XML Scheme. I
> do not know how to do. I want not write parser, if tool already existing.
> Anybody know?
>
> /Falesh



scoot

2005-02-21, 8:59 pm

Falesh,

You may want to try plxml:

http://homepages.tesco.net/binding-...l_download.html

Not sure whether VP will be able to load the module natively, but
there's a standalone .exe that converts xml to/from native clauses that
should provide a workable alternative. (I used the latter approach with
swi prolog and it worked well).

- Scoot.

Saun Falesh wrote:
> I working with Visual Prolog. I must write and read XML and XML Scheme. I
> do not know how to do. I want not write parser, if tool already existing.
> Anybody know?
>
> /Falesh
>
>
>
>
>
>

Jan Wielemaker

2005-02-22, 8:58 am

On 2005-02-21, scoot <noone@virgin.net> wrote:
> Falesh,
>
> You may want to try plxml:
>
> http://homepages.tesco.net/binding-...l_download.html
>
> Not sure whether VP will be able to load the module natively, but
> there's a standalone .exe that converts xml to/from native clauses that
> should provide a workable alternative. (I used the latter approach with
> swi prolog and it worked well).


Odd. SWI-Prolog comes with a pretty fast and widely used XML parser.
Why use an external parser? Latest development version support
UNICODE and alse provides a library for writing XML (using either
UTF-8 or character entities for non-ascii).

--- Jan
[color=darkred]
> - Scoot.
>
> Saun Falesh wrote:
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com