[xml] DTD Handlers
- From: srivatsan s <srivatsan17 yahoo co in>
- To: xml gnome org
- Subject: [xml] DTD Handlers
- Date: Fri, 28 Jul 2006 11:35:45 +0100 (BST)
I am trying to use libxml DTD handlers.
I have the following below example
<!ELEMENT p (#PCDATA | %font; | %phrase; | %special; | %form;)* >
This call back xmlSAX2ElementDecl , takes xmlElementContentPtr Whose data Structure is
struct _xmlElementContent {
xmlElementContentType type; /* PCDATA, ELEMENT, SEQ or OR */
xmlElementContentOccur ocur; /* ONCE, OPT, MULT or PLUS */
const xmlChar *name; /* Element name */
struct _xmlElementContent *c1; /* first child */
struct _xmlElementContent *c2; /* second child */
struct _xmlElementContent *parent; /* parent */
const xmlChar *prefix; /* Namespace prefix */
};
What are these first child and second child ptrs .
Can anyone explain with the above example .
Here?s a new way to find what you're looking for -
Yahoo! Answers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]