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

RE: Number of scans required ??

Subject: RE: Number of scans required ??
From: Dipesh Khakhkhar <dkhakhkh@xxxxxxxxxxxxxxx>
Date: Fri, 15 Aug 2003 13:59:06 -0400
number columns
Hi,

Thanks a lot for replying and explaining me.

As all of you gurus are saying that it is possible, then it must be. May be i 
am not able to find the proper solution for it.

As michael said I want exactly that. Header descrbing the column name and data 
for that column names will follow. But there can be situation like same table 
will have m columns at one place and n columns at another place in the input.

Below is the simulated input xml file.
====================================


<?xml version="1.0" encoding="UTF-8"?>

<Root>
<Tables>
<TABLE NAME="Client_Agent">
<ROW>
<COLUMN NAME="Agent Name">eXpress NS Client</COLUMN>
<COLUMN NAME="Product Version">5.5.0.517</COLUMN>
<COLUMN NAME="Build Number">517</COLUMN>
</ROW>

<ROW>
<COLUMN NAME="Agent Name">eXpress Inventory Solution</COLUMN>
<COLUMN NAME="Product Version">5.5.0.424</COLUMN>
<COLUMN NAME="Build Number">424</COLUMN>
</ROW>
</TABLE>



<TABLE NAME="Client_Agent">
<ROW>
<COLUMN NAME="Agent Name">eXpress NS Client</COLUMN>
<COLUMN NAME="Install Path">C:\Program Files\ABC\eXpress\NS Client\Software 
Delivery\Software Packages\{01B54EB5-3679-4C73-9E10-E169D5EA8C59}</COLUMN>
<COLUMN NAME="Product Version">5.5.0.519</COLUMN>
<COLUMN NAME="Build Number">519</COLUMN>

</ROW>

<ROW>
<COLUMN NAME="Agent Name">eXpress Inventory Solution</COLUMN>
<COLUMN NAME="Install Path">C:\Program Files\ABC\eXpress\NS Client\Software 
Delivery\Software Packages\{01B54EB5-4579-4C73-9E10-E169D5DA9E59}</COLUMN>
<COLUMN NAME="Product Version">5.5.0.428</COLUMN>
<COLUMN NAME="Build Number">428</COLUMN>
</ROW>
</TABLE>
</Tables>
</Root>

================================================================

And i m trying to get output something like this

Agent Name,Install Path,Product Version,Build Number
eXpress NS Client,,5.5.0.517,517
eXpress Inventory Solution,,5.5.0.424,424
eXpress NS Client,C:\Program Files\ABC\eXpress\NS Client\Software 
Delivery\Software 
Packages\{01B54EB5-3679-4C73-9E10-E169D5EA8C59},5.5.0.519,519
eXpress Inventory Solution,C:\Program Files\ABC\eXpress\NS Client\Software 
Delivery\Software 
Packages\{01B54EB5-4579-4C73-9E10-E169D5DA9E59},5.5.0.428,428


====================================================================

As of now i have shown that there is only one table and columns within it. 
There are other tables also but to make things simple i have shown only one 
table withn tables tag. I was not able to produce the desired output.

I hope with these as input and output there should be some way to get the 
above mentioned output.

Thanks a lot to all you gurus for taking out your time to read my problem.

Eagerly waiting for reply.

Regards,
Dipesh

PS: Resending this email since from yesterday i have not recieved any digest. 


 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.