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">
<xslutput
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
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">
<xslutput
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