Hi Chris,
I understand - getting a handle on XPATH expressions takes a bit of time so
please give yourself that time!
One of the things that most folks have an issue with is the "namespace"
that needs to be referenced in your XPATH. For instance, when you are bound
to Access or SQL, the namespaces are typically "dfs" and "d" whereas when
you are bound to a web service, you will normally see "dfs" and "tns."
One of the ways you can determine this is to use the Expression Box
control. When you select this control, you will see the "fx" button -
simply click this button, click the Insert Field or Group button, navigate
to the field you need to reference, click OK and then click the "Edit
XPath" box - this will now show you the complete XPath including the
namespace information!
Now this is not a guaranteed solution 100% of the time but it will get you
where you need probably 90% of the time.
With regard to where to get help - I would suggest looking for a book that
is deep into XPATH expressions. These are not specific to InfoPath - they
are specific to XML so you can use this information outside of InfoPath as
well. In addition, the following should help as well:
InfoPath BLOG Site
http://blogs.msdn.com/infopath/
InfoPath Developer Site
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/ht
ml/odc_ancinfo.asp
InfoPath FAQ
http://www.microsoft.com/technet/prodtechnol/office/office2003/plan/inpthfaq
..mspx
InfoPath SDK
http://www.microsoft.com/downloads/details.aspx?FamilyId=351F0616-93AA-4FE8-
9238-D702F1BFBAB4&displaylang=en
InfoPath Technical FAQ
http://www.microsoft.com/technet/prodtechnol/office/office2003/plan/inpthfaq
..mspx#ECBAA
InfoPath Training
http://msdn.microsoft.com/office/understanding/infopath/toolsandcode/default
..aspx?pull=/library/en-us/odc_2003_ta/html/odc_landinfo03_tr.asp
MSDN XML DOM Documentation
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html
/e9da2722-7879-4e48-869c-7f16714e2824.asp
Xpath Sample Expressions
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html
/daa75346-ccd1-4033-9250-9b9f3ba5762c.asp
Best regards,
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.