This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Value-of a single node & sum of several nodes
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] Value-of a single node & sum of several nodes
- From: Skip White <skipw at UDel dot Edu>
- Date: Mon, 08 Jan 2001 14:25:22 -0400
- Organization: University of Delaware
- Reply-To: xsl-list at lists dot mulberrytech dot com
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