python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
xmlstarlet is not working if name space is mentioned on the xml
I am running this command, and it works
xmlstarlet sel -t -v '/web-app/filter/filter-name/text()' ./sampleWeb.xml
Responds with
HeaderSecurityFilter
httpHeaderSecurity
httpHeaderSecurity
ContentSecuri...

Siddharth
Votes: 0
Answers: 1
Fix multiple lines of an xml file without id to separate
I have a large externally generated xml file that has some invalid characters, a backslash in my case. I know what to replace these fields with, so I can gedit a single file and fix it manually. Howe...

Orange Pukeko
Votes: 0
Answers: 1
How to wrap child elements in a parent tag using xmlstarlet
I want to wrap "table" elements with a new parent anywhere in the xml file. Am new using xmlstarlet.
Input:
<table>
</table>
<oldTable>
<table>
</table&...
Ofuuzo
Votes: 0
Answers: 1
How to do if check and perform operation with xmlstarlet
I have just one section of my XML that I want to perform some operations in the case that there is a field missing.
In the trans-unit there is a source tag as well as a target tag.
However there are p...
Joey Slomowitz
Votes: 0
Answers: 0