xsl-list
[Top] [All Lists]

[xsl] Re: XSL tagging

2008-05-02 06:35:28
I just want a way to identify a common file name, i.e left_nav.xsl, as
belonging to a certain web domain.

I.E

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

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

~~~~~~~~~~~~~~~~~~
Dan Acuff
Developer
SureSource, Inc.
203.922.7546
dacuff(_at_)suresource(_dot_)com
~~~~~~~~~~~~~~~~~~


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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