MarkLogic 12 EA 1 Product Documentation
admin.databaseFragmentParent

admin.databaseFragmentParent(
   namespace as String?,
   localname as String
) as element(db.fragmentParent)

Summary

This function constructs a fragment parent specification.

Parameters
namespace The namespace URI. Specify an empty string if the element is in no namespace.
localname The local name for the node.

Example

  
  const admin = require('/MarkLogic/admin.xqy');
  const namespace = "my/namespace"
  const localname = "someElementName"
  admin.databaseFragmentParent(namespace, localname )

   //returns the fragments parent specification 
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy