Subject:Using variables Author:clare Emma Date:02 Aug 2005 11:40 AM
Hi,
I'm trying to write a stylesheet that will analyse some boolean values in my XML document and increment or decrement a value. I've declared a variable within the stylesheet to hold this but I'm not sure how to change this value or if this is the best way to do it, any help would be most appreciated.
Subject:Using variables Author:clare Emma Date:03 Aug 2005 04:03 AM
Oh thanks, that's useful to know (I'm real new it this). But what if I had a couple more boolean values within <book> and wanted to count. Is there any easy way of doing that?
and for each book I will create a value based on the three booleans within it, say true will add one to my value and false will subtract one. Ultimately I want to add this calculated value to a new XML document using the stylesheet.