This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: attribute question
- From: bernwardhanssen at web dot de
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 17 Jan 2002 07:15:43 +0100
- Subject: Re: [xsl] attribute question
- Organization: http://freemail.web.de/
- Reply-to: xsl-list at lists dot mulberrytech dot com
What is your problem?
Is your problem that only Elemente will be called? Then use
<xsl:apply-templates select="@*"/>
Is your problem that no Attribut can be inserted? Then move call (apply-templates) befor you insert some text to the element.
Bernward
> <rendition>
> <style color="#FFFFFF" border="#FFFFFF" ></style>
> </rendition>
>
> I am having difficulty matching the attribute. See below:
>
> <xsl:template match="@color>
> <xsl:attribute name="color">
> <!--Insert some value -->
> </xsl:attribute>
> </xsl:template>
>
> I have seen plenty of examples that do this exact same procedure. Am I
> doing something incorrect?
> Any help is greatly appreciated.
>
______________________________________________________________________________
Geben Sie Ihren Lottotipp gerne auf den letzten Drücker ab?Beim WEB.DE
Lottoservice gibt's keine Warteschlangen. http://tippen2.web.de/?x=9
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list