This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Conformance of iXSLT ?




> I agree it seems strange (I am not particularly proud of this one). Do you 
> see another way of coding it ?

Well if the specifcation is to do exactly that, then no. but what I
think you want to do is count all figures with a caption if you
are currently at a figure, and similarly for tables, 
which would be

 level="any" count="figure[caption]"

in the template for figure and

 level="any" count="table[caption]"

in the template for table.

But not knowing the whole problem there may be some reason why that is
not appropriate in your case.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]