greycat 1144877086 learn Some people, when confronted with a problem, think, "I know! I use XML." Now they have two problems. greycat 1144877097 forget greycat 1144877104 learn Some people, when confronted with a problem, think, "I know! I'll use XML." Now they have two problems. greycat 1189182436 forget greycat 1189182502 learn You can't realistically parse XML in a bash script using sed, grep, cut, awk, or parameter expansion. XML has dedicated libraries, which you need. Try using a tool like xslt(?) or perl's XML modules. greycat 1189182598 forget greycat 1189182607 learn You can't realistically parse XML in a bash script using sed, grep, cut, awk, or parameter expansion. XML has dedicated libraries, which you need. Try using a tool like xmlstarlet, or perl's XML modules. kojiro 1189182637 forget kojiro 1189182690 learn You can't realistically parse XML in a bash script using sed, grep, cut, awk or parameter expansion. XML has dedicated libraries that you need. Try using a tool like xmlstarlet, perl's XML modules, or xslt. Join #xml. lhunath 1195564330 forget lhunath 1195564871 learn You can't realistically parse XML using Bash or utilities such as grep, sed or cut. Considder migrating to a language that has libraries for this or take a look at XSLT and XPath (See the XML-XPath package). igli 1207691724 forget igli 1207691772 learn You can't parse XML only with Bash or utilities such as grep, sed or cut. http://xmlstar.sourceforge.net/ ferret 1207824097 forget ferret 1207824180 learn You can't parse XML only with Bash or utilities such as grep, sed or cut. Try using tidy+(xmlstarlet|xmlgawk|xpath). lhunath 1208685233 forget lhunath 1208685294 learn You can't realistically parse XML with bash or line-based tools like grep/sed/cut. Try xmlstarlet|xmlgawk|xpath or switch to another language. kojiro 1229879063 forget kojiro 1229879104 learn You can't realistically parse XML with bash or line-based tools like grep/sed/cut. Try xmlstarlet|xmlgawk|xsltproc|xmllint or switch to another language. greycat 1231879357 forget greycat 1231879395 learn You can't realistically parse XML with base or line-based tools like grep/sed/cut. Try xmlstartlet, xmlgawk, xsltproc, xmllint, or switch to another language. Ask channel #xml for more possibilities. greycat 1233242196 forget greycat 1233242201 learn You can't realistically parse XML with bash or with line-based tools like grep/sed/cut. Try xmlstartlet, xmlgawk, xsltproc, xmllint, or switch to another language. Ask channel #xml for more possibilities. kojiro 1235140314 forget kojiro 1235140332 learn You can't realistically parse XML with bash or with line-based tools like grep/sed/cut. Try xmlstarlet, xmlgawk, xsltproc, xmllint, or switch to another language. Ask channel #xml for more possibilities. greycat 1237926802 forget greycat 1237926808 learn #redirect html prince_jammys 1262806922 forget prince_jammys 1262806935 learn You can't realistically parse tag-based markup languages like HTML and XML using Bash or utilities such as grep, sed or cut. If you just want to dump/render HTML, see (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, see tidy+(xmlstarlet|xmlgawk|xpath), or learn xslt. Ask #xml and #html for more help. greycat 1262807233 forget greycat 1262807240 learn #redirect html lhunath 1333696439 forget lhunath 1333696652 learn You can't realistically parse tag-based markup languages like HTML or XML using Bash, grep, sed, cut, etc. If you just want to dump/render HTML, try (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, try tidy(HTML) + xmlstarlet|xmlgawk|xpath|xml2(XML) or learn XSLT(try xsltproc). Ask #xml or #html for help. http://www.codinghorror.com/blog/archives/001311.html e36freak 1367618819 forget e36freak 1367618824 learn #redirect html lhunath 1381870214 forget lhunath 1381870217 learn You can't realistically parse tag-based markup languages like HTML or XML using Bash, grep, sed, cut, etc. If you just want to dump/render HTML, try (links|links2|lynx|w3m) -dump, html2text, vilistextum. For parsing out pieces of data, try tidy(HTML) + xmlstarlet|xmlgawk|xpath|xml2(XML) or learn XSLT(try xsltproc). Ask #xml or #html for help. http://www.codinghorror.com/blog/archives/001311.html lhunath 1381870240 forget lhunath 1381870405 learn You can't realistically parse tag-based markup languages like HTML or XML using Bash, grep, sed, cut, etc. Look into xmlstarlet|xmlgawk|xpath|xml2(XML) or learn XSLT(try xsltproc). Ask #xml for more help, this is not a #bash question. lhunath 1382017131 forget lhunath 1382017136 learn You can't parse structured languages like HTML or XML using bash, grep, sed, cut, etc. Look into xmlstarlet|xmlgawk|xpath|xsltproc. Eg. xmlstarlet sel -t -v '//person[@name="bob"]/salary' <<< '70000' -- Ask #xml for XPATH/XSLT help, this is not a #bash question. lhunath 1382018784 forget lhunath 1382018863 learn You can't parse structured languages like HTML or XML using bash, grep, sed, cut, etc. Look into xmllint|xmlstarlet|xmlgawk|xpath|xsltproc. Eg. xmllint --xpath '//person[@name="bob"]/salary/text()' - <<< '70000' -- Ask #xml for XPath/XSLT help, that is not a #bash question. lhunath 1382018890 forget lhunath 1382018931 learn You can't parse structured languages like HTML or XML using bash, grep, sed, cut, etc. Look into xmllint, xmlstarlet, xpath, xsltproc, ... Eg. xmllint --xpath '//person[@name="bob"]/salary/text()' - <<< '70000' -- Ask #xml for XPath/XSLT help, that is not a #bash question. ormaaj 1663511068 forget ormaaj 1663739830 learn #redirect html