Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Delivered-To: moderator for general@xml.apache.org Received: (qmail 3837 invoked from network); 4 Apr 2000 14:10:38 -0000 Received: from mail1.ifrance.com (209.67.249.134) by locus.apache.org with SMTP; 4 Apr 2000 14:10:38 -0000 Received: from 195.115.16.142 [195.115.16.142] by mail1.ifrance.com; Tue, 4 Apr 2000 14:09:24 GMT Message-ID: <01ad01bf9e3f$813c6390$448c10ac@csi.crosssystems.com> From: "Benwa" To: , Subject: code a DTD in a XML output using XSLT Date: Tue, 4 Apr 2000 16:10:13 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_01AA_01BF9E50.42C3BE40" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_01AA_01BF9E50.42C3BE40 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi ! Can someone tell me how I can code a DTD in a XML doc that I output = using XSL ( I have XMLsource + XSL =3D> XMLoutput using DOM parser ) The stylesheet is (for the moment) looking like this : But It is making an error. Does someone know the element ? (I tried that: but not work...) Thanks for help. Ben. ------=_NextPart_000_01AA_01BF9E50.42C3BE40 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi !
Can someone tell me how I can code a DTD in a XML doc that I output = using=20 XSL
( I have XMLsource + XSL =3D> XMLoutput using DOM parser )
 
The stylesheet is (for the moment) looking like this :
 
<?xml version=3D"1.0"?>
<xsl:stylesheet=20 xmlns:xsl=3D"http://www.w3.org/TR/WD-xsl">
 
<!DOCTYPE wml PUBLIC '-//WAPFORUM//DTD WML 1.1//EN'=20 'http://www.wapforum.org/DTD/wml_1.1.xml'>
 
<xsl:template>
 <xsl:copy>
  <xs= l:apply-templates=20 select=3D"*|@*|comment()|pi()|text()"/>
 </xsl:copy>
= </xsl:template>
 
</xsl:stylesheet>
 
But It is making an error.
Does someone know the <xsl:output> element ?
(I tried that:
<xsl:output method=3D"wml" doctype-public=3D"-//WAPFORUM//DTD = WML 1.1//EN"=20 media-type=3D"text/vnd.wap.wml"=20 doctype-system=3D"http://www.wapforum.org/DTD/wml_1.1.xml"=20 encoding=3D"ISO-8859-1"/>
but not work...)
 
Thanks for help.
Ben.
------=_NextPart_000_01AA_01BF9E50.42C3BE40-- ______________________________________________________________________________ Si votre email etait sur iFrance vous pourriez ecouter ce message au tel ! http://www.ifrance.com : ne laissez plus vos emails loin de vous ... gratuit sur iFrance : emails (20 MO, POP, FAX), Agenda, Site perso