You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Nelson Miranda Pinto <ne...@megamail.pt> on 2001/06/06 15:41:05 UTC
I have a doubt! Can you help me?
Greetings !
I�m a portuguese programmer and I have a little doubt.
In your webSite I found the code I have to use for
parsing an xml document with its schema, which is :
Here is an example how to turn on schema processing
in DOMParser (default is off). Note that you must also
turn on namespace support (default is off) for schema
processing.
// Instantiate the DOM parser.
DOMParser parser;
parser.setDoNamespaces(true);
parser.setDoSchema(true);
parser.parse(xmlFile);
And my doubt is, where can I found the methods
setDoNamespaces and setDoSchema.
In the package that you distributed, the xerces 1.4.0,
they don�t exist in the API of class DOMParser.
Thanks for your help!!
-------------------------------------------------
Email Enviado utilizando o servi�o MegaMail
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
RE: I have a doubt! Can you help me?
Posted by Alfredo Muñoz <am...@eversystems.com>.
use nightly build, v1.4 does not support schema yet ...or wait for v1.5
supposed to be launched shortly.
regards,
alfredo
-----Original Message-----
From: Nelson Miranda Pinto [mailto:nelsonpinto@megamail.pt]
Sent: Miércoles, 06 de Junio de 2001 09:41 a.m.
To: xerces-c-dev@xml.apache.org
Subject: I have a doubt! Can you help me?
Greetings !
I´m a portuguese programmer and I have a little doubt.
In your webSite I found the code I have to use for
parsing an xml document with its schema, which is :
Here is an example how to turn on schema processing
in DOMParser (default is off). Note that you must also
turn on namespace support (default is off) for schema
processing.
// Instantiate the DOM parser.
DOMParser parser;
parser.setDoNamespaces(true);
parser.setDoSchema(true);
parser.parse(xmlFile);
And my doubt is, where can I found the methods
setDoNamespaces and setDoSchema.
In the package that you distributed, the xerces 1.4.0,
they don´t exist in the API of class DOMParser.
Thanks for your help!!
-------------------------------------------------
Email Enviado utilizando o serviço MegaMail
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org