WML generation

F

Franck

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top