I have
been trying to implement wml through XSL stylesheets all week using the XMLDOM
object from an asp page.
I can
get the html to work fine (so I know that the XML is OK), but in Nokia 7110 it
throws an error, as if I have not set the content type properly. Here is the XSL
code:
<?xml
version="1.0"?><xsl:output method="wml" doctype-public="-//WAPFORUM//DTD
WML 1.1//EN" media-type="text/vnd.wap.wml"
doctype-system="http://www.wapforum.org/DTD/wml_1.1.xml"
encoding="ISO-8859-1"/><xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template
match="/">
<wml>
<card> <p> <xsl:for-each select="email/message"> <xsl:value-of select="from"/><br/> <xsl:value-of select="subject"/><br/> <xsl:value-of select="text"/><br/> </xsl:for-each> </p> </card> </wml> </xsl:template> </xsl:stylesheet> </xsl:output> Any
ideas?
|