What you need is an access to the dtd/schema. This is not implemented in
xerces but you can achieve this by using a dtd/schema parser. I'm using
dtdparser (http://www.wutka.com/dtdparser.html) and I implemented exactly
the feature you're speaking of.

Sebastien

Samuel ARNOD-PRIN wrote:

> Hello,
>
> I would like to know if something is implemented to solve my problem :
>
> I use a schema or even a DTD
> in an other side I am constructing a xml document in my own edit tool.
> How can I suggest which element can be inserted as a child of the
> selected node ?
>
> example :
>
> using xhtml dtd,
>
> When I am on the node <TABLE>, I would like that <TR> and <TH> be
> suggested......
> then I would like to know which attributes can be defined...
>
> thank you to tell me if I have to parse myself the dtd or schema and
> analyse it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to