Xml.doctypedecl - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

XML.docTypeDecl

Availability
Flash Player 5.
Usage
.
my_xml
docTypeDecl:String
Description
Property; specifies information about the XML document's
text has been parsed into an XML object, the
set to the text of the XML document's
SYSTEM "hello.dtd">
declaration, not an XML node object.
The ActionScript XML parser is not a validating parser. The
parser and stored in the
If no
declaration was encountered during a parse operation, the
DOCTYPE
property is set to
of
XML.docTypeDecl
any other text in the XML object. If
output.
Example
The following example uses the
XML object:
my_xml.docTypeDecl = "<!DOCTYPE greeting SYSTEM \"hello.dtd\">";
See also
XML.toString(),
DOCTYPE
). This property is set using a string representation of the
XML.docTypeDecl
. The
XML.toString()
undefined
immediately after the XML declaration stored in
XML.docTypeDecl
XML.docTypeDecl
XML.xmlDecl
DOCTYPE
property of the XML object is
XML.docTypeDecl
declaration (for example,
DOCTYPE
property, but no DTD validation is performed.
method outputs the contents
is undefined, no
property to set the
declaration. After the XML
<!DOCTYPE greeting
DOCTYPE
declaration is read by the
XML.docTypeDecl
, and before
XML.xmlDecl
declaration is
DOCTYPE
declaration for an
DOCTYPE
XML.docTypeDecl 1023

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents