dcsimg
Simple XML into HTML double (2 two) columns
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   freddy_mio
Posted On:   Tuesday, November 4, 2003 01:36 PM

Market Cadres&copy: Réalisations My objective is to make a two columns table from an XML-data file. I do not want to use XSL, so sorting and else is not important for the moment. I have this working in a table: |-------------------------------| | table heading OK | |-------------------------------| | R1-C1 | R1-C2 | R1-C3 | R1-C4 | | R2-C1 | R2-C2 | R2-C3 | R2-C4 | | R3-C1 | R3-C2 | R3-C3 | R3-C4 |..... <?xml version="1.0" encoding="iso-8859-1"?> R1-C1 R1-C2 R1-C3 R1-C4 ..... R3-C1 R3-C2 R3-C3 R   More>>
Market Cadres&copy: Réalisations

My objective is to make a two columns table from an
XML-data file. I do not want to use XSL, so sorting
and else is not important for the moment.

I have this working in a table:

			
|-------------------------------|
| table heading OK |
|-------------------------------|
| R1-C1 | R1-C2 | R1-C3 | R1-C4 |
| R2-C1 | R2-C2 | R2-C3 | R2-C4 |
| R3-C1 | R3-C2 | R3-C3 | R3-C4 |.....


			

<?xml version="1.0" encoding="iso-8859-1"?>


R1-C1
R1-C2
R1-C3
R1-C4

.....

R3-C1
R3-C2
R3-C3
R3-C4































Projets achevés
Nom Description Pilote(s) Participant(s)






***I want to create a table with two columns like this
			
|---------------------------------------------------|
| table heading OK |
|---------------------------------------------------|
| R1-C1 R1-C2 R1-C3 R1-C4 | R2-C1 R2-C2 R2-C3 R2-C4 |
|-------------------------|-------------------------|
| R3-C1 R3-C2 R3-C3 R3-C4 |.....



***I thought of using an extra node like:
			



R1-C1
R1-C2
R1-C3
R1-C4


R2*-C1
R2-C2
R2-C3
R2-C4



.....





***But I don't know how to reference the second project of
the row in the " " tag for filling
correctly the second column. I do get around
concatenating the data of the tag into
one column using
&nbsp .....

Many thanks in advance
   <<Less
About | Sitemap | Contact