On Tue, 12 Mar 2013 10:39:35 +0100 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 seems to be started, but not finished. I have not written it, just looked at the implementation. > 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? Yes. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal