Hoe can I use awk to extract the nos from the following xml
file. I want the output to look like:
staging: 8662578522
uat:86634422000
<!--staging-->
<if cond="session.telephone.dnis=='8662578522'">
<!--uat-->
<if cond="session.telephone.dnis=='86634422000'">
file. I want the output to look like:
staging: 8662578522
uat:86634422000
<!--staging-->
<if cond="session.telephone.dnis=='8662578522'">
<!--uat-->
<if cond="session.telephone.dnis=='86634422000'">