<div dir="ltr">I&#39;m doing a bit of xquery work and I want to take advantage of the excellent xd documentation facilities but I don&#39;t see an example of how to add the content to an xquery document.<div><br></div><div>

In a new XSLT document I know I need to add the namespace, then I can go and add &lt;xd:doc&gt; elements, but in XQuery I don&#39;t know how to do the equivalent.  </div><div><br></div><div>Can someone share an example xquery file with embedded doc?</div>

<div><br></div><div>Thanks,</div><div><div dir="ltr"><br><div>     Steve<br></div></div>
</div></div>