Specifying column positions
I'm trying to build a table of pre-filled input boxes based on some XML data. I need each column's field info to appear in the specified column position. However, column nodes without any info are absent from the XML file:
<Table>
<Row Line="1">
<Column Position="1">
<Field>1-1</Field>
</Column>
<Column Position="2">
<Field>1-2</Field>
</Column>
<Column Position="3">
<Field>1-3</Field>
</Column>
</Row>
<Row Line="2">
<Column Position="2">
<Field>2-2</Field>
</Column>
</Row>
<Row Line="3">
<Column Position="2">
<Field>3-2</Field>
</Column>
<Column Position="3">
<Field>3-3</Field>
</Column>
</Row>
</Table>
How can I create a table with the info in the correct columns? I'm a little new to XSL and I've hit my head over this for days now.
|