[MarkLogic Dev General] Complex type instead of escaped html in simpletype

Henrik Thiil Nielsen henrikthiil at post1.dansknet.dk
Mon Aug 27 15:34:30 PDT 2012


Thank you very much, Danny!

Henrik



---
Hi Henrik,

How about this:

let $x := <outernode>This is a <span class="heavy ">very</span> rainy night
in Copenhagen</outernode> return $x/node()

This will return all of the nodes (text and element in this case) that are
children of <outernode>.

-Danny



More information about the General mailing list