Here ya' go. These are taken from one of my courses. I've tested with Opera and 2 versions of the Openwave SDK.
Regards, Lajos galatea.com ********************** sitemap entry ********************* <map:match pattern="hello-world.wml"> <map:generate src="examples/hello-world/hello-world.xml"/> <map:transform src="stylesheets/wml/hello-world.xsl"/> <map:serialize type="wml"/> </map:match> ********************************************************** Ralph Holz wrote: > Lajos, > > thanks anyway. > > Would it be possible to let me have a look at both your WML and your > sitemap entries? Maybe that would give me some clue. I tried changing > the doctype-public and system setting to WML 1.3, didn't help. > > Cheers, > Ralph > >> Nothing wrong here. I double-checked my own stuff (I use Openwave SDK >> 5.0 and 4.1) and my pages work just fine. The only thing I can think >> of is to change the doctype-public and doctype-system setttings for >> the wml serializer in sitemap.xmap (or define another one with wml 1.3 >> references). If you are using something not in the wml 1.1 DTD, you >> might have a problem. > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > >
<?xml version="1.0"?> <page> <page-title>Welcome to Cocoon Fundamentals</page-title> <content> <title>Hello!</title> <paragraph> I am a basic XML page. </paragraph> </content> </page>
<?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/page"> <wml> <card id="index"> <xsl:attribute name="title"> <xsl:value-of select="title"/> </xsl:attribute> <xsl:apply-templates/> </card> </wml> </xsl:template> <xsl:template match="paragraph"> <p><xsl:apply-templates/></p> </xsl:template> </xsl:stylesheet>
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>