On Tue, 12 Mar 2013, dev.d...@gmail.com wrote:
Hi, working with fcl-xml some questions came together. Every hint is appreciated. 1. No matter what I do and which (short & valid) xml file I use - getElementById is always nil (tested with trunk and latest stable 2.6.2) and the same applies to TXMLDocument.IDs. I tried with ReadXMLFile and TDOMParser with different options - but the result is always the same. Is getElementById supposed to work properly or is it something that needs to be implemented? Trying to understand what the parser does (not that easy), I got the feeling that no Hashtable for the IDs is created - can someone with more insight comment on that?
It should be filled ? The XMLTextReader creates the map, and passes it on to the final document.
2. Is there a way to tell WriteXMLFile *not* to use indentation?
No.
3. What is the state of XPath? The readme says 'Should be fairly completed' - can I assume it works for simple tasks?
This I do not know. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal