[Lazarus] How to use GetElementById?
Sergei Gorelkin
sergei_gorelkin at mail.ru
Thu Jan 27 16:18:42 CET 2011
silvioprog writes:
> Hi guys,
>
> I use the GetElementById in PHP with sucess, but in FPC I not know how use.
>
(skipped)
GetElementById works by itself, but it requires a DTD to be present *and* it is able to resolve DTDs
only at the filesystem level. Since your sample document contains DTD pointing to http://, it will
be ignored, making your task difficult.
Also the parsing must be done in validating mode (see example 'Validating a document' at
http://wiki.freepascal.org/XML_Tutorial)
Regards,
Sergei
More information about the Lazarus
mailing list