read a xml with html tags... lazarus / 21-General ---------------------------------------------------------------------- Espectr0 · 2022-08-26 11:36 Hola, I have a problem reading an XML file in which part of the text includes the
tags but it doesn't read them. i use: ... XmlDoc: TXMLDocument; Node: TDOMNode;    ... ReadXMLFile(XmlDoc, FileName); ... Text  := Node.TextContent; ... I need to add any parameters/flag? Thanks! ---------------------------------------------------------------------- dje · 2022-08-26 12:04 Why would a XML tag be part of TextContent? ---------------------------------------------------------------------- Espectr0 · 2022-08-26 12:48 Quote from: dje on August 26, 2022, 02:04:41 pmWhy would a XML tag be part of TextContent? It is part of a subtitle format Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i

- lost in America.
- [man] He’s coming!

---------------------------------------------------------------------- MarkMLl · 2022-08-26 13:14 I'm by no means an expert at this but please could we have a reality check: is your source document well-formed XML, or are you actually trying to read HTML into an XML component? MarkMLl ---------------------------------------------------------------------- Espectr0 · 2022-08-26 13:32 Quote from: MarkMLl on August 26, 2022, 03:14:13 pmI'm by no means an expert at this but please could we have a reality check: is your source document well-formed XML, or are you actually trying to read HTML into an XML component? MarkMLl Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i Blockedltiplier="999 1000" ttp:dropMode="nonDrop">