Sample Header Ad - 728x90

Parse XML to get node value in bash script?

30 votes
9 answers
192640 views
I would like to know how I can get the value of a node with the following paths: config/global/resources/default_setup/connection/host config/global/resources/default_setup/connection/username config/global/resources/default_setup/connection/password config/global/resources/default_setup/connection/dbname from the following XML: false 1 Also I want to assign that value to the variable for further use. Let me know your idea.
Asked by MagePsycho (525 rep)
Jul 17, 2013, 03:09 PM
Last activity: Jul 15, 2021, 06:37 PM