B4J Question How can I parse HTML code with unlimited nodes with unlimited child nodes to a treeview? [solved] - Mashiane    
Jan 11, 2018   
(1 reaction)Hi there
I need some help parsing HTML code to a tree. The main point is getting the structure and..., Array(True))
'parse the Html page and create a new xml document.
tid.Parse(File...
link: of the html document which does not have a !doctype.
'stub
Dim xml As XmlElement = xm.elements...
link: Xml2Map class should also be considered to use....
link: Hi there
I need some help parsing HTML code to a tree. The main point is getting the structure and...
B4A Library [B4X] MiniHtmlParser - simple html parser implemented with B4X - Erel    
Feb 6, 2025   
(40 reactions)MiniHtmlParser is a cross platform class that parses html strings and creates a tree... html pages are not 100% valid. The parser tries to handle a few cases, far from browsers which can handle many common html problems.
The example demonstrates how to use the parser.
It parses...
link: to ParseAttributes and so far it is working fine for my MiniHtml library.
Private Sub...
link: Suggestion update:
Private Sub ParseAttributes (Parent As HtmlNode)
Dim start As Int = Index...
B4J Question parsing holidays, MiniHtmlParser - Erel (first post)    
Sep 18, 2025   
(3 reactions)Step 1:
To debug change code to:
For Each td As HtmlNode In tds
HtmlParser.PrintNode(td)
Next
Step 2:
For i = 0 To trs.Size -1
Dim tds As List = HtmlParser.FindDirectNodes(trs.Get(i), "td", Null)
For Each td As HtmlNode In tds
Dim TextNode As HtmlNode
Dim a As HtmlNode = HtmlParser.FindNode(td, "a", Null...
link: hi,
I am trying to parse this html code (feiertage) from https://www.ferienwiki.at/feiertage/2025...
B4J Question Parsing HTML Tables - Erel (first post)    
Apr 12, 2020What is the output that you get from jTidy?...
link: I would have thought it can be done with regex by a multi-stage process and string arrays:
- first extract the lines <tr .. </...
link: Is there any way to parse this HTML table to a CSV file?
<h3 class="mobileH3"><i...
B4J Question How to Parse HTML file - rwblinn (first post)    
Oct 13, 2016   
(2 reactions)Hi,
thought about converting the content to a table, then parse to xml then build a map with fields.
See attached try using jTidy with output.
Note: Corrected a typo spotted in the source. Attached...
link: Another excellent suggestion.
Thanks Rob....
link: Thank you both for your advise.
The html file is generated from the body of an email sent from...
link: Look first for Regex but syntax is too complex for me !! :confused:...
B4A Tutorial [B4X] [B4XPages] Pleroma / Mastodon Client - Erel    
Feb 24, 2021   
(25 reactions) the maximum allowed size.
The html from the feed is parsed using MiniHtmlParser class. The output.... Implemented as a library.
TextUtils - Converts the parsed html data to BBCode.
PleromaFeed - Downloads and....
HtmlToRuns - Converts the parsed html tree to text runs for BCTextEngine.
This project depends on several...
link: feed is downloaded with OkHttpUtils2.
It is parsed with MiniHtmlParser.
The parsed html...
link: v1.09
98430
98431
The parsed html is converted to text runs directly. Previously the html...
B4J Tutorial [Server] Online Json Tree Example - Erel    
Jul 6, 2023   
(5 reactions)/jsontree-tool-to-help-with-json-parsing-b4a-b4j.35963/
http://www.b4x.com/basic4android/images/SS-2014-03-20_11.43.42.png
You can try it online: https://b4x.com:51041/json/index.html
The server parses the JSON string and returns the tree representation and also the B4A / B4J code you need in order to parse it.
The code is similar to the desktop solution code. The main difference is that the tree is built with standard HTML lists, so instead of adding the elements to a real TreeView we need to...
B4J Library [B4X] Xml2Map - Simple way to parse XML documents - Erel    
Jul 16, 2023   
(51 reactions)   
tags: xml, Xml2Map, ErelNobody likes to parse XML.
Parsing JSON is simple and fun. Parsing XML is tedious and boring.
That is the reason behind the Xml2Map class. It internally parses the XML document and returns a Map with the parsed data. It is similar to parsing JSON.
Tip: You can use this tool to help you with parsing JSON: https://b4x.com:51041/json/index.html
So instead of the code explained in the old tutorial: https://www.b4x.com/android/forum/threads/xml-parsing-with-the-xmlsax-library.6866/#content
We...
Other JsonTree - Tool to help with JSON parsing (B4A / B4J) - Erel    
Apr 24, 2022   
(43 reactions)   
tags: JsonTree, Onlinehttp://www.b4x.com/basic4android/images/SS-2013-12-23_10.11.49.png
JsonTree is a tool that helps developers to parse and understand JSON strings.
It shows the data structure in a TreeView and it also prints the code (B4J / B4A) required in order to extract the data from the string.
Note... is available here: http://basic4ppc.com:51042/json/index.html
The source code is attached.
Updated project: https://www.b4x.com/android/forum/threads/jsontree-tool-to-help-with-json-parsing-updated-as-23-4...
B4J Library [B4X] MiniHTML3 - aeric (first post)    
Jun 19, 2026   
(2 reactions), checked, selected, hidden, readonly
HTML parsing — Parse existing HTML strings into MiniHtml objects (Parse, ConvertFromBytes, ConvertToMiniHtml)
CDN helpers — cdn, cdn2, cdn3 for adding <script>...
link: Object
ConvertFromBytes(Buffer())
MiniHtml
Parse UTF‑8 byte array into a MiniHtml tree...
link: search by id attribute
ChildByIndex(index) — Get child by position
Parsing & JSON:
Parse(HtmlText...
link: .31
MiniHTML library for B4X — a fluent HTML builder for B4J/B4A/B4i.
GitHub: https://github.com...
Page: 1  
2  
3  
4  
5  
6  
7