B4A Tutorial XML Parsing with the XmlSax library - Erel    
Jan 4, 2017   
(6 reactions)/b4x-xml2map-simple-way-to-parse-xml-documents.74848/
The XmlSax library provides an XML Sax parser.../xmlsax_1.png
For each item we are interested in two values. The title and the link.
The SaxParser...
link: 1. Please use code here... tags when posting code.
2. Please start a new thread for this question....
link: hi.
In this simple example based on this post i have problems when store a map into list variable, l...
link: This is not the correct place for this question.
You will find all that you need with a simple sear...
Java Question RaisesSynchronousEvents - Erel    
Oct 2, 2013@RaisesSynchronousEvents is a new annotation added in B4A v3.0. It is only relevant for the rapid debugger.
This annotation tells the debugger engine that the method tagged with this annotation can raise one or more events as a direct result of the call (before the method returns).
In most cases it is not needed. In the official libraries it was only* required in XmlSax library.
Calling SaxParser.Parse or SaxParser.Parse2 causes the XML events to be raised. The method returns only after...
B4J Question xmlsax error : Content is not allowed in prolog. - tufanv    
Sep 6, 2018Hello,
I am getting this error when using xml2map. .what does this mean I couldn't find any info on the forum.
Thanks...
link: https://stackoverflow.com/questions/5138696/org-xml-sax-saxparseexception-content-is-not-allowed-in-prolog...
B4J Question XMLSax Test please - stevel05    
May 5, 2018 XMLSax and XML2Map code module. I have validated the XML using an online validation tester... checked that there are no old versions of jXMLSax in my additional libraries folder.
Please let me...
link: One more update, returns an empty string as the dtd, Parse time down to 8 ms, that's more like i...
link: Similar issue if you are using jTidy: https://www.b4x.com/android/forum/threads/xmlsax-parser-seems...
link: I'm not sure why the Android version does not attempt to download the dtd file, presumably becau...
B4J Question XmlSax parser seems very slow / long delay - lte5000    
Apr 7, 2018Hello all,
When parsing an approximately 4KB XML file with the XMLSax parser library, it takes around 1 minute to complete.
I'm wondering if there's something I'm missing (likely), or if there's an issue specific to my system.
Please see pasted code sample below.
Thank you for your time!
#Region Project Attributes
#MainFormWidth: 600
#MainFormHeight: 600
#End Region...
link: The problem is that Tidy adds a DTD declaration to the XML document. The DTD document is then downloaded before the document can be parsed.
You can solve it with this code:
Tidy.Initialize
Dim jo As...
B4A Question xmlsax help - tufanv    
Sep 19, 2016Hello
I was checking out Erel's xmlsax tutorial and tried it on my xml. But my xml style...://www.namazvakti.com/XML2016/16/16742.xml
i copied it to files folder and parsed it with xmlsax...
link: You need to handle the StartElement event and check the attributes. Once you find the correct one, s...
link: .
You will need to use XmlSax to get the text element (should be simple) and then split it with Regex...
B4A Question XmlSax NullPointerException - Shay    
May 10, 2016I pressed back on app, it was suppose to show the xml data, and it crashed
(using English XML)
this ...
link: oops :-)...
link: yes
Globals is NOT process global....
link: yes
Sub Globals
...
Dim parser As SaxParser
Dim in As InputStream
Dim Title...
B4A Question XmlSax is crashing when using Hebrew - Shay    
May 10, 2016Using this code:
Getting the XML file from server:
Select Job.JobName
Case &quo...
link: parser.Parse (this must be inputSteam - I am getting compile error
Dim tr As TextReader
tr.Initiali...
link: If you want me to help you then you need to upload a project that demonstrates the problem. Either i...
link: What do you mean direct download, this is what I did, first downloaded the file...
B4A Question XMLBuilder to XMLSax Help Please - giga    
Dec 24, 2012I have created a xml file through xmlbuilder and would like to parse the users input from that file to another file that can be used as a configuration or script.
This could be either an automatic parse
or even through a Click (i.e File.WriteString)
Is this possible?
I have seen it parsed to a listview but I would like this to be a file instead.
Thanks for everyones help.:)...
B4J Library [B4X] Xml2Map - Simple way to parse XML documents - Erel    
Jul 16, 2023   
(51 reactions): https://www.b4x.com/android/forum/threads/xml-parsing-with-the-xmlsax-library.6866/#content
We... B4i.
It depends on XmlSax library (which is included in the IDE).
51651
Edit (October 2017):
Common...
Page: 1  
2  
3