ConstructionMode EnumerationConstructionMode EnumerationConstructionMode Enumeration
Specifies the construction mode of an XQuery module.
The ConstructionModeConstructionModeConstructionMode
type exposes the following members.
Members
Member | Description | |
---|---|---|
![]() | PreservePreservePreserve |
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.
|
![]() | StripStripStrip |
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 .
|
Remarks
The construction mode governs the behaviour of element and document node constructors.
Use the ConstructionModeConstructionModeConstructionMode property to set the default construction mode.