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

how to view data in tabuler view

Subject: how to view data in tabuler view
From: "Mohamed Abdel Hamid" <mohamed@xxxxxxxxxxxx>
Date: Thu, 31 Oct 2002 14:15:00 +0200
tabuler
Hi all
i post a message before related to xmlform and i see that it is not clear or
i didn't write what i want clear .
now i tell my problem in other way,the following is XML file which i want to
get invoice from it :-

<?xml version="1.0" ?>

<document>
 <!-- Invoice Header -->
 <row>
  <item>
   <caption>product no</caption>
   <amount>123456</amount>
  </item>
  <item>
   <caption>Unit Price</caption>
   <amount>23.5</amount>
  </item>
  <item>
   <caption>currencey</caption>
   <amount>Euro</amount>
  </item>
  <item>
   <caption>quantity</caption>
   <amount>2</amount>
  </item>
  <item>
   <caption>total price</caption>
   <amount>47</amount>
  </item>
 </row>
 <row>
  <item>
   <caption>product no</caption>
   <amount>231253</amount>
  </item>
  <item>
   <caption>Unit Price</caption>
   <amount>20</amount>
  </item>
  <item>
   <caption>currencey</caption>
   <amount>Euro</amount>
  </item>
  <item>
   <caption>quantity</caption>
   <amount>5</amount>
  </item>
  <item>
   <caption>total price</caption>
   <amount>100</amount>
  </item>
 </row>
 <row>
  <item>
   <caption>product no</caption>
   <amount>42152</amount>
  </item>
  <item>
   <caption>Unit Price</caption>
   <amount>15</amount>
  </item>
  <item>
   <caption>currencey</caption>
   <amount>Euro</amount>
  </item>
  <item>
   <caption>quantity</caption>
   <amount>3</amount>
  </item>
  <item>
   <caption>total price</caption>
   <amount>45</amount>
  </item>
 </row>

</document>

the above data must view in tabuler form, which caption is the titles or
table header , and the values are table body.
my first question is how to put all captions as titles which the caption
repeat every row and i want to get it once only,and put each related data
under its title
second how to put currency value beside price without currency caption.
thanx


 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.