[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: attribute question

Subject: Re: attribute question
From: bernwardhanssen@xxxxxx
Date: Thu, 17 Jan 2002 07:15:43 +0100
Re:  attribute  question
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.


> <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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.