[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xsl:number/@count (was minor grouping issue)
On May 7, 2005, at 6:59 PM, Michael Kay wrote:
The count attribute indicates which nodes should be counted. For example, if As luck would have it, I think I may need the count attribute, then, because my next step after fixing these little bugs is to go back and reimplement the footnote-based citation style, which I'm thinking is going to mean I'll need to do something like count="db:footnote|db:citation[not(../db:footnote/db:para)]". The xpath expression is probably wrong, and I still haven't figured out how to this with this new code architecture, but the idea is I need to basically convert db:citation elements (that aren't already in footnotes) to "footnotes" on output, which includes numbering them as footnotes. So then does that mean if the function gets called from two different templates -- db:citation and db:footnote in this case -- the missing count attribute would know to count either? Bruce
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|