Netkernel 3.3.1 dbxmlQuery

Poster Content
nk4um User
Posts: 42
July 28, 2010 10:31cwu ??

<instr>
            <type>cwu</type>
           <!-- <operand>file:///C:/DBXMLData/</operand>-->
            <operand>ffcpl:/workbench/dbxml/</operand>
        </instr>
        <instr>
            <type>dbxmlCreateContainer</type>
            <operator>
                <dbxml>
                    <name>testcontainer</name>
                </dbxml>
            </operator>
        </instr>


The DBXML container is always created in the bin subdir of Netkernel.
I want it created on the file system but cwu, as I am using it, doesn''t seem to do the job.
What am I missing?
nk4um User
Posts: 42
July 14, 2010 12:51Netkernel 3.3.1 dbxmlQuery
Solution found using active:cwu
nk4um User
Posts: 42
July 14, 2010 12:15Netkernel 3.3.1 dbxmlQuery
Is it possible to do a query on a dbxml container which is situated outside Netkernel?
Containers created from within Netkernel are created within the Netkernel bin directory.

I would like to connect to an existing container on a Windows networked drive e.g. F:\\DBXMLData\\test.dbxml

I tried all types of URI''s in the container element and in the xquery collection function but with no success.



<instr>
  <type>dbxmlQuery</type>
  <operator>
    <dbxml>
      <container>mycontainer</container>
      <xquery> &lt;root&gt; { collection(''mycontainer'')/* } &lt;/root&gt; </xquery>
    </dbxml>
  </operator>
  <target>var:resultset</target>
</instr>