RE: XML to WML

Subject: RE: XML to WML
From: Dylan Walsh <Dylan.Walsh@xxxxxx>
Date: Thu, 16 Dec 1999 12:18:24 -0000
Date: Wed, 15 Dec 1999 16:02:52 +0200
>From: Marco.Mistroni@xxxxxxxxx
>Subject: XML to WML
>
>hi all,
>	anyone can give me suggestion about how to write a stylesheet
for
>converting XML into WML?? i have an idea, but i am getting lost at the
>beginning....
>what should i put in the stylesheet at the xmlns??
>i want to have as output 
><?xml version= 1.0"?>
><!DOCTYPE....
><wml>
>
>but in the output i have only wml.....
>how can i do that??
>regards
>	marco

<xsl:output method="xml" 
	indent="yes" 
	xml-declaration="yes" 
	doctype-system ="http://www.wapforum.org/DTD/wml_1.1.xml"; 
	doctype-public="-//WAPFORUM//DTD WML 1.1//EN"/>

... will output the right DOCTYPE. This works with the latest version of
Xt, and
other XSL processors if they implement this part of the spec.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • XML to WML
    • Marco . Mistroni - Wed, 15 Dec 1999 16:02:52 +0200
      • <Possible follow-ups>
      • Dylan Walsh - Thu, 16 Dec 1999 12:18:24 -0000 <=