Hi!
I'm french and I don't speak very well english! I sorry for my mistake!
The things that I wan't to do is not in this book but i hope that you can help me.
I have to do a variable form i have about 200 different box and i have to generate about 90 different form.
The form had to be generated every time and give me the result in infopath.
With a web service I send a xml with my title and definition of the box. my xml is like this:
Code:
<AV>
<AVTIT><
scr>A17</scr>
<flg>0x41FFC1FF</flg>
<miniFlg>0x00000000</miniFlg>
<titnr>1.</titnr>
<text fr="">En-tête</text>
<summary>
<div xmlns="http://www.w3.org/1999/xhtml">
</div>
</summary>
<kurz fr=""></kurz>
</AVTIT>
<AVTIT>
....
</AVTIT>
....
</AV>
with a lot of <AVTIT> (about 200)
<text>is the title
<summary> is the box (rich text box)
I link my xml with Infopath
I can put my first box in mychamp1 but for the order i don't know how to do.
for capture my first box I use this markup in manifest.xsf:
Code:
<xsf:calculations>
<xsf:calculatedField target="/my:myFields/my:champ1" expression="xdXDocument:GetDOM("lang2")/AV/AVTIT/summary" refresh="onChange"></xsf:calculatedField>
</xsf:calculations>
Do you know where I can do to capture the second element of <summary>?
Code:
<xsf:calculatedField target="/my:myFields/my:champ2" expression="xdXDocument:GetDOM("lang2")/AV/AVTIT/ summary" refresh="onChange">
</xsf:calculatedField>
What can I ADD in the summary syntax to the the other summary not only the first??
Thanks for your answer! I hope that you understand what I mean!
++