Sorry, I should have included this in the previous email:
xdmp:version(), xdmp:platform(), xdmp:architecture()
Yields:
3.2-9 linux x86_64
Eric
Eric Palmitesta wrote:
declare namespace my = "my-namespace"
xdmp:document-insert('/insert-test.xml', <root xmlns="my-namespace" />)
xdmp:node-insert-child(
doc('/insert-test.xml')/my:root,
<direct xmlns="my-namespace"/>
)
xdmp:node-insert-child(
doc('/insert-test.xml')/my:root,
element computed { attribute xmlns { "my-namespace" } }
)
doc('/insert-test.xml')
Yields:
<root xmlns="my-namespace"><direct/><computed xmlns=""/></root>
Why doesn't the computed element get my-namespace?
Eric
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general