RE: [xsl] Re: XSL tagging

Subject: RE: [xsl] Re: XSL tagging
From: "Dan Acuff" <dacuff@xxxxxxxxxxxxxx>
Date: Fri, 2 May 2008 09:50:56 -0400
Would this be better?

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
    <xsl:variable name="URI">guinnesswebstore.com</xsl:variable>
    <xsl:output encoding="UTF-8" method="html"/>
    <xsl:param name="leftNavId"/>
    <xsl:template match="menu">
        <ul class="adxm sidemenu">
            <xsl:apply-templates
select="category[@name=$leftNavId]/child::category"/>
        </ul>
    </xsl:template>

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: Friday, May 02, 2008 9:41 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Re: XSL tagging

> Is there a better place I can Id my file as belonging to a website
> besides the stylesheet ID attribute?

Either use an attribute of xsl:stylesheet in your own namespace, or a
top-level element (child of xsl:stylesheet) in your own namespace. Both
those solutions seem far preferable to joyriding on an attribute that
was defined for a different purpose.

Michael Kay
http://www.saxonica.com/

Current Thread