Lots of good examples in the FAQ to do similar things.
-----Original Message-----
From: Benoit Lefevre [mailto:benoit.lefevre@xxxxxxxx]
Sent: Friday, April 13, 2001 10:44 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: 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
| Current Thread |
- how can i do ??
- Benoit Lefevre - Fri, 13 Apr 2001 11:00:00 -0400 (EDT)
- Xuegen Jin - Fri, 13 Apr 2001 11:45:23 -0400 (EDT)
- <Possible follow-ups>
- Don Bruey - Fri, 13 Apr 2001 11:10:32 -0400 (EDT) <=
- Don Bruey - Fri, 13 Apr 2001 11:11:19 -0400 (EDT)
|
|