<results warning="more than one node">
<oxref:hit>Obie</oxref:hit>
<oxref:hit>Scott</oxref:hit>
</results>

As an aside and this has always bothered my about Mark Logic - where is it getting the "oxref:" namespace prefix from? It was used in the xml file I loaded, but it's not defined in the query anywhere. Does it persist in the document? I would've thought you'd keep only namespaces, not the prefixes as well.

Hi Mike,

I expect there's an xmlns:oxref declaration in the response, but your browser isn't showing it. Browsers are weird that way when doing XML views. You're using CQ, so ask it to give a Text view of the results and I think then you'll see the xmlns:oxref="..." decl.

If an element is in a namespace, MarkLogic of course remembers that and tries to retain prefixes to the extent possible when outputting the element.

-jh-

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

Reply via email to