[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: AS-IS Output in XSL

Subject: RE: AS-IS Output in XSL
From: zuzmi@xxxxxxxxxxx (Z. Uzmi)
Date: Wed, 7 Jun 2000 23:26:40 -0700
xsl text as is
>From XSL file's point of view (which I am assuming is being parsed by DOM or
SAX parser), anything between angle brackets is "considered" a tag and needs
a closing tag, or a slash at the end. The reason I used that terminology is
just to make the question clear, and it worked :-). Anyways, here is the
solution that I found after some experimentation with Xalan-J for the
benefit of others.

<xsl:text disable-output-escaping="yes">
&lt;!DOCTYPE blah blah blah&gt;
</xsl:text>

zartash

> > I am trying to do an XLS Transformation and in the output
> > file I want a non-closing tag to appear as follows:
> >
> > <!DOCTYPE something something_else_but_not_an_attribute blah blah>
> >
> Firstly, your terminology is way out, there is no such thing as a
> "non-closing tag" and you seem to be confused between an element start tag
> and a document type declaration. The only similarity is that both
> use angle
> brackets as delimiters.
>
> Secondly, there is no clean way of outputting a document type declaration
> from an XSLT stylesheet. There is a dirty way of doing it, use
>
> <xsl:text disable-output-escaping="yes">
> <[CDATA[<!DOCTYPE thing thing>]]>
> </xsl:text>
>
> Mike Kay
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.