Mega Code Archive
Last() function is in template The context is therefore a single chapter element
File: Data.xml
Chapter A
Chapter B
Chapter C
Chapter D
File: Transform.xslt
(last =
)
Output:
Chapter A(last = 1) |
Chapter B(last = 1) |
Chapter C(last = 1) |
Chapter D(last = 1) |