|
Subject: Re: backtracking and trying to find a sub-node From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 21 Nov 2000 17:24:48 +0000 |
<xsl:variable name="images" select="ancestor::section//image"/> <xsl:variable name="image.hd1" select="$images[@role='hd1']"/> <xsl:variable name="image.hd2" select="$images[@role='hd2']"/>
<image src="<xsl:value-of select="$image.hd1/@fileref"/>" width="<xsl:value-of select="$image.hd1/@width"/>" height="<xsl:value-of select="$image.hd1/@height"/>" />
<image src="<xsl:value-of select="$image.hd2/@fileref"/>" width="<xsl:value-of select="$image.hd2/@width"/>" height="<xsl:value-of select="$image.hd2/@height"/>" /> </xsl:template>
<image src="{$image.hd1/@fileref}"
width="{$image.hd1/@width}"
height="{$image.hd1/@height}"/>Good luck, 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 -> |
|---|---|---|
| backtracking and trying to find a s, Robert Koberg | Thread | RE: do I have better option other t, Kay Michael |
| <no subject>, Michael Cieslik | Date | Re: counting?, Wendell Piez |
| Month |