[fpc-pascal] TDomNode to text and/or document
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Mon Sep 22 12:37:23 CEST 2014
Hello,
I have a TDomNode (laz2_dom, but I guess it should be the same for all
implementations).
Is it possible to get a TXMLDocument from it? I tried:
lDoc := TXMLDocument.Create;
try
lDoc.AppendChild(ANode);
but it crashes =(
Is it possible to get the full text of this node? something like:
<svg bla bla><sub item>etc etc etc</subitem></svg>
TextContent doesn't help at all here.
thanks,
--
Felipe Monteiro de Carvalho
More information about the fpc-pascal
mailing list