Parse xml file

HI Guys,

Input .XML

<xn:MeContext id="L0307">
                <xn:ManagedElement id="1">
                    <xn:VsDataContainer id="1">
                        <xn:attributes>
                            <xn:vsDataType>vsDataENodeBFunction</xn:vsDataType>
                            <xn:vsDataFormatVersion>Attributes.13.06</xn:vsDataFormatVersion>
                            <es:vsDataENodeBFunction/>
                        </xn:attributes>
                        <xn:VsDataContainer id="L0307_1">
                            <xn:attributes>
                                <xn:vsDataType>vsDataCellFDD</xn:vsDataType>
                                <xn:vsDataFormatVersion>Attributes.13.06</xn:vsDataFormatVersion>
                                <es:vsDataCellFDD/>
                            </xn:attributes>
                            <xn:VsDataContainer id="2000">
                                <xn:attributes>
                                    <xn:vsDataType>vsDataERelation</xn:vsDataType>
                                    <xn:vsDataFormatVersion>EricssonSpecificAttributes.13.06</xn:vsDataFormatVersion>
                                    <es:vsDataERelation/>
                                </xn:attributes>
                                <xn:VsDataContainer id="310410-510105-22">
                                    <xn:attributes>
                                    <xn:vsDataType>vsDataECellRelation</xn:vsDataType>
                                    <xn:vsDataFormatVersion>EricssonSpecificAttributes.13.06</xn:vsDataFormatVersion>
                                    <es:vsDataECellRelation>
                                    <es:cellIndividualOffsetEUtran>0</es:cellIndividualOffsetEUtran>
                                    <es:isRemoveAllowed>true</es:isRemoveAllowed>
                                    <es:isHoAllowed>true</es:isHoAllowed>
				    <es:loadBalancing>0</es:loadBalancing>
                                    </es:vsDataECellRelation>
                                    </xn:attributes>
				    <xn:VsDataContainer id="310410-510105-23">
                                    <xn:attributes>
                                    <xn:vsDataType>vsDataECellRelation</xn:vsDataType>
                                    <xn:vsDataFormatVersion>EricssonSpecificAttributes.13.06</xn:vsDataFormatVersion>
                                    <es:vsDataECellRelation>
                                    <es:cellIndividualOffsetEUtran>0</es:cellIndividualOffsetEUtran>
                                    <es:isRemoveAllowed>true</es:isRemoveAllowed>
                                    <es:isHoAllowed>true</es:isHoAllowed>
                                    <es:loadBalancing>0</es:loadBalancing>
                                    </es:vsDataECellRelation>
                                    </xn:attributes>
                                    </xn:VsDataContainer>
	

Need Output :

Nd	Pd	Feq	Tr	isRemoveAllowed
L0307	L0307_1	2000	310410-510105-22	TRUE
L0307	L0307_1	2000	310410-510105-22	TRUE

I have below commnad but i will not work for sub tree:

nawk -F'[\"\>\<]' 'BEGIN{print "Test"} /MeContext id/{a=$3} /CellFDD/{a=$3}/isRemoveAllowed/{print a,b,$3}'

I'm sorry to say this, but your XML doesn't appear to be well-formed.

Also I don't see any correlation between your required output and your XML data.

I suppose you are only posting a portion of your input file, correct?
I have difficulty understanding the logic behind the output that you seek. For example, where are you getting the Feq values from? Is it the id of one of the VsDataContainers?
Do you need to use awk? There are so many XML parsers written already, for example you could have a look at The CPAN Search Site - search.cpan.org

If this is onetime thing, open the xml (which is complete has no errors) using MS excel. It has got an inbuilt parser which will open the xml as a table and you can view whatever fields you want in there in a tabular form.
If you want help to write a code, please post the complete xml file.