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

Odd and Even problem Pt.2

Subject: Odd and Even problem Pt.2
From: Kuhns Matt <kuhns_m@xxxxxxxxx>
Date: Fri, 18 Oct 2002 08:32:37 -0700 (PDT)
oracle odd
Forgive me once again. In an earlier post I simplified
the problem.
The first time could be like this:
XML:
<FileHeader>
	<Filename Val="MyFile"/>
	<Version Major="7" Minor="2" Maintenance="0"
Build="100"/>
	<UserModifiedFile Val="False"/>
	<Multiplier Val="20"/>
	<TotalVP Val="10"/>
	<TotalP Val="1"/>
	<TotalS Val="2"/>
	<TotalE Val="3"/>
	<TestDate Started="10/18/2001 - 13:55:57"
Ended="10/18/2001 - 14:04:12" Total="00:08:15"
Pre="00:00:00" User="00:08:15" Post="00:00:00"/>
	<Duration Val="8 Minutes and 15 Seconds "/>
	<Description> <![CDATA[sample2                       
                                 ]]>
</TestDescription>
	<ClientSystem> <![CDATA[Win2k                        
                                  ]]> </ClientSystem>
	<ServerSystem> <![CDATA[WinXP                        
                                  ]]> </ServerSystem>
	<Database> <![CDATA[Oracle                           
                               ]]> </DatabaseSize>
	<Remarks> <![CDATA[Hi]]> </Remarks>
</FileHeader>
HTML:
<class="odd">FileName : Myfile</class>
<class="even">Description : sample2</class>
<class="odd">Clientsystem: Win2k</class>
<class="even">Serversystem: WinXP</class>
<class="odd">Database : Oracle</class>
<class="even">Remarks : Hi</class>
<class="odd">TotalS : 2</class>
<class="even">Totalp : 1</class>
<class="odd">Totalvp : 10</class>
<class="even">Totale : 1</class>

The second time could be like this:
XML:
<FileHeader>
	<Filename Val="MyFile"/>
	<Version Major="7" Minor="2" Maintenance="0"
Build="100"/>
	<UserModifiedFile Val="False"/>
	<Multiplier Val="20"/>
	<TotalVP Val="10"/>
	<TotalP Val="1"/>
	<TotalS Val="1"/>
	<TotalE Val="1"/>
	<TestDate Started="10/18/2001 - 13:55:57"
Ended="10/18/2001 - 14:04:12" Total="00:08:15"
Pre="00:00:00" User="00:08:15" Post="00:00:00"/>
	<Duration Val="8 Minutes and 15 Seconds "/>
	<Description> <![CDATA[sample2                       
                                 ]]>
</TestDescription>
	<ClientSystem> <![CDATA[Win2k                        
                                  ]]> </ClientSystem>
	<Database> <![CDATA[Oracle                           
                              ]]> </DatabaseSize>
</FileHeader>
HTML:
<class="odd">FileName : Myfile</class>
<class="even">Description : sample2</class>
<class="odd">Clientsystem: Win2k</class>
<class="even">Database : Oracle</class>
<class="odd">TotalS : 2</class>
<class="even">Totalp : 1</class>
<class="odd">Totalvp : 10</class>
<class="even">Totale : 1</class>
The fields that are optional are Description,
ClientSystem, Database, ServerSystem, and Remarks. The
data has to be presented in that order 
given in the html, which is not the same order that it
is in the XML. I would love to have a variable to keep
track of things. Is the solution
too hard, because I could go back to the XML generator
and generate the data differently, but now I'm real
curious about this problem
Thanks so much



__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

 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.