Hi All
I am very new to XML ... i have an xml file how do i parse it..
Its has a very simple structure :
I need to get the output in the following for/m:
For all records:
Get the fieldname,
Then check the Filetype
if input then ignore
if derived then retrieve the file name
if constant then get the constant value.
please help me out i need to parse this asap
Expectin a quick reply.. i need a optimized one as this records in the
xml will be hugs..
Thanks a lot
Regards
Hemlata
Fields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="C:\Courses\ConsoleA pplication2\XMLSchema1.xsd">
<FieldName AttrName="NPA">
<FieldType AttrName="Input">
<Input>
<InputValName></InputValName>
</Input>
</FieldType>
</FieldName>
<FieldName AttrName="NXX">
<FieldType AttrName="Input">
<Constant>
<ConstantName>0000</ConstantName>
</Constant>
</FieldType>
</FieldName>
<FieldName AttrName="CSAL_CRB_COMP_CD">
<FieldType AttrName="Derived">
<Derived>
<FileName>Logicmatrix</FileName>
</Derived>
</FieldType>
</FieldName>
<Fields>