cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adriano Smith <>
Subject wml output from text input.
Date Fri, 06 Aug 2004 13:19:09 GMT
is there any way to generate an xml file using xsp?

This is the problem:

This is my pipeline:

<map:match pattern="*oly">
<map:generate type="html" src=""/>
<map:transform type="xslt" src="olymp.xsl"/>-->

<map:serialize type="wml" mime-type="text/vnd.wap.wml"/>

i recieve the input from the url

This is just plain text with no tags.
eg " hello world"

Now i want "hello world" to be in wml format, so i used an xsl transformer. 

<xsl:stylesheet xmlns:xsl="" version="1.0">
<xsl:template match="/">
<card id="general" title="gen_oly">
<!-- what can i have here?     
  <xsl:value-of select=" "/>


Since there are no tags in the text i recieve, im not able to use any value in
<xsl:value-of select=" "/> 

How can i extract the text and insert into the xsl? is there any way to do this?

View raw message