From aruiz@isys.dia.fi.upm.es Wed Jan 31 17:01:17 2001 Received: from goofy.fi.upm.es (goofy.fi.upm.es [138.100.8.23]) by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f0VG1HZ18272 for ; Wed, 31 Jan 2001 17:01:17 +0100 (MET) Received: from conversion.relay.fi.upm.es by relay.fi.upm.es (PMDF V6.0-24 #46251) id <01JZKBWPL6V40001M5@relay.fi.upm.es> for prolog@swi.psy.uva.nl; Wed, 31 Jan 2001 17:00:12 +0100 (MET) Received: from mistral.dia.fi.upm.es (mistral.dia.fi.upm.es [138.100.11.194]) by relay.fi.upm.es (PMDF V6.0-24 #46251) with ESMTP id <01JZKBWP8G6U00028N@relay.fi.upm.es> for prolog@swi.psy.uva.nl; Wed, 31 Jan 2001 17:00:12 +0100 (MET) Received: from isys.dia.fi.upm.es by mistral.dia.fi.upm.es (8.8.8/FI-4.1) Wed, 31 Jan 2001 17:00:11 +0100 Date: Wed, 31 Jan 2001 17:02:39 +0100 From: Alberto Ruiz Cristina To: Swi Prolog Mailing List Message-id: <3A78371F.EAFF8224@isys.dia.fi.upm.es> MIME-version: 1.0 X-Mailer: Mozilla 4.73 [en] (WinNT; I) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Subject: [SWIPL] XML Parser (SGML package) Hello!

I have succesfully tried the validating XML parser included in Sgml package. I use the "load_structure" predicate, and I get a list of content as a result.

I have also tried the "sgml_parse" predicate, and I have read in the documentation that output can be set to a stream. But how can you specify output in that predicate?

Thank you

Alberto Ruiz Cristina
Spain