• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

want to generate wml from xsl file

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to generate wml file from a xsl file:-
greeting.xml:-
---------------
<?xml version="1.0"?>
<greetings>
<greeting>Hello World</greeting>
</greetings>

greeting.xsl:-
---------------
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl utput method="wml"/>
<xsl:template match="/">
<wml>
<card id="greeting" title="Hello World">
<p>
<xsl:apply-templates select="greetings/greeting">
<p>
</card>
</wml>
</xsl:template>
<xsl:template match="greeting">
<xsl:value-of select="."/>
</xsl:template>
</xsl:stylesheet>
***************************
I used the greeting.xml and greeting.xsl to generate greeting.wml file by using two XSLT processors:-
1-Xalan
2-Clark's XT
but unable to generate the wml file from both of them,none of the XLLT processors generate the wml file.
Can anyone help me in generating the wml file using XSLT processor.Plz let me know from which processor i can do this and what will be the procedure.
Thanks in advance
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic