Tables with XSL

I have an XML file I'm outputting in a table with XSL, but I need to add new functionality. The first row across the top is generated values of a certain node. The subsequent rows are data from nodes. I'd like to match the values such that the columns line up with the "header" of each column. How would I go about this?

I think a for-each loop wouldn't work because you can't start a new row until you've completed the one you're working on...
[483 byte] By [nyp112] at [2007-11-19 9:34:05]
# 1 Re: Tables with XSL
I have an XML file I'm outputting in a table with XSL, but I need to add new functionality. The first row across the top is generated values of a certain node. The subsequent rows are data from nodes. I'd like to match the values such that the columns line up with the "header" of each column. How would I go about this?

If I'am understanding you correctly you are asking how to indent the values so that each collum line up with it's header.
Preforably one would take care of this in the code produced by XSL, for example using tables in html.
But alas you have neglected to tell us what format you are outputting in, if you are outputting plain text, you can try searching this forum there has been a couple of threads resently on this subject.

For future reference please be more specific when you ask questions, if you are working on some code post it, or at least enough of it to illustrate your problem. It makes it much easier for me to understand what you are doing. And I really really hate having to guess or dig the facts out of you.
khp at 2007-11-10 3:27:30 >
# 2 Re: Tables with XSL
I found this post that says my problem really well, although there was no response:

http://www.biglist.com/lists/xsl-list/archives/199804/msg00068.html

-- Nikhil
nyp112 at 2007-11-10 3:28:30 >
# 3 Re: Tables with XSL
Sigh... from reading the linked page I'am guessing guessing your problem is lining up collumns where some of the cells might be missing. But I absolutly don't understand the posted code, it doesn't even remotly resemble XSL code. And having multiple 'rules' depending on what collums are missing seems completly silly to me.

I'am not going to bother responding to any more of your posts, untill you put some serious effort into explaning your problem.
khp at 2007-11-10 3:29:31 >