M
MWPais
Hi,
I am trying to retrieve data from a repeating table that is bound to a data
connection.
When I look at my data source in the task pane I see the following:
-myFields
-dataFields
-droduct_List
roductCode
escription
I need my script to return the ProductCode and Description.
I am trying to use XDocument.DOM.selectSingleNode to extract the data but I
am having trouble formatting the xpath string for the retrieval. Below is a
line from my script:
var myProductCode =
XDocument.DOM.selectSingleNode("/my:myFields/my:dataFields/myroduct_List[position()]");
If anyone can correct this line I would greatly appreciate it. Thanks.
I am trying to retrieve data from a repeating table that is bound to a data
connection.
When I look at my data source in the task pane I see the following:
-myFields
-dataFields
-droduct_List
roductCode
escription
I need my script to return the ProductCode and Description.
I am trying to use XDocument.DOM.selectSingleNode to extract the data but I
am having trouble formatting the xpath string for the retrieval. Below is a
line from my script:
var myProductCode =
XDocument.DOM.selectSingleNode("/my:myFields/my:dataFields/myroduct_List[position()]");
If anyone can correct this line I would greatly appreciate it. Thanks.