From: Jimmy Z. <cra...@co...> - 2006-08-02 19:14:06
|
A few reasons this"elementByIndex(index) is not a good thing to do 1. While an element is identified by its index, an index doesn't always = map to an element 2. VTD-XML's internal node presentation is more than just an index = value, so supply an index and expect VTD-XML's navigator to jump to it is inadequate... I think that it boils to the fact that VTD-XML is not DOM, so the code = style will be different, this is a subtle difference that requires developers to rethink their XML processing = tasks... ----- Original Message -----=20 From: tony yin=20 To: Vtd...@li...=20 Sent: Wednesday, August 02, 2006 1:42 AM Subject: Re: [Vtd-xml-users] Need more arbitrary random access So, It's hard to achieve "vn.toElementByIndex(index)", right? I am continuing need for features like that! -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users |