xsl-list
[Top] [All Lists]

RE: xsl:attribute in XSLT 2.0

2003-10-24 08:06:20
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(_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



<Prev in Thread] Current Thread [Next in Thread>