Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting a ROW

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I want to insert a blank row inside my XML structure on page load. Does anyone know how this can be achieved?
 
More details? Are you doing something like this:

XML snippet

<Row>
<Field1>Value1</Field1>
<Field2>ValueB</Field2>
</Row>
<Row>
<Field1>Value2</Field1>
<Field2>ValueA</Field2>
</Row>
<Row>
<Field1>Value1</Field1>
<Field2>ValueC</Field2>
</Row>

and you want your html table to look like this:
<table>
<tr>
<td>Value1</td>
<td>ValueB</td>
</tr>
<tr>
<td>Value2</td>
<td>ValueA</td>
</tr>
<tr>
<td>Value1</td>
<td>ValueC</td>
</tr>
<tr>
<td><input type=&quot;text&quot; etc.></td>
<td><input type=&quot;text&quot; etc.></td>
</tr>
</table>

Obviously, you'd use XSL to create the table header and each row down to the blank row, then create a row of text fields (1 per field) and the end table marker....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top