Hi,
I'm new in orbeon. I've tried to create dynamic list for Expedition / Site / Hole, using temporare instances Expedition_Elements, Site_Elements and Hole_Elements. List of Expedition / Site / Hole should depend on what you are selecting at Programm / Expedition / Site. It works fine if only one ExpeditionItem is required. Trying first with only one ExpeditionItem to see how it works. By repeating ExpeditionItem, i have problem with dependencies of them, because i have only one Expedition_Elements, one Site_Elements and one Hole_Elements, but as many ExpeditionItems as users need. What I want, so many instances of Expedition_Elements, Site_Elements and Hole_Elements as many ExpeditionItems, once "Add ExpeditionItem" is clicked? do you have any idea how to solve it? Any help will be greatly appreciated. best regards, van khanh http://web-intern.awi.de:8080/orbeon/test/ |
Administrator
|
On Jan 18, 2008 12:02 AM, Van Khanh <[hidden email]> wrote:
> http://web-intern.awi.de:8080/orbeon/test/ > http://web-intern.awi.de:8080/orbeon/test/ I see the example running on your site and see the problem you are talking about. Could you also attach the code of the example (if possible making sure that it run in the XForms sandbox)? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Alex,
Many thanks for your answer, the code is attached and it runs also in Xforms Sandbox and has the same problem. regards, khanh Alessandro Vernet schrieb: > On Jan 18, 2008 12:02 AM, Van Khanh <[hidden email]> wrote: > >> http://web-intern.awi.de:8080/orbeon/test/ >> http://web-intern.awi.de:8080/orbeon/test/ >> > > I see the example running on your site and see the problem you are > talking about. Could you also attach the code of the example (if > possible making sure that it run in the XForms sandbox)? > > Alex > Dipl. -Inf. (FH) Van Khanh Werner Alfred Wegener Institute for Polar and Marine Research Am Handelshafen 12, D-27570 Bremerhaven Email: [hidden email] Web: http://www.awi.de/People/show?vwilts Tel.: +49(471)-4831-1501 Fax: +49(471)-4831-1590 -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws test.xhtml (19K) Download Attachment |
Administrator
|
On Jan 21, 2008 12:34 AM, Van Khanh Werner <[hidden email]> wrote:
> Many thanks for your answer, the code is attached and it runs also in > Xforms Sandbox and has the same problem. Can you get an instance for all the programs, all the expeditions, all the sites, all the holes? That would be an XML document with 4 levels of hierarchy, that would not change as you interact with the page. Assuming you have this document, all the itemset will be bound to this instance, with an expression that depends on the what is selected on the "same line". I.e. itemset for Site would look like instance('programs')/program[@id = xxforms:repeat-current()/program]/expedition[@id = xxforms:repeat-current()/program]/site. Does this make sense? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Alex,
Genial idea. I've tried now with a dummy xml file and it works fine. Many thanks. But I have now a small problem. Because lists for hole is now still empty, so their appearance are so courious now, see http://web-intern.awi.de:8080/orbeon/test/ how can i escape from such empty list, i. e. for hole? something like <xforms:itemset nodeset="instance('programs')/program[@id = xxforms:repeat-current()/program]/expedition[@id = xxforms:repeat-current()/expedition]/site[@id = xxforms:repeat-current()/site]/hole"> *if @id!='' then* <xforms:label ref="@id"/> <xforms:value ref="@id"/> *else do nothing* </xforms:itemset> should i use hier xsl? and how? Code is attached and thanks in advance. best regards, khanh Alessandro Vernet schrieb: > On Jan 21, 2008 12:34 AM, Van Khanh Werner <[hidden email]> wrote: > >> Many thanks for your answer, the code is attached and it runs also in >> Xforms Sandbox and has the same problem. >> > > Can you get an instance for all the programs, all the expeditions, all > the sites, all the holes? That would be an XML document with 4 levels > of hierarchy, that would not change as you interact with the page. > Assuming you have this document, all the itemset will be bound to this > instance, with an expression that depends on the what is selected on > the "same line". I.e. itemset for Site would look like > instance('programs')/program[@id = > xxforms:repeat-current()/program]/expedition[@id = > xxforms:repeat-current()/program]/site. Does this make sense? > > Alex > <programs> <program id="DSDP"> <expedition id="1"> <site id="1"> <hole id=""/> </site> <site id="2"> <hole id=""/> </site> <site id="3"> <hole id=""/> </site> <site id="4"> <hole id=""/> </site> <site id="5"> <hole id=""/> </site> <site id="6"> <hole id=""/> </site> <site id="7"> <hole id=""/> </site> </expedition> <expedition id="2"> <site id="8"> <hole id=""/> </site> <site id="9"> <hole id=""/> </site> <site id="10"> <hole id=""/> </site> <site id="11"> <hole id=""/> </site> <site id="12"> <hole id=""/> </site> </expedition> <expedition id="3"> <site id="13"> <hole id=""/> </site> <site id="14"> <hole id=""/> </site> <site id="15"> <hole id=""/> </site> <site id="16"> <hole id=""/> </site> <site id="17"> <hole id=""/> </site> <site id="18"> <hole id=""/> </site> <site id="19"> <hole id=""/> </site> <site id="20"> <hole id=""/> </site> <site id="21"> <hole id=""/> </site> <site id="22"> <hole id=""/> </site> </expedition> <expedition id="4"> <site id="23"> <hole id=""/> </site> <site id="24"> <hole id=""/> </site> <site id="25"> <hole id=""/> </site> <site id="26"> <hole id=""/> </site> <site id="27"> <hole id=""/> </site> <site id="28"> <hole id=""/> </site> <site id="29"> <hole id=""/> </site> <site id="30"> <hole id=""/> </site> <site id="31"> <hole id=""/> </site> </expedition> <expedition id="5"> <site id="32"> <hole id=""/> </site> <site id="33"> <hole id=""/> </site> <site id="34"> <hole id=""/> </site> <site id="35"> <hole id=""/> </site> <site id="36"> <hole id=""/> </site> <site id="37"> <hole id=""/> </site> <site id="38"> <hole id=""/> </site> <site id="39"> <hole id=""/> </site> <site id="40"> <hole id=""/> </site> <site id="41"> <hole id=""/> </site> <site id="42"> <hole id=""/> </site> <site id="43"> <hole id=""/> </site> </expedition> <expedition id="6"> <site id="44"> <hole id=""/> </site> <site id="45"> <hole id=""/> </site> <site id="46"> <hole id=""/> </site> <site id="47"> <hole id=""/> </site> <site id="48"> <hole id=""/> </site> <site id="49"> <hole id=""/> </site> <site id="50"> <hole id=""/> </site> <site id="51"> <hole id=""/> </site> <site id="52"> <hole id=""/> </site> <site id="53"> <hole id=""/> </site> <site id="54"> <hole id=""/> </site> <site id="55"> <hole id=""/> </site> <site id="56"> <hole id=""/> </site> <site id="57"> <hole id=""/> </site> <site id="58"> <hole id=""/> </site> <site id="59"> <hole id=""/> </site> <site id="60"> <hole id=""/> </site> </expedition> <expedition id="7"> <site id="61"> <hole id=""/> </site> <site id="62"> <hole id=""/> </site> <site id="63"> <hole id=""/> </site> <site id="64"> <hole id=""/> </site> <site id="65"> <hole id=""/> </site> <site id="66"> <hole id=""/> </site> <site id="67"> <hole id=""/> </site> </expedition> <expedition id="8"> <site id="68"> <hole id=""/> </site> <site id="69"> <hole id=""/> </site> <site id="70"> <hole id=""/> </site> <site id="71"> <hole id=""/> </site> <site id="72"> <hole id=""/> </site> <site id="73"> <hole id=""/> </site> <site id="74"> <hole id=""/> </site> <site id="75"> <hole id=""/> </site> </expedition> <expedition id="9"> <site id="76"> <hole id=""/> </site> <site id="77"> <hole id=""/> </site> <site id="78"> <hole id=""/> </site> <site id="79"> <hole id=""/> </site> <site id="80"> <hole id=""/> </site> <site id="81"> <hole id=""/> </site> <site id="82"> <hole id=""/> </site> <site id="83"> <hole id=""/> </site> <site id="84"> <hole id=""/> </site> </expedition> <expedition id="10"> <site id="85"> <hole id=""/> </site> <site id="86"> <hole id=""/> </site> <site id="87"> <hole id=""/> </site> <site id="88"> <hole id=""/> </site> <site id="89"> <hole id=""/> </site> <site id="90"> <hole id=""/> </site> <site id="91"> <hole id=""/> </site> <site id="92"> <hole id=""/> </site> <site id="93"> <hole id=""/> </site> <site id="94"> <hole id=""/> </site> <site id="95"> <hole id=""/> </site> <site id="96"> <hole id=""/> </site> <site id="97"> <hole id=""/> </site> </expedition> <expedition id="11"> <site id="98"> <hole id=""/> </site> <site id="99"> <hole id=""/> </site> <site id="100"> <hole id=""/> </site> <site id="101"> <hole id=""/> </site> <site id="102"> <hole id=""/> </site> <site id="103"> <hole id=""/> </site> <site id="104"> <hole id=""/> </site> <site id="105"> <hole id=""/> </site> <site id="106"> <hole id=""/> </site> <site id="107"> <hole id=""/> </site> <site id="108"> <hole id=""/> </site> </expedition> <expedition id="12"> <site id="111"> <hole id=""/> </site> <site id="112"> <hole id=""/> </site> <site id="113"> <hole id=""/> </site> <site id="114"> <hole id=""/> </site> <site id="115"> <hole id=""/> </site> <site id="116"> <hole id=""/> </site> <site id="117"> <hole id=""/> </site> <site id="118"> <hole id=""/> </site> <site id="119"> <hole id=""/> </site> </expedition> </program> <program id="ODP"> <expedition id="100"> <site id="625"> <hole id=""/> </site> </expedition> <expedition id="101"> <site id="626"> <hole id=""/> </site> <site id="627"> <hole id=""/> </site> <site id="628"> <hole id=""/> </site> <site id="629"> <hole id=""/> </site> <site id="630"> <hole id=""/> </site> <site id="631"> <hole id=""/> </site> <site id="632"> <hole id=""/> </site> <site id="633"> <hole id=""/> </site> <site id="634"> <hole id=""/> </site> <site id="635"> <hole id=""/> </site> <site id="636"> <hole id=""/> </site> </expedition> <expedition id="102"> <site id="418"> <hole id=""/> </site> </expedition> <expedition id="103"> <site id="637"> <hole id=""/> </site> <site id="638"> <hole id=""/> </site> <site id="639"> <hole id=""/> </site> <site id="640"> <hole id=""/> </site> <site id="641"> <hole id=""/> </site> </expedition> <expedition id="104"> <site id="642"> <hole id=""/> </site> <site id="643"> <hole id=""/> </site> <site id="644"> <hole id=""/> </site> </expedition> <expedition id="105"> <site id="645"> <hole id=""/> </site> <site id="646"> <hole id=""/> </site> <site id="647"> <hole id=""/> </site> </expedition> <expedition id="106"> <site id="648"> <hole id=""/> </site> <site id="649"> <hole id=""/> </site> </expedition> <expedition id="107"> <site id="650"> <hole id=""/> </site> <site id="651"> <hole id=""/> </site> <site id="652"> <hole id=""/> </site> <site id="653"> <hole id=""/> </site> <site id="654"> <hole id=""/> </site> <site id="655"> <hole id=""/> </site> <site id="656"> <hole id=""/> </site> </expedition> <expedition id="108"> <site id="657"> <hole id=""/> </site> <site id="658"> <hole id=""/> </site> <site id="659"> <hole id=""/> </site> <site id="660"> <hole id=""/> </site> <site id="661"> <hole id=""/> </site> <site id="662"> <hole id=""/> </site> <site id="663"> <hole id=""/> </site> <site id="664"> <hole id=""/> </site> <site id="665"> <hole id=""/> </site> <site id="666"> <hole id=""/> </site> <site id="667"> <hole id=""/> </site> <site id="668"> <hole id=""/> </site> </expedition> <expedition id="109"> <site id="648"> <hole id=""/> </site> <site id="669"> <hole id=""/> </site> <site id="670"> <hole id=""/> </site> </expedition> <expedition id="110"> <site id="671"> <hole id=""/> </site> <site id="672"> <hole id=""/> </site> <site id="673"> <hole id=""/> </site> <site id="674"> <hole id=""/> </site> <site id="675"> <hole id=""/> </site> <site id="676"> <hole id=""/> </site> </expedition> <expedition id="111"> <site id="504"> <hole id=""/> </site> <site id="677"> <hole id=""/> </site> <site id="678"> <hole id=""/> </site> </expedition> </program> <program id="IODP"> <expedition id="301"> <site id="U1301"> <hole id=""/> </site> </expedition> <expedition id="302"> <site id="M0001"> <hole id=""/> </site> <site id="M0002"> <hole id=""/> </site> <site id="M0003"> <hole id=""/> </site> <site id="M0004"> <hole id=""/> </site> </expedition> <expedition id="303"> <site id="U1302"> <hole id=""/> </site> <site id="U1303"> <hole id=""/> </site> <site id="U1304"> <hole id=""/> </site> <site id="U1305"> <hole id=""/> </site> <site id="U1306"> <hole id=""/> </site> <site id="U1307"> <hole id=""/> </site> <site id="U1308"> <hole id=""/> </site> </expedition> <expedition id="304"> <site id="U1309"> <hole id=""/> </site> <site id="U1310"> <hole id=""/> </site> <site id="U1311"> <hole id=""/> </site> </expedition> <expedition id="305"> <site id="U1309"> <hole id=""/> </site> </expedition> <expedition id="306"> <site id="U1312"> <hole id=""/> </site> <site id="U1313"> <hole id=""/> </site> <site id="U1314"> <hole id=""/> </site> <site id="U1315"> <hole id=""/> </site> </expedition> <expedition id="307"> <site id="U1316"> <hole id=""/> </site> <site id="U1317"> <hole id=""/> </site> <site id="U1318"> <hole id=""/> </site> </expedition> <expedition id="308"> <site id="U1319"> <hole id=""/> </site> <site id="U1320"> <hole id=""/> </site> <site id="U1321"> <hole id=""/> </site> <site id="U1322"> <hole id=""/> </site> <site id="U1323"> <hole id=""/> </site> <site id="U1324"> <hole id=""/> </site> </expedition> <expedition id="309"> <site id="U1256"> <hole id=""/> </site> </expedition> <expedition id="310"> <site id="M0005"> <hole id=""/> </site> <site id="M0006"> <hole id=""/> </site> <site id="M0007"> <hole id=""/> </site> <site id="M0008"> <hole id=""/> </site> <site id="M0009"> <hole id=""/> </site> <site id="M0010"> <hole id=""/> </site> <site id="M0011"> <hole id=""/> </site> <site id="M0012"> <hole id=""/> </site> <site id="M0013"> <hole id=""/> </site> <site id="M0014"> <hole id=""/> </site> <site id="M0015"> <hole id=""/> </site> <site id="M0016"> <hole id=""/> </site> <site id="M0017"> <hole id=""/> </site> <site id="M0018"> <hole id=""/> </site> <site id="M0019"> <hole id=""/> </site> <site id="M0020"> <hole id=""/> </site> <site id="M0021"> <hole id=""/> </site> <site id="M0022"> <hole id=""/> </site> <site id="M0023"> <hole id=""/> </site> <site id="M0024"> <hole id=""/> </site> <site id="M0025"> <hole id=""/> </site> <site id="M0026"> <hole id=""/> </site> </expedition> <expedition id="311"> <site id="U1325"> <hole id=""/> </site> <site id="U1326"> <hole id=""/> </site> <site id="U1327"> <hole id=""/> </site> <site id="U1328"> <hole id=""/> </site> <site id="U1329"> <hole id=""/> </site> </expedition> </program> </programs> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws test.xhtml (20K) Download Attachment |
I'm sorry, there is some mistake in test.xhtml
Hier are the correct test.xhtml and programs.xml regards, khanh Van Khanh Werner schrieb: > Hi Alex, > > Genial idea. I've tried now with a dummy xml file and it works fine. > Many thanks. > > But I have now a small problem. Because lists for hole is now still > empty, so their appearance are so courious now, see > http://web-intern.awi.de:8080/orbeon/test/ > > how can i escape from such empty list, i. e. for hole? something like > > <xforms:itemset nodeset="instance('programs')/program[@id = > xxforms:repeat-current()/program]/expedition[@id = > xxforms:repeat-current()/expedition]/site[@id = > xxforms:repeat-current()/site]/hole"> > *if @id!='' then* > <xforms:label ref="@id"/> > <xforms:value ref="@id"/> > *else do nothing* > </xforms:itemset> > > should i use hier xsl? and how? > Code is attached and thanks in advance. > best regards, > khanh > > Alessandro Vernet schrieb: >> On Jan 21, 2008 12:34 AM, Van Khanh Werner <[hidden email]> >> wrote: >> >>> Many thanks for your answer, the code is attached and it runs also in >>> Xforms Sandbox and has the same problem. >>> >> >> Can you get an instance for all the programs, all the expeditions, all >> the sites, all the holes? That would be an XML document with 4 levels >> of hierarchy, that would not change as you interact with the page. >> Assuming you have this document, all the itemset will be bound to this >> instance, with an expression that depends on the what is selected on >> the "same line". I.e. itemset for Site would look like >> instance('programs')/program[@id = >> xxforms:repeat-current()/program]/expedition[@id = >> xxforms:repeat-current()/program]/site. Does this make sense? >> >> Alex >> Dipl. -Inf. (FH) Van Khanh Werner Alfred Wegener Institute for Polar and Marine Research Am Handelshafen 12, D-27570 Bremerhaven Email: [hidden email] Web: http://www.awi.de/People/show?vwilts Tel.: +49(471)-4831-1501 Fax: +49(471)-4831-1590 <programs> <program id="DSDP"> <expedition id="1"> <site id="1"> <hole id=""/> </site> <site id="2"> <hole id=""/> </site> <site id="3"> <hole id=""/> </site> <site id="4"> <hole id=""/> </site> <site id="5"> <hole id=""/> </site> <site id="6"> <hole id=""/> </site> <site id="7"> <hole id=""/> </site> </expedition> <expedition id="2"> <site id="8"> <hole id=""/> </site> <site id="9"> <hole id=""/> </site> <site id="10"> <hole id=""/> </site> <site id="11"> <hole id=""/> </site> <site id="12"> <hole id=""/> </site> </expedition> <expedition id="3"> <site id="13"> <hole id=""/> </site> <site id="14"> <hole id=""/> </site> <site id="15"> <hole id=""/> </site> <site id="16"> <hole id=""/> </site> <site id="17"> <hole id=""/> </site> <site id="18"> <hole id=""/> </site> <site id="19"> <hole id=""/> </site> <site id="20"> <hole id=""/> </site> <site id="21"> <hole id=""/> </site> <site id="22"> <hole id=""/> </site> </expedition> <expedition id="4"> <site id="23"> <hole id=""/> </site> <site id="24"> <hole id=""/> </site> <site id="25"> <hole id=""/> </site> <site id="26"> <hole id=""/> </site> <site id="27"> <hole id=""/> </site> <site id="28"> <hole id=""/> </site> <site id="29"> <hole id=""/> </site> <site id="30"> <hole id=""/> </site> <site id="31"> <hole id=""/> </site> </expedition> <expedition id="5"> <site id="32"> <hole id=""/> </site> <site id="33"> <hole id=""/> </site> <site id="34"> <hole id=""/> </site> <site id="35"> <hole id=""/> </site> <site id="36"> <hole id=""/> </site> <site id="37"> <hole id=""/> </site> <site id="38"> <hole id=""/> </site> <site id="39"> <hole id=""/> </site> <site id="40"> <hole id=""/> </site> <site id="41"> <hole id=""/> </site> <site id="42"> <hole id=""/> </site> <site id="43"> <hole id=""/> </site> </expedition> <expedition id="6"> <site id="44"> <hole id=""/> </site> <site id="45"> <hole id=""/> </site> <site id="46"> <hole id=""/> </site> <site id="47"> <hole id=""/> </site> <site id="48"> <hole id=""/> </site> <site id="49"> <hole id=""/> </site> <site id="50"> <hole id=""/> </site> <site id="51"> <hole id=""/> </site> <site id="52"> <hole id=""/> </site> <site id="53"> <hole id=""/> </site> <site id="54"> <hole id=""/> </site> <site id="55"> <hole id=""/> </site> <site id="56"> <hole id=""/> </site> <site id="57"> <hole id=""/> </site> <site id="58"> <hole id=""/> </site> <site id="59"> <hole id=""/> </site> <site id="60"> <hole id=""/> </site> </expedition> <expedition id="7"> <site id="61"> <hole id=""/> </site> <site id="62"> <hole id=""/> </site> <site id="63"> <hole id=""/> </site> <site id="64"> <hole id=""/> </site> <site id="65"> <hole id=""/> </site> <site id="66"> <hole id=""/> </site> <site id="67"> <hole id=""/> </site> </expedition> <expedition id="8"> <site id="68"> <hole id=""/> </site> <site id="69"> <hole id=""/> </site> <site id="70"> <hole id=""/> </site> <site id="71"> <hole id=""/> </site> <site id="72"> <hole id=""/> </site> <site id="73"> <hole id=""/> </site> <site id="74"> <hole id=""/> </site> <site id="75"> <hole id=""/> </site> </expedition> <expedition id="9"> <site id="76"> <hole id=""/> </site> <site id="77"> <hole id=""/> </site> <site id="78"> <hole id=""/> </site> <site id="79"> <hole id=""/> </site> <site id="80"> <hole id=""/> </site> <site id="81"> <hole id=""/> </site> <site id="82"> <hole id=""/> </site> <site id="83"> <hole id=""/> </site> <site id="84"> <hole id=""/> </site> </expedition> <expedition id="10"> <site id="85"> <hole id=""/> </site> <site id="86"> <hole id=""/> </site> <site id="87"> <hole id=""/> </site> <site id="88"> <hole id=""/> </site> <site id="89"> <hole id=""/> </site> <site id="90"> <hole id=""/> </site> <site id="91"> <hole id=""/> </site> <site id="92"> <hole id=""/> </site> <site id="93"> <hole id=""/> </site> <site id="94"> <hole id=""/> </site> <site id="95"> <hole id=""/> </site> <site id="96"> <hole id=""/> </site> <site id="97"> <hole id=""/> </site> </expedition> <expedition id="11"> <site id="98"> <hole id=""/> </site> <site id="99"> <hole id=""/> </site> <site id="100"> <hole id=""/> </site> <site id="101"> <hole id=""/> </site> <site id="102"> <hole id=""/> </site> <site id="103"> <hole id=""/> </site> <site id="104"> <hole id=""/> </site> <site id="105"> <hole id=""/> </site> <site id="106"> <hole id=""/> </site> <site id="107"> <hole id=""/> </site> <site id="108"> <hole id=""/> </site> </expedition> <expedition id="12"> <site id="111"> <hole id=""/> </site> <site id="112"> <hole id=""/> </site> <site id="113"> <hole id=""/> </site> <site id="114"> <hole id=""/> </site> <site id="115"> <hole id=""/> </site> <site id="116"> <hole id=""/> </site> <site id="117"> <hole id=""/> </site> <site id="118"> <hole id=""/> </site> <site id="119"> <hole id=""/> </site> </expedition> </program> <program id="ODP"> <expedition id="100"> <site id="625"> <hole id=""/> </site> </expedition> <expedition id="101"> <site id="626"> <hole id=""/> </site> <site id="627"> <hole id=""/> </site> <site id="628"> <hole id=""/> </site> <site id="629"> <hole id=""/> </site> <site id="630"> <hole id=""/> </site> <site id="631"> <hole id=""/> </site> <site id="632"> <hole id=""/> </site> <site id="633"> <hole id=""/> </site> <site id="634"> <hole id=""/> </site> <site id="635"> <hole id=""/> </site> <site id="636"> <hole id=""/> </site> </expedition> <expedition id="102"> <site id="418"> <hole id=""/> </site> </expedition> <expedition id="103"> <site id="637"> <hole id=""/> </site> <site id="638"> <hole id=""/> </site> <site id="639"> <hole id=""/> </site> <site id="640"> <hole id=""/> </site> <site id="641"> <hole id=""/> </site> </expedition> <expedition id="104"> <site id="642"> <hole id=""/> </site> <site id="643"> <hole id=""/> </site> <site id="644"> <hole id=""/> </site> </expedition> <expedition id="105"> <site id="645"> <hole id=""/> </site> <site id="646"> <hole id=""/> </site> <site id="647"> <hole id=""/> </site> </expedition> <expedition id="106"> <site id="648"> <hole id=""/> </site> <site id="649"> <hole id=""/> </site> </expedition> <expedition id="107"> <site id="650"> <hole id=""/> </site> <site id="651"> <hole id=""/> </site> <site id="652"> <hole id=""/> </site> <site id="653"> <hole id=""/> </site> <site id="654"> <hole id=""/> </site> <site id="655"> <hole id=""/> </site> <site id="656"> <hole id=""/> </site> </expedition> <expedition id="108"> <site id="657"> <hole id=""/> </site> <site id="658"> <hole id=""/> </site> <site id="659"> <hole id=""/> </site> <site id="660"> <hole id=""/> </site> <site id="661"> <hole id=""/> </site> <site id="662"> <hole id=""/> </site> <site id="663"> <hole id=""/> </site> <site id="664"> <hole id=""/> </site> <site id="665"> <hole id=""/> </site> <site id="666"> <hole id=""/> </site> <site id="667"> <hole id=""/> </site> <site id="668"> <hole id=""/> </site> </expedition> <expedition id="109"> <site id="648"> <hole id=""/> </site> <site id="669"> <hole id=""/> </site> <site id="670"> <hole id=""/> </site> </expedition> <expedition id="110"> <site id="671"> <hole id=""/> </site> <site id="672"> <hole id=""/> </site> <site id="673"> <hole id=""/> </site> <site id="674"> <hole id=""/> </site> <site id="675"> <hole id=""/> </site> <site id="676"> <hole id=""/> </site> </expedition> <expedition id="111"> <site id="504"> <hole id=""/> </site> <site id="677"> <hole id=""/> </site> <site id="678"> <hole id=""/> </site> </expedition> </program> <program id="IODP"> <expedition id="301"> <site id="U1301"> <hole id=""/> </site> </expedition> <expedition id="302"> <site id="M0001"> <hole id=""/> </site> <site id="M0002"> <hole id=""/> </site> <site id="M0003"> <hole id=""/> </site> <site id="M0004"> <hole id=""/> </site> </expedition> <expedition id="303"> <site id="U1302"> <hole id=""/> </site> <site id="U1303"> <hole id=""/> </site> <site id="U1304"> <hole id=""/> </site> <site id="U1305"> <hole id=""/> </site> <site id="U1306"> <hole id=""/> </site> <site id="U1307"> <hole id=""/> </site> <site id="U1308"> <hole id=""/> </site> </expedition> <expedition id="304"> <site id="U1309"> <hole id=""/> </site> <site id="U1310"> <hole id=""/> </site> <site id="U1311"> <hole id=""/> </site> </expedition> <expedition id="305"> <site id="U1309"> <hole id=""/> </site> </expedition> <expedition id="306"> <site id="U1312"> <hole id=""/> </site> <site id="U1313"> <hole id=""/> </site> <site id="U1314"> <hole id=""/> </site> <site id="U1315"> <hole id=""/> </site> </expedition> <expedition id="307"> <site id="U1316"> <hole id=""/> </site> <site id="U1317"> <hole id=""/> </site> <site id="U1318"> <hole id=""/> </site> </expedition> <expedition id="308"> <site id="U1319"> <hole id=""/> </site> <site id="U1320"> <hole id=""/> </site> <site id="U1321"> <hole id=""/> </site> <site id="U1322"> <hole id=""/> </site> <site id="U1323"> <hole id=""/> </site> <site id="U1324"> <hole id=""/> </site> </expedition> <expedition id="309"> <site id="U1256"> <hole id=""/> </site> </expedition> <expedition id="310"> <site id="M0005"> <hole id=""/> </site> <site id="M0006"> <hole id=""/> </site> <site id="M0007"> <hole id=""/> </site> <site id="M0008"> <hole id=""/> </site> <site id="M0009"> <hole id=""/> </site> <site id="M0010"> <hole id=""/> </site> <site id="M0011"> <hole id=""/> </site> <site id="M0012"> <hole id=""/> </site> <site id="M0013"> <hole id=""/> </site> <site id="M0014"> <hole id=""/> </site> <site id="M0015"> <hole id=""/> </site> <site id="M0016"> <hole id=""/> </site> <site id="M0017"> <hole id=""/> </site> <site id="M0018"> <hole id=""/> </site> <site id="M0019"> <hole id=""/> </site> <site id="M0020"> <hole id=""/> </site> <site id="M0021"> <hole id=""/> </site> <site id="M0022"> <hole id=""/> </site> <site id="M0023"> <hole id=""/> </site> <site id="M0024"> <hole id=""/> </site> <site id="M0025"> <hole id=""/> </site> <site id="M0026"> <hole id=""/> </site> </expedition> <expedition id="311"> <site id="U1325"> <hole id=""/> </site> <site id="U1326"> <hole id=""/> </site> <site id="U1327"> <hole id=""/> </site> <site id="U1328"> <hole id=""/> </site> <site id="U1329"> <hole id=""/> </site> </expedition> </program> </programs> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws test.xhtml (20K) Download Attachment |
Administrator
|
In reply to this post by Van Khanh
Khanh,
On Jan 22, 2008 9:20 AM, Van Khanh Werner <[hidden email]> wrote: > But I have now a small problem. Because lists for hole is now still > empty, so their appearance are so courious now, see > http://web-intern.awi.de:8080/orbeon/test/ > > how can i escape from such empty list, i. e. for hole? something like > > <xforms:itemset nodeset="instance('programs')/program[@id = > xxforms:repeat-current()/program]/expedition[@id = > xxforms:repeat-current()/expedition]/site[@id = > xxforms:repeat-current()/site]/hole"> way is just not to generate those elements when you initially create this data. Otherwise in the XPath expression you can write: .../home[@id != ''] Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi Alex,
Alessandro Vernet schrieb: > > You want to ignore the <hole> elements where id="". Is that right? correct > One > way is just not to generate those elements when you initially create > this data. Otherwise in the XPath expression you can write: > > .../home[@id != ''] > Perfect. That is what i'm looking for. Many thanks for your support. best regards, khanh -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |