|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








