| 
 
Subject: Re: [xsl] variables From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 28 Feb 2006 14:23:40 -0500  | 
Hi,
Is it possible to make this two lines into one. (somehow to match @label against current node @uri without creating new variable $current_section)
<xsl:variable name="current_section"><xsl:value-of select="@uri"/></xsl:variable>
<xsl:for-each select="document($menue_doc)//*[@label=$current_section]/descendant::section ">
<xsl:for-each select="document($menue_doc)//*[@label=current()/@uri]/descendant::section">
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx 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 ======================================================================
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] variables, Bokluci | Thread | RE: [xsl] variables, Florent Georges | 
| RE: [xsl] php:join() equiv in XSL/X, Michael Kay | Date | [xsl] Complex expression, Oleg Konovalov | 
| Month |