Indicates that a file should be parsed as XML.
<?XML version="version" [standalone="DTDflag"] ?> |
Arguments
- version
-
A string in the form n.n specifying the XML level of the file. Use the value 1.0.
- DTDflag
-
Optional. Boolean value indicating whether the XML file includes a reference to an external Document Type Definition (DTD). Script component XML files do not include such a reference, so the value for this attribute is always "yes."
Remarks
This declaration must be the first element in the file and cannot be preceded by any blank lines.
The existence of this declaration puts the script component compiler into strict XML mode, where element types and attribute names are case-sensitive, attribute values are enclosed in single or double quotation marks, and all elements are parsed. If the declaration is not included, the compiler allows syntax that is less strict.
You should include this declaration and follow XML conventions if your script component file will be edited in an editor that supports XML.
Example
The following example demonstrates the use of the <?XML?> Element:
Copy Code | |
---|---|
<?XML version="1.0" standalone="yes" ?> |