Partager via


XML Element

The XML element does not render anything by itself, but it can be used as an outer wrapper to denote a Collaborative Application Markup Language (CAML) data island.

<XML
  ID = "Text">
</XML>

Attributes

Name Description
ID Optional Text. Specifies an ID for the CAML data island.

Remarks

The ows: namespace is implied for all elements contained within the start and end tags of the XML element.

Example

The following example illustrates global scope for a variable with respect to the page. The second block returns the value set in the first block.

<XML>
  <SetVar Name="GlobalVar" Scope="Request">Bar</SetVar>
</XML>
 .
 .
 .
<XML>
  <GetVar Name="GlobalVar">
</XML>