Hi

how can i filter some elements in a XmlEntry??

This is my XmlEntry (only a snapshot):

<xml-fragment xmlns:xsi="http://whatever"; xmlns:xtce="http://something";>
<SequenceContainer name="default_Container" shortDescription="This is a default container">
   <EntryList>
     <ParameterRefEntry parameterRef="parameterOne">
     </ParameterRefEntry>
   </EntryList>
 </SequenceContainer>
 <SequenceContainer name="ContainerOne" shortDescription="Packet one...">
   <EntryList>
     <ParameterRefEntry parameterRef="parameterTwo">
       <LocationInContainerInBits>
         <FixedValue>129<FixedValue>
       </LocationInContainerInBits>
     </ParameterRefEntry>
     <ParameterRefEntry parameterRef="parameterThree">
       <LocationInContainerInBits>
         <FixedValue>132<FixedValue>
       </LocationInContainerInBits>
     </ParameterRefEntry>
   </EntryList>
 </SequenceContainer>
 <SequenceContainer name="ContainerTwo" shortDescription="Packet two...">
   <EntryList>
     <ParameterRefEntry parameterRef="parameterFour">
     </ParameterRefEntry>
     <ParameterRefEntry parameterRef="parameterFive">
     </ParameterRefEntry>
   </EntryList>
 </SequenceContainer>
</xml-fragment>

I use this to build a XmlTree. My Problem is that i need only "ContainerOne" and "ContainerTwo". The complete xml-file contains many more container. I need something to ignore all the container which have the word "default" in the name.

Is there a way to do this??

Thanks.

Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to