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(_at_)onebox(_dot_)com - email
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
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