[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Outputting DOCTYPE with IE XSL
I guess there is no standard way to do this, the MS XMLDOM has just a read only support for Document Type Declarations. One way could be the following First create a root XML-Doc with the Doc-Decl MSXMLDOMDocument.loadXML(<?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"><wml></wml>") and than replace the root-element with the result of your XSL-processing -----Original Message----- From: james@xxxxxxxxxxx [mailto:james@xxxxxxxxxxx] Sent: Friday, November 19, 1999 5:53 PM To: XSL-List@xxxxxxxxxxxxxxxx Subject: Outputting DOCTYPE with IE XSL Hi, I need to output a DOCTYPE declaration using IE's XSL processor (tied by server constraints - Cold Fusion). I've been all over looking for a way to do it, found nothing on the MS site, and on this list found the following: <xsl:text><![CDATA[<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">]]></xsl:text> which only works with XSLT compliant processors. I know that XT also supports xsl:output to produce the same DOCTYPE declaration. Alternatively, does anyone have any inside knowledge of when the MS XSL will become compliant with the recent recommendation? best, James Carlyle XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|