xpath problem with dropdown list - InfoPath Dev
in

InfoPath Dev

xpath problem with dropdown list

Last post 08-30-2006 08:27 AM by Mancha. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-30-2006 08:27 AM

    xpath problem with dropdown list

    I have a xml structure like this:


    <my:myFields>
    <my:Settings>
    <my:MR_Group>
    <my:MR_ID>
    <my:MR_Namespace>nsp1</my:MR_Namespace>
    <my:MR_Name>name1</my:MR_Name>
    </my:MR_ID>
    <my:MR_ID>
    <my:MR_Namespace>nsp2</my:MR_Namespace>
    <my:MR_Name>name2</my:MR_Name>
    </my:MR_ID>
    <my:MR_ID>
    <my:MR_Namespace>nsp3</my:MR_Namespace>
    <my:MR_Name>name3</my:MR_Name>
    </my:MR_ID>
    </my:MR_Group>
    </my:Settings>

    <my:Context>
    <my:ContextLevel>
    <my:ContextField>NameSpace</my:ContextField>
    <my:MatchValue></my:MatchValue>
    </my:ContextLevel>
    <my:ContextLevel>
    <my:ContextField>Name</my:ContextField>
    <my:MatchValue></my:MatchValue>
    </my:ContextLevel>
    </my:Context>
    </my:myFields>


    ContextLevel is a repeating section. There are two default Values if I add a new ContextLevel element.
    The first default value in ContextField[1] ist NameSpace. The appendant MatchValue[1] should be a
    link to the datasource MR_Namespace in the template and it has to be a dropdown list with
    all MR_Namespace datas.

    And the second default value in ContextField[2] ist Name. This appendant MatchValue[2] should be a
    link to the datasource MR_Name in the template but not the first default value of MatchValue.
    It is also a dropdown list with all MR_Name datas.

    At the moment my solution is that I can link all namespaces OR all names to both MatchValue tags
    but not namespaces in MatchValue[1] and names in MatchValue[2].

    I hope you will understand my problem and anybody can help me.
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.