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

Re: IE5's xsl:copy

Subject: Re: IE5's xsl:copy
From: "Juliane Harbarth" <jhb@xxxxxxxxxxxxxx>
Date: Fri, 5 Mar 1999 14:51:24 -0000
xsl copy wd xsl xsl
I managed to do something like an id transformation
using the following :

<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">

  <xsl:template match="/">
   <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="*">
    <xsl:for-each select="@*">
     <xsl:attribute><xsl:value-of select="."/></xsl:attribute>
    </xsl:for-each>
   <xsl:apply-templates/>
  </xsl:template>

  <xsl:template match="textnode()">
   <xsl:value-of select="."/>
  </xsl:template>	

</xsl:stylesheet>

I said 'something like an id' because what I get when I open
IE5 on an XML file referring to this stylesheet, is all the
text and the attributes (names and values) of my file, but
I don't see any tags. So the conversion result is not XML, or
is it ?

May be this example can nevertheless be a help to you.

How can I tell my IE5 that the result has to be XML,
mentioning non-HTML tags or using <xsl:element> did
not help.



 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.