RE: [xsl] xsl:attribute in XSLT 2.0

Subject: RE: [xsl] xsl:attribute in XSLT 2.0
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 11:06:20 -0400
Sergiu,

At 09:40 AM 10/24/2003, you wrote:
Cases where outputed element name is not known make the select attribute useful in xsl:attribute element:

<xsl:element name="{concat(application,'.',entity)}">
        <xsl:attribute name="id">
                <xsl:value-of select="id"/>
        </xsl:attribute>
</xsl:element>

This particular case could be handled as


<xsl:copy-of select="@id"/>

though it still doesn't contradict your point, of course.

Cheers,
Wendell


====================================================================== 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