| ?xml xml declaration |
| |
?xml declaration
A valid WML deck is a valid XML document and therefore must contain an XML declaration.
Each XML document starts with XML declaration and document
type declaration. For instance, if you use version WML 1.3 you must enter:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
XML declaration and document type declaration are part of the XML document named prologue and it is an error to omit the prologue.
attributes
version
specifies the XML version number. Value 1.0 is recommended.
encoding
specifies the XML encoding character set. Default value is UTF-8 and this
value is recommended.
!doctype
XML document type declaration. A valid WML deck is a valid XML document and
therefore must contain document type declaration.
Each XML document starts with XML declaration and document type declaration. For instance, if you use version WML 1.3 you must enter:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd">
XML declaration and document type declaration are part of the XML document named prologue and it is an error to omit the prologue.
Because only version number is changeable, you must set attribute version to 1.0, 1.1, 1.2 or 1.3 in the Element attributes window.
attributes
version
specifies WML version and appropriate WML DTD document. Values 1.0, 1.1, 1.2 or
1.3 are correct, but it is recommends to use version 1.1 or higher.
See also: WML reference