I am so very new with all this..........
We have an web based application that references data within XML data Island to populate pull down menus.
I need to be able to select data from within data island 1 - (Customers) based on a value within data island 2 - (Activities).
Data Island 1 - Activities
<XML ID="xmlAct">
<?xml version="1.0"?>
<activities>
<primary id="1" displaycode="Absence" customer="0" serial="0" bu="0" datevalidation="0">
<secondary activityid="121" lieutime="0">Bank Hol</secondary><secondary activityid="122" lieutime="0">Holiday</secondary>
<secondary activityid="126" lieutime="-1">Lieu</secondary>
</primary>
<primary id="2" displaycode="Admin" customer="0" serial="0" bu="0" datevalidation="0">
<secondary activityid="118" lieutime="0">Admin</secondary>
<secondary activityid="120" lieutime="0">Admin/Idle</secondary>
<secondary activityid="257" lieutime="0">BU Sfty</secondary>
<secondary activityid="426" lieutime="0">Int Mtg</secondary>
</primary>
Data Island 2 - Customers
<XML ID="xmlCust">
<?xml version="1.0"?>
<customers><customer id="12345" name="ABC">
<machine MachType="BB.123" delivery="36608" warrstart="36731" warrstartgap="36761" warrexpiry="37095" warrexpirygap="37125" syshandoff="36731" accept="36731">AA.12345</machine>
<machine MachType="AA.123" delivery="36670" warrstart="36845" warrstartgap="36875" warrexpiry="37210" warrexpirygap="37240" syshandoff="36845" accept="36845">AA.12341</machine>
<machine MachType="AA.321" delivery="36675" warrstart="36814" warrstartgap="36844" warrexpiry="37179" warrexpirygap="37209" syshandoff="36814" accept="36814">AA.12342</machine>
</customer>
</customers>
Problem
I need to say where id = 1 within xmlAct then only select attributes within xmlcust that have a MachType value of '*.123'
If I have been at all vague (which I know I have been but thats because I haven't got a clue what I'm talking about then please let me know)
This has now become an urgent issue and I desperately need some help.
Thanks ever so much
We have an web based application that references data within XML data Island to populate pull down menus.
I need to be able to select data from within data island 1 - (Customers) based on a value within data island 2 - (Activities).
Data Island 1 - Activities
<XML ID="xmlAct">
<?xml version="1.0"?>
<activities>
<primary id="1" displaycode="Absence" customer="0" serial="0" bu="0" datevalidation="0">
<secondary activityid="121" lieutime="0">Bank Hol</secondary><secondary activityid="122" lieutime="0">Holiday</secondary>
<secondary activityid="126" lieutime="-1">Lieu</secondary>
</primary>
<primary id="2" displaycode="Admin" customer="0" serial="0" bu="0" datevalidation="0">
<secondary activityid="118" lieutime="0">Admin</secondary>
<secondary activityid="120" lieutime="0">Admin/Idle</secondary>
<secondary activityid="257" lieutime="0">BU Sfty</secondary>
<secondary activityid="426" lieutime="0">Int Mtg</secondary>
</primary>
Data Island 2 - Customers
<XML ID="xmlCust">
<?xml version="1.0"?>
<customers><customer id="12345" name="ABC">
<machine MachType="BB.123" delivery="36608" warrstart="36731" warrstartgap="36761" warrexpiry="37095" warrexpirygap="37125" syshandoff="36731" accept="36731">AA.12345</machine>
<machine MachType="AA.123" delivery="36670" warrstart="36845" warrstartgap="36875" warrexpiry="37210" warrexpirygap="37240" syshandoff="36845" accept="36845">AA.12341</machine>
<machine MachType="AA.321" delivery="36675" warrstart="36814" warrstartgap="36844" warrexpiry="37179" warrexpirygap="37209" syshandoff="36814" accept="36814">AA.12342</machine>
</customer>
</customers>
Problem
I need to say where id = 1 within xmlAct then only select attributes within xmlcust that have a MachType value of '*.123'
If I have been at all vague (which I know I have been but thats because I haven't got a clue what I'm talking about then please let me know)
This has now become an urgent issue and I desperately need some help.
Thanks ever so much