xsl-list
[Top] [All Lists]

Re: [xsl] get attribute value in group element

2013-11-04 11:11:30
Thanks!!!
brg
henry



Martin Honnen <Martin(_dot_)Honnen(_at_)gmx(_dot_)de> schrieb am 17:21 Montag, 
4.November 2013:
henry human wrote:
<db>
    <group>
    <name>Team1</name>
      <set num1="11" num2="21" num3="31"></set>
        <set num1="12" num2="22" num3="32"></set>
        <set num1="13" num2="23" num3="33"></set>
    </group>
    <otherGroup>
...
    </otherGroup>
</db>
Something like
<xsl:value-of select= "document('db.xml')/db/group/set[@='num1']   ??????   
"/>
Any hint?

   <xsl:value-of select="document('db.xml')/db/group/set[@num1 = 
13]/@num3"/>




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


<Prev in Thread] Current Thread [Next in Thread>