ConstructionMode EnumerationConstructionMode EnumerationConstructionMode Enumeration

Specifies the construction mode of an XQuery module.

Syntax

Public Enumeration ConstructionMode
public enum ConstructionMode
public:
enum ConstructionMode
 
The ConstructionModeConstructionModeConstructionMode type exposes the following members.

Members

 MemberDescription
MemberPreservePreservePreserve Indicates that the type of a constructed element node is xs:anyType, and all attribute and element nodes copied during node construction retain their original types.
MemberStripStripStrip Indicates that the type of a constructed element node is xs:untyped; all element nodes copied during node construction receive the type xs:untyped, and all attribute nodes copied during node construction receive the type xs:untypedAtomic.

Top

Remarks

The construction mode governs the behaviour of element and document node constructors.

Use the ConstructionModeConstructionModeConstructionMode property to set the default construction mode.