Forum > LCL
TXMLNode
wluis:
Somebody knows how i can find class: TXMLNode on lazarus/freepascal
eny:
Why would you need it?
dfeher:
I think you should use TDOMNode instead. ::)
wluis:
ok i´m working in a project with MapServer, and i need read xml document, their came from url request, now, ReadXMLFile don´t work what i must to do
eny:
--- Code: ---uses
DOM, XMLRead;
...
var root: TDOMNode;
xml: TXMLDocument;
...
ReadXMLFile(xml, '<yourfile>');
root := xml.FindNode('<your root tag>');
// etc...
--- End code ---
This should work (it does for me...).
Navigation
[0] Message Index
[#] Next page