This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
how can i do ??
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] how can i do ??
- From: "Benoit Lefevre" <benoit dot lefevre at effix dot fr>
- Date: Fri, 13 Apr 2001 16:43:50 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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