You can use the XPath expression:    /data/comment()

On May 17, 2013, at 8:23 PM, "Tim" <[email protected]> wrote:

> Give the following record, how can I extract the text from the comment?
>  
> <data error="1" num-seq="20">
> <!-- Warning: Content model for data does not allow PCDATA in unnamed entity 
> at line ___ char ___ of file:///___.xml-->
> </data>
>  
> Thank you!
>  
> Tim Meagher
>  
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to