[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: Possible to use attribute value in pattern ??


Subject: Re: Possible to use attribute value in pattern ??
From: jmbolles@xxxxxxxxxxxxxxxx
Date: Thu, 15 Jul 1999 14:12:44 GMT

We have a slightly different problem with attributes. While you can select
on element-based attribute values, you can't revisit that element. Say for
example, you wanted to create choice box or list with all @name values. You
could match the pattern, but then could never revisit the element to get
information about its content or its other attribute values.

Jack Bolles



                                                                                                                   
                    David Carlisle                                                                                 
                    <davidc@xxxxxxxxx>           To:     xsl-list@xxxxxxxxxxxxxxxx                                 
                    Sent by:                     cc:                                                               
                    owner-xsl-list@mulber        Subject:     Re: Possible to use attribute value in pattern ??    
                    rytech.com                                                                                     
                                                                                                                   
                                                                                                                   
                    07/15/99 07:29 AM                                                                              
                    Please respond to                                                                              
                    xsl-list                                                                                       
                                                                                                                   
                                                                                                                   




> Any ideas ??

<xsl:template match="smil">
 <Picture Name="{body/img/@id}"
          Left="{head/region/@left}"
          Right="{head/region/@right}"/>
</xsl:template>

David


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread