XML Parsing

Girish girish.cfc at gmail.com
Tue Feb 24 23:50:20 EST 2009


Hello,

I have a xml file which is as follows:

    <pids>
        <Parameter_Class>
            <Parameter Id="pid_031605_093137_283">
                <Identifier>$0000</Identifier>
                <Type>PID</Type>
                <Signal><![CDATA[Parameter Identifiers Supported - $01
to $20]]></Signal>
                <Description><![CDATA[This PID indicates which
legislated PIDs]]></Description>
                 ..............
                 ...............

Can anyone please tell me how to get content of <Signal> tag.. that
is, how to extract the data "![CDATA[Parameter Identifiers Supported -
$01 to $20]]"

Thanks,
Girish...



More information about the Python-list mailing list