Skip to content

Demonstrates code sample of xml parsing using ElementTree python library, working with the file systems

Notifications You must be signed in to change notification settings

farooqahmed-it/xml_keyword_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

XML Keyword Finder

Demonstrates code sample of xml parsing using ElementTree python library

Usage

Assumes python installed on the local system

Assumes file keywords.txt local to the project - Place keywords in the keywords.txt file, one keyword per line

Assumes promoData.xml in the specified schema, illustratig parsing of nested elements

Run

Alternatively can also be ru on repl.it platform

Visit https://repl.it/ Create free account if required

Copy main.py to the main.py in the browser editor

Create a new keywords.txt file or upload existing keywords.txt with keywords Create a new promoData.xml file or upload existing promoData.txt with sample xml

Press run

About

Demonstrates code sample of xml parsing using ElementTree python library, working with the file systems

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages