Transforming data XML and stylesheet XSL into WML format

Hello!

My software is:
Microsoft Windows 2000 Professional
Personal Web Server
Tamino 3.1.1.1
Nokia Mobile Internet Toolkit 3.0 :cool:

My data and my stylesheet (xsl) are stored in TAMINO. I retrieved these date using the following vbscript:

<%
Dim DataBase, StyleSheet
DataBase = “http://localhost/tamino/myDatabase/col?_xql=dok”
Query = “[surname=‘Baumann’]”
Stylesheet = “http://localhost/tamino/myDatabase/col/style/First.xsl”
Set xmlcon = Server.CreateObject(“MSXML2.ServerXMLHTTP”)
xmlcon.Open “GET”, DataBase+Query, False
xmlcon.Send
Set xmldoc = Server.CreateObject(“Microsoft.XMLDOM”)
xmldoc.async = false
xmldoc.loadxml xmlcon.responseText
If xmldoc.parseError <> 0 Then
Response.Write “Error loading data from TAMINO”
Else
Response.Write “OK loading data!”
End If
Set xslcon = Server.CreateObject(“MSXML2.ServerXMLHTTP”)
xslcon.Open “GET”, StyleSheet, False
xslcon.Send
Set xsldoc = Server.CreateObject(“Microsoft.XMLDOM”)
xsldoc.async = false
xsldoc.loadxml xslcon.responseText
If xsldoc.parseError <> 0 Then
Response.Write “Error loading XSL stylesheet”
Else
Response.Write “OK loading stylesheet”
Response.Write XMLDoc.transformNode(xsldoc.documentElement)
End If
Response.End
%>

My problem is to transform these data into my Nokia Mobite Toolkit 3.0 by WML format. :frowning:

When I tried in NOKIA MOBILE TOOLKIT version 3.0 to execute my vbscript by the following url: http://localhost/wap/example01.asp I got the message error: “Content could not be encoded by the gateway”. :frowning: :frowning:

I also tried add ONE line:
Response.ContentType = “text/vnd.wap.wml”
so then my vbscript was:

<%
Dim DataBase, StyleSheet
DataBase = “http://localhost/tamino/myDatabase/col?_xql=dok”
Query = “[surname=‘Baumann’]”
Stylesheet = “http://localhost/tamino/myDatabase/col/style/First.xsl”
Set xmlcon = Server.CreateObject(“MSXML2.ServerXMLHTTP”)
xmlcon.Open “GET”, DataBase+Query, False
xmlcon.Send
Set xmldoc = Server.CreateObject(“Microsoft.XMLDOM”)
xmldoc.async = false
xmldoc.loadxml xmlcon.responseText
If xmldoc.parseError <> 0 Then
Response.Write “Error loading data from TAMINO”
Else
Response.Write “OK loading data!”
End If
Set xslcon = Server.CreateObject(“MSXML2.ServerXMLHTTP”)
xslcon.Open “GET”, StyleSheet, False
xslcon.Send
Set xsldoc = Server.CreateObject(“Microsoft.XMLDOM”)
xsldoc.async = false
xsldoc.loadxml xslcon.responseText
If xsldoc.parseError <> 0 Then
Response.Write “Error loading XSL stylesheet”
Else
Response.Write “OK loading stylesheet”
Response.ContentType = “text/vnd.wap.wml”
Response.Write XMLDoc.transformNode(xsldoc.documentElement)
End If
Response.End
%>

However in this case, I got the same error message: “Content could not be encoded by the gateway”. :frowning: :frowning: :frowning:

How can I fix this problem?

Thanks a lot, for support! :cool:

Best Regards from POLAND
Dariusz Baumann

Any ideas for to be connected TAMINO with WML using ASP script?
:frowning: :frowning: :frowning: :frowning: :frowning:

Best Regards
Dariusz Baumann
POLAND

Hello!

On official Software AG documentation I found ONLY two separate topic. Here these are:

1) XSLT summary
Advantages
XSLT stylesheets can convert XML into almost any output format, from HTML over XHTML to WML, SVG, SMIL, etc. This allows support not only for HTML clients but also for mobile clients, and for multimedia applications.

2) Introduction into XSLT
XSLT can, for example, be used to transform presentation neutral XML data into presentation formats such as HTML, XHTML, XForms, WML, SMIL, SVG, etc.

–
It is ONLY teoritical text WITHOUT any practical examples. :frowning: :frowning: :frowning: :frowning: :frowning:

Can anybody share with me your samples about transforming XML data (stored in Tamino) into WML format using XSL stylesheet?

Any samples will be VERY VERY VERY appreciated!

Thanks a lot for support and helping hand.

Best Regards
Dariusz Baumann
POLAND

Hello!

I couldn’t solve this problem. PLEASE, help me. Thanks a lot…

Regards,
Dariusz Baumann

I think this may be the wrong forum for this question. This may explain why you are getting no answers. Have you tried the XSLT forum?