aspose file tools*
The moose likes XML and Related Technologies and the fly likes variables in XSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "variables in XSL" Watch "variables in XSL" New topic
Author

variables in XSL

priya narayan
Greenhorn

Joined: Jul 20, 2006
Posts: 1
I am supposed to display a table with headers. Headers are passed as a delimited string to xsl file.

<xsl:variable name="headers" select="header1$header2$header3"/>

I need to display this in xsl file.
<table>
<thead>
<th>
<td>header1</td>
<td>header2</td>
<td>header3</td>
</th>
</thead>

Could any one of you please help me. I am new to xsl and have no idea how to get it done.

Thanks.
Priya
</table>
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
Priya,

We did solve this issue on the forum. If you could use the search and look through the results. There should be posts from Map or from myself on this topic. Don't have the URLs with me right now to post. I am 100% positive you should find the solution right here on this forum.

- m


Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: variables in XSL