Mega Code Archive
Categories
/
XML Tutorial
/
XSLT StyleSheet
A way how to recover the value of global variable which has the same name as a local one
File: Data.xml
Chapter A
Chapter B
Chapter C
Chapter D
File: Transform.xslt
Chapter
First chapter
Last chapter
:
Output:
First chapter : Chapter A
Chapter : Chapter B
Chapter : Chapter C
Last chapter : Chapter D