×

Discussion Board

Results 1 to 2 of 2

Thread: Doctype!

  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    Egypt
    Posts
    19

    Doctype!

    I read many WML tutorials on the web and I've always found this header in all WML:

    <?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.phone.com/dtd/wml11.dtd" >

    does anyone know what do they do in a WML page?
    and to be more specific

    what does the XML part do? and what does the doctype do?

    thanks in advance.

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Hungary
    Posts
    414
    The wml is a kind of xml (eXtensible Markup Language). The first line says, that it is coform to xml rules (syntax).
    The second line say that it is conform to wml 1.1 (semantic) standard defined in http://www.phone.com/dtd/wml11.dtd (Document Type Definition)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×