Dmitry Frank
Dmitry Frank

Reputation: 10747

VTD-XML: how to get tag name of the current element?

In the VTDNav docs I see methods to get value of attrubites, to get text value of the element, but I really can't find, how to get tag name of the current element?

Upvotes: 1

Views: 1655

Answers (2)

user2771655
user2771655

Reputation: 1072

 vn.toString(vn.getCurrentIndex()

Upvotes: 1

vtd-xml-author
vtd-xml-author

Reputation: 3377

vn.toRawString(vn.getCurrentIndex())

Upvotes: 2

Related Questions