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 Jaro Glapski <li...@go2.pl> on 2002/06/19 15:57:50 UTC

insert element - but which one?

Is ther any way to get info about what elements can be inserted into
document after XXX?
Ex:
<!ELEMENT AAA (XXX,(YYY?,ZZZ*)*,QQQ,RRR+)>

We know that after XXX there can be YYY or ZZZ or even QQQ but not RRR.
My question is how to get this info inside my program?

Easest way - how to realize functions like theese:
<some vector> getElementsThatCanBeInsertedAfter("XXX");

I know there is functioin GetFormatedContentModel() but... i dont' really
want to parse these string
by my side.

If someone could help me, I would be pleased.

Pozdrawiam serdecznie
Jaro Glapski
<li...@go2.pl>


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org