Windows Script Host  

<?XML?> Element

Indicates that a file should be parsed as XML.

<?XML version="version" [standalone="DTDflag"] ?> 


A string in the form n.n specifying the XML level of the file. Use the value 1.0.
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."


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.


The following example demonstrates the use of the <?XML?> Element:

<?XML version="1.0" standalone="yes" ?>

See Also

<runtime> Element | <named> Element | <description> Element | <example> Element | <object> Element | <package> Element | <resource> Element | <?job?> Element