Hi Team,

I am new to shell script, i have knowledge of basic unix command but that doesn't seem working for my current task.
Please help me with following problem:
I have a xml file for e.g.

    <name>Sarah Bell</name>
    <address>400 Oracle Parkway
        Redwood Shores
    <telephone>650 506 7400</telephone>

Now i have to write shell script to read xml file line by line and basis on '<', extract first word go on till u get complete hierarchy like in above ex output should be "1.ShippingInstructions/name

Awk command is also not giving expected output

Awaiting for response.

So, what shell are you using? Bash I presume? Show your code, and we may help you. We DO NOT do your homework for you...