Is there a any better and shorter programming to get the text what we need?
Thanks for help!!
Instead of an image, please upload the RSS data as a text file.
Question: Is the text you need always in the lines as marked up? (lines 4, 8 and 14)
In this moment I just need the text of lines 4, 8 and 14.
There is a very powerful dictionary block that accepts a path and dictionary or list, to dive deep into a structure like yours:
Here is what your data structure looks like, tidied up:
I leave it to you to experiment, since it's your elegance/effort tradeoff.
I have added the XmlToJson block (which converts an XML string to another JSON string) to my extension and I am testing it with your example.
This XmlToJson block has some problems with XML CDATA codes, but it works.
XmlToJson.aia (608.5 KB)
Thanks! I would try it!
Thanks for your reply!!
Fixed "problems with XML CDATA codes"
Get_XML_JSON.aia (582.7 KB)
Updated KIO4_DecoJson.aix extension.
Now XmlToJson and JsonToXml
Thank you so much!!