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

RE: Re: XSL tagging

Subject: RE: Re: XSL tagging
From: "Dan Acuff" <dacuff@xxxxxxxxxxxxxx>
Date: Fri, 2 May 2008 09:50:56 -0400
RE:  Re: XSL tagging
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:  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

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.