Wrox Programmer Forums
|
BOOK: Professional InfoPath 2003
This is the forum to discuss the Wrox book Professional InfoPath 2003 by Ian Williams, Pierre Greborio; ISBN: 9780764557132
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional InfoPath 2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 14th, 2004, 11:05 AM
Registered User
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Capture my data

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(&quot;lang2&quot;)/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(&quot;lang2&quot;)/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!

++

 
Old December 15th, 2004, 12:03 PM
Registered User
 
Join Date: Dec 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have try with a XPath expression but no:


Code:
<xsf:calculatedField target="/my:myFields/my:champ2" expression="xdXDocument:GetDOM(&quot;lang2&quot;)/AV/AVTIT/summary[position()= 2]" refresh="onChange">
that don't work

please help me






Similar Threads
Thread Thread Starter Forum Replies Last Post
capture data in datagridview stealthdevil Visual Basic 2005 Basics 0 January 23rd, 2008 06:49 PM
Capture and emaio formview control data nuttylife2 ASP.NET 1.x and 2.0 Application Design 0 August 1st, 2006 11:44 AM
capture check box data into mysql osemollie PHP How-To 0 January 30th, 2006 12:18 PM
capture data from lpt1 sal21 Excel VBA 0 November 8th, 2005 09:57 AM
Data capture apps for PDAs with VB.NET badgolfer VS.NET 2002/2003 2 September 3rd, 2005 08:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.