[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|