WML generation

Discussion in 'XML' started by Franck, Dec 6, 2006.

  1. Franck

    Franck Guest

    Hi


    I use a java XSLT parser to generate WML

    XSLT stylesheet looks like :


    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

    <xsl:eek:utput
    method="xml"
    encoding="ISO-8859-1"
    doctype-public="-//WAPFORUM//DTD WML 1.1//EN"
    doctype-system="http://www.wapforum.org/DTD/wml_1.1.xml"
    indent="yes" />

    <xsl:template match="html">
    <wml>
    <template>
    <do type="accept" label="Back"> <prev/></do>
    <do type="accept" label="Home"><go href="/oml/menu.do"/></do>
    </template>

    <card id="owap" title="Wap">
    <xsl:apply-templates/>

    </xsl:stylesheet>

    In the WML output, we can read in every tag the mandatory attributes :

    <card id="owap" title="Wap" newcontext="false" ordered="true">

    In this example, I would like to make absent the newcontext en ordered
    attributes.

    Can you help me ?


    Thanks
    Franck

    --
    -
    Franck
    mailto:
     
    Franck, Dec 6, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JMMB

    WML

    JMMB, Aug 19, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    647
    MS News \(MS ILM\)
    Aug 20, 2003
  2. Jimmy
    Replies:
    2
    Views:
    806
    touchring
    Nov 30, 2004
  3. gilgantic
    Replies:
    0
    Views:
    613
    gilgantic
    Oct 17, 2005
  4. Morgan Strickland
    Replies:
    0
    Views:
    452
    Morgan Strickland
    Dec 20, 2003
  5. John W. Long

    HTML Generation (Next Generation CGI)

    John W. Long, Nov 22, 2003, in forum: Ruby
    Replies:
    4
    Views:
    395
    John W. Long
    Nov 24, 2003
Loading...

Share This Page