|
Subject: [xsl] how can i do ?? From: "Benoit Lefevre" <benoit.lefevre@xxxxxxxx> Date: Fri, 13 Apr 2001 16:43:50 +0200 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] xsl taglib of tomcat, Xuegen Jin | Thread | RE: [xsl] how can i do ??, Xuegen Jin |
| RE: [xsl] xsl taglib of tomcat, Xuegen Jin | Date | Re: [xsl] Can XSLT Remove <!DOCTYPE, RSuiter |
| Month |