Subject: Re: [xsl] XSL/XML External Link From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 06 Jun 2001 17:58:17 +0100 |
The offending code is the bit here: At 09:14 PM 6/6/01, you wrote:
> <xsl:for-each select="paratext"> > <xsl:value-of select="text()"/> > <xsl:for-each select="extlink"><A > target="newwindow"> > <xsl:attribute name="href"> > <xsl:value-of > select="@fileref"/></xsl:attribute> > <xsl:value-of > select="text()"/></A></xsl:for-each> > </xsl:for-each>
For each paratext, get me: The value of the set of text node children, Then, for each extlink child, An <A target="newwindow"> element, with an href attribute, whose value is the fileref attribute, then the value of the set of text node children....
<xsl:template match="paratext"> <p> <xsl:apply-templates/> </p> </xsl:template>
<xsl:template match="extref"> <a target="newwindow" href="{@fileref}"> <xsl:apply-templates/> </a> </xsl:template>
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 -> |
---|---|---|
[xsl] XSL/XML External Link, Burge, Morais L Mr U | Thread | [xsl] Xslt string operation, Earl Spencer |
[xsl] date function in XSLT or XPAT, angie . tong | Date | RE: [xsl] date function in XSLT or , Joseph.Braun |
Month |