[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

RE: WML embbeded in XSL.



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?
-----Original Message-----
From: Mugdhaa [mailto:mugdhaa.dhobley@mphasis.com]
Sent: Sunday, March 09, 1997 4:39 AM
To: sw-wml@engelschall.com; sw-wml@engelschall.com
Subject: WML embbeded in XSL.

My problem is
1. I want to embbed WML/WML Script in XSL and see the output in a simulated environment. How can i go about it and where will i get the simulated environment.
2. Could u please send me a sample code of XSL embbeding WML.
Regards,
Mugdhaa