Thank you!

 

J Tim

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Loren
Cahlander
Sent: Friday, May 17, 2013 9:37 PM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] How can I extract the text within a
PCDATA element in an XML document?

 

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--> file:///___.xml-->

</data>

 

Thank you!

 

Tim Meagher

 

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

 

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

Reply via email to