Hi,
I am new to XMl so excuse me if this is a stupid question.
I am creating a web based timesheet system where users can download their timesheet in XML format so they can edit it offline in MS-Excel. The user will then be able to upload the XML file and the system will update the database accordingly by looping through the nodes and checking the DBKEY which is the primary key for the individual entries.
Below is a few lines of XML that my program creates. Here is the problem, the user (in this example) was on holidays so the user should enter 8 hours into each cell. Rather than doing this manually the user enters 8 hours into the first cell and copies and pastes this cell into the others. The problem with this is that the DBKEY also gets copied.
Has anyone any ideas about how to do this?
<Row>
<Cell>
<Data ss:Type="String">800</Data>
</Cell>
<Cell>
<Data ss:Type="String">Holiday</Data>
</Cell>
<Cell ss:StyleID="s26">
<Data ss:Type="Number" DBKEY="355242">0</Data>
</Cell>
<Cell ss:StyleID="s26">
<Data ss:Type="Number" DBKEY="355243">0</Data>
</Cell>
<Cell ss:StyleID="s27">
<Data ss:Type="Number" DBKEY="355244">0</Data>
...etc...
Thanks
Skydive! Blue Skies! Soft Landings!!
I am new to XMl so excuse me if this is a stupid question.
I am creating a web based timesheet system where users can download their timesheet in XML format so they can edit it offline in MS-Excel. The user will then be able to upload the XML file and the system will update the database accordingly by looping through the nodes and checking the DBKEY which is the primary key for the individual entries.
Below is a few lines of XML that my program creates. Here is the problem, the user (in this example) was on holidays so the user should enter 8 hours into each cell. Rather than doing this manually the user enters 8 hours into the first cell and copies and pastes this cell into the others. The problem with this is that the DBKEY also gets copied.
Has anyone any ideas about how to do this?
<Row>
<Cell>
<Data ss:Type="String">800</Data>
</Cell>
<Cell>
<Data ss:Type="String">Holiday</Data>
</Cell>
<Cell ss:StyleID="s26">
<Data ss:Type="Number" DBKEY="355242">0</Data>
</Cell>
<Cell ss:StyleID="s26">
<Data ss:Type="Number" DBKEY="355243">0</Data>
</Cell>
<Cell ss:StyleID="s27">
<Data ss:Type="Number" DBKEY="355244">0</Data>
...etc...
Thanks
Skydive! Blue Skies! Soft Landings!!