Skip to content

Instantly share code, notes, and snippets.

@sheerazam
Created November 27, 2021 12:48
Show Gist options
  • Save sheerazam/f9b7884cfe478c5be55bdf4b848b9135 to your computer and use it in GitHub Desktop.
Save sheerazam/f9b7884cfe478c5be55bdf4b848b9135 to your computer and use it in GitHub Desktop.
How to Parse Xml using Kotlin in 2021
<?xml version="1.0"?>
<!DOCTYPE DATA_FETCH SYSTEM "http://www.redata.com/Xml/DATA_FETCH.dtd">
<DATA_FETCH>
<REC>
<COL NAME="SELLER4_MOBILEPHONE" VALUE=""/>
<COL NAME="SELLER_EMAIL" VALUE=""/>
<COL NAME="SELLER_CITY" VALUE=""/>
<COL NAME="SELLER3_HOMEPHONE" VALUE=""/>
<COL NAME="SELLER4_FULLNAME" VALUE=""/>
<COL NAME="BUYER4_ADDRESS1" VALUE=""/>
<COL NAME="BUYER3_WORKPHONE" VALUE=""/>
<COL NAME="BUYER4_WORKPHONE" VALUE=""/>
</REC>
</DATA_FETCH>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment