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

select text of current element and not identical child

Subject: select text of current element and not identical child element for word count
From: Karen McAdams <kemcadams@xxxxxxxxx>
Date: Thu, 11 May 2006 15:59:17 -0700 (PDT)
mcadams select
I am currently collecting word counts of an entire
element and identical child elements in one sum. What 
I need now is to get the count for only the current
element without the identical child elements. 

My templates match the  element based on a class
attribute that contains "topic/topic." 

The structure is like this (its dita structure
language)

element [class = "topic/topic other/stuff"]
element title 
element body
element ref links

 and there can be up to 3 more similar elements nested
child elements like the this element.

I could try an approach in which i copy the contents
of the element sans its child elements of the same
type or create a mode similar to the way they are used
in this example.
http://www.dpawson.co.uk/xsl/sect2/N3235.html#d4106e196

not exactly sure how to write these templates - any
suggestions?




--------------------
Karen McAdams (650) 302 - 0830

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.