[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|