Hi Team,

Is there a way we can see the fragments in database. for example if I
create a document sample.xml in database and set fragment roots or parents,
can i view how the fragments are created in stand. else can i list all the
fragmented elements.

For Ex:
let $aa := element books {
              element name { "maths"},
              element chapter {
                element name { "Algebra" }
              },
              element chapter {
               element name { "Calculus" }
              }
            }
return
xdmp:document-insert("/sample.xml",$aa,xdmp:default-permissions(),"TEST")

If I set fragment root as "chapter"  fragment count is showing as 5 but I'm
expecting  3.

when I set fragment parent as "books" fragment count is showing as 6 but
I'm expecting 3.

In both cases I'm clearing the forest which means it is an empty database.

Kindly elaborate on this,

Thanks & Regards,
Rajesh Kumar P
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to