I can not figure this out. Listed below is the results from the xml
statement...
<?xml version="1.0"?>
<?mso-infoPathSolution initialView="View 1" productVersion="11.0.6565"
PIVersion="1.0.0.0"
href="file:///C:\Documents%20and%20Settings\gmonk\Local%20Settings\Application%20Data\Microsoft\InfoPath\Designer\500b178fec844896\manifest.xsf"
solutionVersion="1.0.0.644" ?>
<?mso-application progid="InfoPath.Document"?>
<dfs:myFields my:UserLookup="" my
ayPeriod=""
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns:q="
http://schemas.microsoft.com/office/infopath/2003/ado/queryFields"
xmlns:d="
http://schemas.microsoft.com/office/infopath/2003/ado/dataFields"
xmlns:dfs="
http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"
xmlns:tns="
http://tempuri.org/"
xmlns:mime="
http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tm="
http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soap="
http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/"
xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/"
xmlns:my="
http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-03-28T09:46:16"
xmlns:xd="
http://schemas.microsoft.com/office/infopath/2003" xml:lang="en-us"
xmlns:xdado="
http://schemas.microsoft.com/office/infopath/2003/adomapping">
<dfs:queryFields>
<q:tblTimeSheet TimeSheetID="" EmpID="" Date=""></q:tblTimeSheet>
<q:tblTimeSheetHours TimeSheetDetailID="" TimeSheetID="" Exempt=""
TotalHours="" HoursSunday="" HoursMonday="" HoursTuesday="" HoursWednesday=""
HoursThursday="" HoursFriday="" HoursSaturday="" HoursSunday1=""
HoursMonday1="" HoursTuesday1="" HoursWednesday1="" HoursThursday1=""
HoursFriday1="" HoursSaturday1="" TotalHours1=""></q:tblTimeSheetHours>
<q:tblTimeReviewer TimeSheetID="" Reviewer="" Approval=""
Date=""></q:tblTimeReviewer>
</dfs:queryFields>
<dfs:dataFields>
<d:tblTimeSheet TimeSheetID="" EmpID="" Date="2006-07-22">
<d:tblTimeSheetHours TimeSheetDetailID="" TimeSheetID="" Exempt=""
TotalHours="" HoursSunday="" HoursMonday="" HoursTuesday="" HoursWednesday=""
HoursThursday="" HoursFriday="" HoursSaturday="" HoursSunday1=""
HoursMonday1="" HoursTuesday1="" HoursWednesday1="" HoursThursday1=""
HoursFriday1="" HoursSaturday1="" TotalHours1=""></d:tblTimeSheetHours>
<d:tblTimeReviewer TimeSheetID="" Reviewer="" Approval=""
Date=""></d:tblTimeReviewer>
</d:tblTimeSheet>
</dfs:dataFields>
<my:Name></my:Name>
<my
epartment></my
epartment>
<my:EmailAddress></my:EmailAddress>
<my:ToField></my:ToField>
<my:HelperW1Tot></my:HelperW1Tot>
<my:Notes></my:Notes>
<my:FormSigning></my:FormSigning>
<my:Week1>
<my:InSun xsi:nil="true"></my:InSun>
<my:InMon xsi:nil="true"></my:InMon>
<my:InTue xsi:nil="true"></my:InTue>
<my:InWed xsi:nil="true"></my:InWed>
<my:InThu xsi:nil="true"></my:InThu>
<my:InFri xsi:nil="true"></my:InFri>
<my:InSat xsi:nil="true"></my:InSat>
<my:OutSun xsi:nil="true"></my:OutSun>
<my:OutMon xsi:nil="true"></my:OutMon>
<my:OutTue xsi:nil="true"></my:OutTue>
<my:OutWed xsi:nil="true"></my:OutWed>
<my:OutThu xsi:nil="true"></my:OutThu>
<my:OutFri xsi:nil="true"></my:OutFri>
<my:OutSat xsi:nil="true"></my:OutSat>
<my:Lunch></my:Lunch>
</my:Week1>
<my:Week2>
<my:InSun1 xsi:nil="true"></my:InSun1>
<my:InMon1 xsi:nil="true"></my:InMon1>
<my:InTue1 xsi:nil="true"></my:InTue1>
<my:InWed1 xsi:nil="true"></my:InWed1>
<my:InThu1 xsi:nil="true"></my:InThu1>
<my:InFri1 xsi:nil="true"></my:InFri1>
<my:InSat1 xsi:nil="true"></my:InSat1>
<my:OutSun1 xsi:nil="true"></my:OutSun1>
<my:OutMon1 xsi:nil="true"></my:OutMon1>
<my:OutTue1 xsi:nil="true"></my:OutTue1>
<my:OutWed1 xsi:nil="true"></my:OutWed1>
<my:OutThu1 xsi:nil="true"></my:OutThu1>
<my:OutFri1 xsi:nil="true"></my:OutFri1>
<my:OutSat1 xsi:nil="true"></my:OutSat1>
</my:Week2>
<my:HelperW2Tot></my:HelperW2Tot>
<my:Excel>-4105</my:Excel>
<my:WeekOf1></my:WeekOf1>
<my:WeekOf2></my:WeekOf2>
<my
ayperiods></my
ayperiods>
<my:signatures5></my:signatures5>
<my:signatures2></my:signatures2>
</dfs:myFields>
I would think that the following path would be correct...
thisXDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:tblTimesheet/TimeSheetID").text but I receive the same error.
I have a Monday deadline for this project and I can not figure this out.
Thanks for the help!!!