Register  |  Login




Stereo9

Question

Status: Open Points: 75 Time: 13:57 - Dec 01, 2009  

bobharned

How to create HTML grid output using XSLT?

I have a simple XML file with a variable number of nodes. I want to display an html table with 3 nodes per row. So a file with 5 nodes in it would generate an html output like:

<tr><td>node 1</td><td>node 2</td><td>node 3</td></tr>
<tr><td>node 4</td><td>node 4</td></tr>

Each node would be formatted as a table imbedded within the TD tag. For arguments sake, let's assume the XML file is a set of users. Each user has a <fname>, <lname> and a an <address>.

<users>
<user>
<fname>Joe</fname>
<lname>Smith</lname>
<address>100 Main Street</address>
</user>
...
</users>

Can this be done using XSLT?

Categories

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

This question has not yet been answered.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Tutorials cannot be submitted until the Answer Discussion is complete.

Submit answers in the Answer Discussion area

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

9829

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4773

5.

PeterNZ

3487

6.

Mason

2770

7.

gonzalo

2765

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es