This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: how can i do ??
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] how can i do ??
- From: Don Bruey <dbruey at CreativeSolutions dot com>
- Date: Fri, 13 Apr 2001 11:11:26 -0400
- Reply-To: xsl-list at lists dot mulberrytech dot com
Lots of good examples in the FAQ to do similar things.
http://www.dpawson.co.uk/xsl/N7450.html
Don
-----Original Message-----
From: Benoit Lefevre [mailto:benoit.lefevre@effix.fr]
Sent: Friday, April 13, 2001 10:44 AM
To: xsl-list@lists.mulberrytech.com
Subject: [xsl] how can i do ??
hello
beeing a newcomer into XSLT, i'm encountering some troubles.
here is one :
I have one XML data source document (lets call it DS)
I want to build a HTML document to present DS.
how can i use XSLT to present DS in tow different format ??
is this possible in one processing phase ??
for exemple :
DS =>
-------------------------------------------------------
<list>
<data> 1 </data>
<data> 2 </data>
<data> 3 </data>
<data> 4 </data>
<data> 5 </data>
<data> 6 </data>
<data> 7 </data>
<data> 8 </data>
<data> 9 </data>
</list>
-------------------------------------------------------
the HTML document i'd like to get after processing DS with my XSLT =>
--------------------------------------------------------
<html>
<head>
<title> one data source ... tow representation </title>
</head>
<body>
here is a table : <b>
<table>
<TR>
<TD> 1 </TD> <TD> 2 </TD> <TD> 3 </TD>
</TR>
<TR>
<TD> 4 </TD> <TD> 5 </TD> <TD> 6 </TD>
</TR>
<TR>
<TD> 7 </TD> <TD> 8 </TD> <TD> 9 </TD>
</TR>
<table>
<b>
here is a list representation of the source document : <b>
1 2 3 4 5 6 7 8 9
</body>
</html>
----------------------------------------------------
thank you
Benoit Lefevre.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list