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

RE: RE: RE: xsl:output method=xml

Subject: RE: RE: RE: xsl:output method=xml
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 31 Jul 2003 11:36:36 -0400
xslt method xml
Also, someone might point Frank to the plausability of applying an identity tranformation to achieve his goal.

The "XSLT identity transform" is well-documented in the archives of list and elsewhere (including in the XSLT Recommendation).

I heartily assent to Charles' verdict that the d-o-e thing is ugly here. It's worse than that. Newbies should be on notice that d-o-e will get you into trouble, not only in application, but also with old-timers who deride you and your code. Disable-output-escaping is like the drill in the electrician's toolbox: you use it, with apologies, only on screws that are totally stripped. (If you want to be a carpenter or a machinist, learn Perl, Python, Java or C.)

Cheers,
Wendell

At 04:53 PM 7/30/2003, Charles wrote:
That is uuuuuug-ly! There is almost never a reason to use disable-output-escaping. Trash everything inside the <xsl:for-each select="child::*"> element and replace it with this:

<xsl:element name="name()"><xsl:value-of select="text()"/></xsl:element>
--
Charles Knell
cknell@xxxxxxxxxx - email


======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================


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.