Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   XML (http://www.velocityreviews.com/forums/f32-xml.html)
-   -   WML generation (http://www.velocityreviews.com/forums/t392579-wml-generation.html)

Franck 12-06-2006 12:15 PM

WML generation
 
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:output
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:flefebure2.NO@SPAM.orangecaraibe.com




All times are GMT. The time now is 08:04 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.