Position() returns a value equal to the context position
File: Data.xml
"title 1" Excerptpara1title 1para2"He Lights"line 1title 2
File: Transform.xslt
First figure title in chapter:
Last figure title in chapter:
Output:
First figure title in chapter:
"He Lights"
Last figure title in chapter:
title 2