With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Keep company data safe with Chrome Enterprise
Protect your business with AI policies and data loss prevention in the browser
Make AI work your way with Chrome Enterprise. Block unapproved sites and set custom data controls that align with your company's policies.
HTML Viewer Components for Delphi, Lazarus and C++Builder
The HtmlViewer component set consists of the THtmlViewer, TFrameViewer,
and TFrameBrowser components. All three are HTML document display components:
THtmlViewer
* The basic component.
* THtmlViewer displays single (non-frame) documents.
* It also forms the basis for the other two components.
The next generation XML library for Pascal (Delphi, FPC, Lazarus)
....
- True unicode support on all platforms and compilers (also for Delphi 4-2007).
- The XML parser is a standalone unit, making it possible to write different and user-defined XML interfaces.
- Extremely fast thanks to clever buffering.
Parsers included in OXml:
- Basic standalone XML reader and writer.
- DOM (W3C DOM Level 1.0 Specification).
- Sequential DOM parser
- SAX parser
DelphiHTMLParser
This module lets you work with HTML documents as DOM tree and use XPath for searching tags.
It is very simple way to parse HTML.
This tested with version Delphi XE5,6
Usage
Add in Uses parser.pas;
begin
HtmlTxt:= ''; //here your html
NodeList:= TNodeList.Create;
ValueList:= TStringList.Create;
DomTree:= TDomTree.Create;
DomTreeNode:= DomTree.RootNode;
If DomTreeNode.RunParse(HtmlTxt) then
begin
{your code
example:
DomTreeNode.FindXPath('//*[@id="TopBox"]/div[1]/div[@class="draw default"]'),NodeList,ValueList)}
end;
end;
Xpath support:
attributes - //*[@id="TopBox"]/div/@class
comment - //*[@id="TopBox"]/div/comment()[3]
text - //*[@id="TopBox"]/div/text()[2]
previous level - /.....