Mega Code Archive
Categories
/
XML Tutorial
/
Xpath
If test=position() = 1 or zip!=preceding-sibling
File: Data.xml
Mr.
Jack
Smith
1234 Main Street
New York
WI
48392
File: Transform.xslt
Zip code
(
,
):
Output: Zip code 48392 (New York, WI): Mr. Jack Smith 1234 Main Street