XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
sree arumilliSubject: XLST in XML
Author: sree arumilli
Date: 26 Jun 2007 05:09 AM
hi all
i have a following xml file and i want to show it in web browser in the following format.
iam new to xslt can u show the way plzz
this my xml file
<Chat>
<DT value="26/07/2007">
<you Time="10:30:12">hi</you>
<you Time="10:31:12">hru</you>
<sree Time="10:35:16">fine</fine>
<you Time="10:32:12">hi</you>
</DT>
<DT value="27/07/2007">
<you Time="10:30:12">hi</you>
<you Time="10:31:12">hru</you>
<sree Time="10:35:16">fine</fine>
<you Time="10:32:12">hi</you>
</DT>
</chat>
now wht i required issss
HEADING:CHAT WITH SREE
DT:26/06/2007
you 10:30:12(bg color blue)
hi
you 10:31:12(bg color blue)
hru
sree 10:35:16(bg color blue)
fine
you 10:32:12(bg color blue)
hi
DT:27/06/2007
you 10:30:12(bg color blue)
hi
you 10:31:12(bg color blue)
hru
sree 10:35:16(bg color blue)
fine
you 10:32:12(bg color blue)
hi

this is wht iam trying to do
thank u

Posttop
(Deleted User) Subject: XLST in XML
Author: (Deleted User)
Date: 26 Jun 2007 10:19 AM
Hi sree,
by using the XML Report module of Stylus Studio I prepared the file I attached, that you can use as a starting point for your stylesheet.

Hope this helps,
Alberto


Unknownchat.xml
The XML file

Unknownchat.report
The XML Report file

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! 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

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
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.