Jump to content

how to verify objects against a list ?


immo_we

Recommended Posts

Hi I have a tree leaf with several objects referring to a different list how to verify them ? The list of objects <myElementList> <myelement ip="10.0.3.21" slot="1" port="1" > <switchPort id="6" port="35" /> </myelement> <myelement ip="10.0.3.21" slot="1" port="2" > <switchPort id="6" port="36" /> </myelement> </myElementList> The list of allowed SwitchPorts <switchList> <switch id="1" ip="10.3.3.34" /> <switch id="2" ip="10.3.3.35" /> <switch id="3" ip="10.3.3.36" /> <switch id="4" ip="10.3.3.37" /> <switch id="5" ip="10.3.3.38" /> <switch id="6" ip="10.3.3.39" /> </switchList> So how to verify via xsd path that every switchPort in the objectList referes to a switch in the Switchlist (ID=KEY) Immo

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...