1

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?

Dmitry Frank
  • 10,417
  • 10
  • 64
  • 114
  • 1
    VN.TOSTRING(VN.GETCURRENTINDEX()); CAN YOU TRY IT? – vtd-xml-author Jan 07 '13 at 05:27
  • Thanks, that works. Add the same as an answer, an I'll surely accept it =) By the way, thank you, vtd-xml's XPath is extremely faster than Java's DOM implementation, but, in my opninion, documentation of vtd-xml is a bit poor. But, anyway, awesome job, it accelerated my XML-based application a lot. – Dmitry Frank Jan 07 '13 at 10:52

2 Answers2

2
vn.toRawString(vn.getCurrentIndex())
vtd-xml-author
  • 3,319
  • 4
  • 22
  • 30
1
 vn.toString(vn.getCurrentIndex()
user2771655
  • 1,052
  • 3
  • 20
  • 38