Hi,
I have an XML file which I want to display in 2 columns on a HTML page (xsl conversion).
XML file:
<Test>
<Part>
<Code>P1</Code>
<Items>
<Item><Code>ID1</Code><Desc>Item 1</Desc></Item>
<Item><Code>ID2</Code><Desc>Item 2</Desc></Item>
<Item><Code>ID3</Code><Desc>Item 3</Desc></Item>
</Items>
</Part>
<Part>
<Code>P2</Code>
<Items>
<Item><Code>ID4</Code><Desc>Item 4</Desc></Item>
<Item><Code>ID5</Code><Desc>Item 5</Desc></Item>
</Items>
</Part>
</Test>
In my HTML I want to display a table with 2 columns.
In the left column Item 1, 2, 3 (Part 1) have to be displayed, in the right column Item 4, 5 (Part 2).
How can this be done by xsl?
Thanks.
I have an XML file which I want to display in 2 columns on a HTML page (xsl conversion).
XML file:
<Test>
<Part>
<Code>P1</Code>
<Items>
<Item><Code>ID1</Code><Desc>Item 1</Desc></Item>
<Item><Code>ID2</Code><Desc>Item 2</Desc></Item>
<Item><Code>ID3</Code><Desc>Item 3</Desc></Item>
</Items>
</Part>
<Part>
<Code>P2</Code>
<Items>
<Item><Code>ID4</Code><Desc>Item 4</Desc></Item>
<Item><Code>ID5</Code><Desc>Item 5</Desc></Item>
</Items>
</Part>
</Test>
In my HTML I want to display a table with 2 columns.
In the left column Item 1, 2, 3 (Part 1) have to be displayed, in the right column Item 4, 5 (Part 2).
How can this be done by xsl?
Thanks.