DynamicContextSettings.DocumentSet PropertyDynamicContextSettings.DocumentSet PropertyDynamicContextSettings::DocumentSet Property
Syntax
Public Property DocumentSet As DocumentSet Get Set(ByVal value As DocumentSet)
public DocumentSet DocumentSet { get; set; }
public: property DocumentSet^ DocumentSet { DocumentSet^ get(); void set(DocumentSet^ value); }
Property Value
Type: XmlPrime.DocumentSetXmlPrime.DocumentSetXmlPrime::DocumentSet^
The DocumentSetDocumentSetDocumentSet instance containing the cache of documents and collections.
Remarks
The document set keeps a thread-safe cache of all documents and collections available to the query, and those marked as unavailable.
The fn:doc
, fn:doc-available
, fn:collection
, fn:document
,
fn:unparsed-text
and fn:unparsed-text-available
functions all retrieve documents and
collections through the document set. This enforces stability of these function and the constraint that
doc(document-uri($N)) is $N
is true
for any document node $N
.
In order to prevent documents from being loaded every time the XQuery program, XPath expression or XSL transformation is run, the document set can be shared between queries.
The document set can be pre-populated with documents and collections.
If this property is set to null
a null reference (Nothing
in Visual Basic)
nullptr
then the loading of external resources by functions
such as fn:doc
and fn:collection
is prohibited.
By default, this property is set to null
a null reference (Nothing
in Visual Basic)
nullptr