[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: how to view data in tabuler view

Subject: Re: how to view data in tabuler view
From: "Ritu" <rkama@xxxxxxxxxxx>
Date: Thu, 31 Oct 2002 08:43:28 -0600
tabuler
Hi Mohammed,

Is this output intended to be HTML? If yes, then you can write HTML tags to
generate a table like <table> <tr> <td> .... and produce this kind of output
quite easily.

You can do something like

<xsl:template match='document'>
   <html><body>
  <table>
<tr><td>Product No</td>
<td>Unit Price</td>
<td>Currency </td>
<td>quantity </td>
<td>Price </td>
</tr>
<xsl:for-each select="row">
    <tr>
    <xsl:for-each select="item">
        <td><xsl:value-of select="amount"/></td>
    </xsl:for-each>
    </tr>
</xsl:for-each>
  </table>
  </body></html>
 </xsl:template>

----- Original Message -----
From: "Mohamed Abdel Hamid" <mohamed@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Thursday, October 31, 2002 7:54 AM
Subject: Re:  how to view data in tabuler view


> Hallo Vasu
>
> the output i want is like this :-
>
> --------------------------------------------------------------------------
--
> ---------------
> product no.    Unit price    quantity        total price
> 1254                25 Euro               5            125
> 1524                12 Euro               2            24
> --------------------------------------------------------------------------
--
> ---------------
> also i want to put currency adjacent to price not a separate field
> thanx
>
> ----- Original Message -----
> From: "Vasu Chakkera" <vasucv@xxxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Thursday, October 31, 2002 2:14 PM
> Subject: Re:  how to view data in tabuler view
>
>
> > Hi Mohammed
> > Give an example of your final output. That would help us understand the
> > problem better
> > Thanks
> > Vasu
>
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.