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

Value-of a single node & sum of several nodes

Subject: Value-of a single node & sum of several nodes
From: Skip White <skipw@xxxxxxxx>
Date: Mon, 08 Jan 2001 14:25:22 -0400
single node value
I am working with financial data using the XBRL taxonomy (e.g. financial
statements & financial reporting)

I have a complex tree structure and need to extract a single value from
a node, not its decendents, what XSL do I use?
    Some code:
    <xsl:value-of select="balanceSheet/asets.currentAssets" />   <!--
gives me all decendents -->


I also need to create subtotals for specific node sets and have not been
able to make the "sum" function work??
    Some code:
    <xsl: value-of select="sum(//accountsPayableAndAccruedExpenses)"
<!-- gives me unknown method-->

Thanks - Skip ... a novice

--
----
Clinton E. White, Jr. (Skip)
http://www.accounting.udel.edu/skipstuff/skip3.html
Associate Professor of Accounting & MIS
Area Head MIS
University of Delaware, Newark, DE 19716
Phone: (302) 831-6902   Fax: (302) 831-4676



 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.