Jump to content

how to verify objects against a list ?


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...