You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Utsav Boobna <Ut...@lri.fr> on 2003/05/27 14:48:07 UTC

parser help

Hi,
    	 Given a DOM tree I would like to check the validity of the 
subtree of a given node, by the parser. One way which I can think of is to 
write the XML document corresponding to it and then parse it. will it 
work? is there some better and effective way of doing it ?

also, at some stage if it is found that a particular subtree is invalid then, 
I would like to substitute its children by few different elements and then 
repeatedly check its validation for different combination of children, so 
I think writing an XML document each time wont be effective.
	 will some modification in the parser be helpful?

Utsav



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