[xml] XDS parsing
- From: Marcelo Elias Del Valle <mvallebr yahoo com br>
- To: xml gnome org
- Subject: [xml] XDS parsing
- Date: Fri, 19 Mar 2004 15:51:05 -0300
Hello,
I am new to xml and on the list. I was searching the example codes and I found
the following:
static void
xmlParserCtxtPtr ctxt; /* the parser context */
xmlDocPtr doc; /* the resulting document tree */
/* create a parser context */
ctxt = xmlNewParserCtxt();
/* parse the file, activating the DTD validation option */
doc = xmlCtxtReadFile(ctxt, filename, NULL, XML_PARSE_DTDVALID);
...
This validades the parsed file with DTD. However, I would like to validate a
xml using XSD, through a namespace definition. How could it be done?
Thanks in advance,
Marcelo.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]