Mega Code Archive
Categories
/
XML Tutorial
/
Xpath
If the element has an attribute
File: Data.xml
line 1
line 2
line 3
line 4
File: Transform.xslt
The poem has an author attribute.
Output: The poem has an author attribute.