Page 107 - DCAP512_WAP_AND_WML
P. 107

Unit 7: Managing Outputs




          The following table illustrates the seven named character entities that are particularly important  Notes
          in the processing of WML
                   Entity           Notation         Explanation
                   quot             "            quotation  mark
                   amp              &            ampersand
                   apos             '            apostrophe
                   lt               <            less than
                   gt               >            greater than
                   nbsp                         non-breaking space
                   shy              ­           soft hyphen (discretionary hyphen)





             Notes  The semicolon (;) is part of the escape sequence for a special character.
          To include a special character, simply use the escaped notation described in the table above. For
          example, the following code includes a less than character (<) in the escaped form <.
           <wml><card id=”Card_1"><p>Numerically 5 < 10</p></card></wml>

          This would generate the following screen display:



















          Self Assessment Questions


          Fill in the blanks:
          11.  All …………………… character entities are referenced with respect  to the  document
               character set (Unicode) and not to the current document encoding (charset).

          12.  To include a special character, simply use the ………………….. notation.

             


             Caselet     Ecom City Portals to Support Shopping

                   COM  Concepts  India  Pvt  Ltd,  the  company  behind  city-specific  portals,
                  Mumbai123.com and Delhi123.com, will set up  e-commerce shop fronts for the
             Etwo portals by October this year.
                                                                                 Contd...



                                           LOVELY PROFESSIONAL UNIVERSITY                                   101
   102   103   104   105   106   107   108   109   110   111   112