Discussion Board

Results 1 to 2 of 2

Thread: Doctype!

  1. #1
    Registered User choscos's Avatar
    Join Date
    Mar 2003
    Location
    Egypt
    Posts
    19
    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 kisember's Avatar
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved