Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
Dispalying data whith xsl:for each in two coloumns
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
Dispalying data whith xsl:for each in two coloumns
Author:
firoz muhammed
Date:
09 Oct 2009 12:17 AM
Originally Posted: 06 Oct 2009 02:43 AM
Hi
I have an xml with data like
<EVENT_LIST>
<EVENT>
<EVENT_NAME>Dinner</EVENT_NAME>
<TIME>11:45 AM</TIME>
<DATE>2/30/2009</DATE>
</EVENT>
<EVENT>
<EVENT_NAME>Tour</EVENT_NAME>
<TIME>11:45 AM</TIME>
<DATE>2/30/2009</DATE>
</EVENT>
<EVENT>
<EVENT_NAME>Meeting</EVENT_NAME>
<TIME>11:45 AM</TIME>
<DATE>2/30/2009</DATE>
</EVENT>
<EVENT>
<EVENT_NAME>Lunch</EVENT_NAME>
<TIME>11:45 AM</TIME>
<DATE>2/30/2009</DATE>
</EVENT>
</EVENT_LIST>
I can display the event names in a single coloumn using
<xsl:for-each select="EVENT_LIST/EVENT">
<tr><td><xsl:value-of select ="EVENT_NAME"/></td></tr>
</xsl:for-each >
How can i display these values in a 2d table with 2 columns as shown below
Dinner Tour
Meeting Lunch
next
Subject:
Dispalying data whith xsl:for each in two coloumns
Author:
James Delaney
Date:
08 Oct 2009 05:12 PM
The document for reference did not upload. Can you please show the desired output?
top
Subject:
Dispalying data whith xsl:for each in two coloumns
Author:
firoz muhammed
Date:
09 Oct 2009 12:20 AM
Hi James thank u for looking into my problem. I want it to be displayed in two columns as shown below
Dinner Tour
Meeting Lunch
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.