# XML Doctype

**URL:** <https://forum.kirupa.com/t/xml-doctype/279929>\
**Category:** flash\
**Created:** [January 20, 2009, 6:31pm UTC](https://forum.kirupa.com/t/xml-doctype/279929 "2009-01-20T18:31:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halian](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@halian](https://forum.kirupa.com/u/halian)\
**Post date:** [January 20, 2009, 6:31pm UTC](https://forum.kirupa.com/t/xml-doctype/279929/1 "2009-01-20T18:31:56Z")

</div>

Is there anyway to parse the doctype of an xml document? I can’t even get it to trace out with the xml. In as2 I could use xml.docTypeDecl and parse that as needed, but I don’t know a way of doing it in as3.

thanks.
