This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: see if it is possible
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 14 Dec 2001 00:32:36 GMT
- Subject: Re: [xsl] see if it is possible
- References: <912374CEB1784F4284E58AE281F70C9F27235C@MAIL-02VS.atlarge.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I did it by 30 lines xsl code.
> can this be done by one or a few line of code?
<xsl:value-of select="count(B[@type='short' and @id=current()/A[@id='1']/Bref/@Bid])"/>
evaluated on the parent element of the A and B.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list