Unique Options in a List - InfoPath Dev
in

InfoPath Dev

Unique Options in a List

Last post 06-20-2006 02:46 AM by nukkumatti. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-20-2006 02:00 AM

    Unique Options in a List

    Hi all,

    sorry I know that this has been discussed already but somehow I can't get it work. I created a Repeating Cascading List from a Hierarchical Data Source following the tutorial. My lists are loaded from a Secondary Data Source (.XML file) and everything works fine (e.g. filters, clearing to avoid data crossover). The only thing left is to get rid of the duplicated data in the lists. The structure of my secondary source is like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <Combinations>
    <machine value = "G">
    <cav value = "2">
    <pitch value = "200"/>
    </cav>
    <options value = "z-to-wait"/>
    <options value = "Cycle Compression"/>
    <options value = "OPD"/>
    <options value = "Cool JET"/>
    </machine>
    <machine value = "G">
    <cav value = "4">
    <pitch value = "90"/>
    </cav>
    <options value = "z-to-wait"/>
    <options value = "Cycle Compression"/>
    <options value = "OPD"/>
    <options value = "Cool JET"/>
    </machine>
    </Combinations>

    Propably I just have some trouble with the xPath which I have to use for the Expression as I don't exactly know how to set it when the list values come from secondary data source.
    Some advice ? Thx !
    Listen to Motörhead cos they play Rock'n Roll :)
  • 06-20-2006 02:46 AM In reply to

    Re: Unique Options in a List

    Ok,

    problem is solved. It was not about the xPath, my xml file was set up incorrectly. Now everything is ok.
    Thx anyway.
    Listen to Motörhead cos they play Rock'n Roll :)
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.