A validator for XML files.

learn more… | top users | synonyms

2
votes
2answers
66 views

Strip attribute name from result set?

I have a HTML document that looks (when oversimplified) like this: <html> <body> <a href="...">...</a> <a href="...">...</a> <a href="...">...&...
0
votes
2answers
452 views

How to format xml attributes, not just elements

How do you format an XML document to make it easy to read element attributes? I have a xml based webservice that returns one or two elements, but with hundreds of attributes. As I'm doing development,...
0
votes
1answer
232 views

Parsing xml into array using xmllint

I have xml file with multiple <db> elements, I need to extract attributes from each node and do some work on them. IS it possible to load them to array, using ksh and xmllint ? This is what I ...
-1
votes
1answer
99 views

how can i fetch a value from a text which is an incomplete xml file and then store it in a variable

I am having an issue while formatting an incomplete XML file in to a proper tagged XML, so that I can easily fetch the XML value inside a tag from it. Output text is like this: Input parameters ...
2
votes
0answers
105 views

How to count nodes and get attribute value without using xpath

Currently I have a shell script like this: LOGIN=`curl 'https://www.ponta.jp/u/LWAS900/SLWAS900010.htm' -sS | grep '<input type="hidden" name\|<form\|</form'` for i in $(seq $(printf "$...
0
votes
0answers
59 views

Downgrade libxml2 on RedHat 6.7

In this case we have two servers with different version of RedHat: 6.6 and 6.7. The libxml2 version is: [root@Redhat_6.6 ~]$ rpm -qa |grep -i libxml libxml2-python-2.7.6-17.el6_6.1.x86_64 libxml2-2....
0
votes
0answers
75 views

How to get the version of xmllint installed?

When I run: $ xmllint --version xmllint: using libxml version 20706 But there is no such version http://www.xmlsoft.org/news.html I need to identify what version is in use according to homepage ...