xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Tomsic <ptom...@yahoo.com>
Subject Re: element PSVI can't xpath
Date Sat, 26 Aug 2006 14:11:21 GMT
i found my problem on this.  it was the usage of the
DOMParser versus the DocumentBuilder.
thanks


--- Paul Tomsic <ptomsic@yahoo.com> wrote:

> We're in the process of trying to find out if an
> element is declared as mixedContent="true"
> 
> Whe set the features and properties on a DOMParser
> then cast the document -> element -> elementPSVI, we
> can't seem to get to the node inside the root.
> 
> so a simple example is 
> <foo><bar>hello<b>person</b></bar></foo>
> where <bar> is set to mixed content, 
> 
> we have the root as a Document, then we cast that,
> but
> it doesn't seem that xpath'ing is working to allow
> us
> to retrieve the text from within the bar node.  
> 
> is there something we're missing?
> 


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


Mime
View raw message