[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] selective transformation
I'm trying to transform an xml file using xsl but only need to modify one
of the tags. It is probably better to give a simple exmaple.
<Books> <book> <title>Some Book</title> <author>A Uthor</author> <summary>A summary goes here.</summary> </book> <!-- more book nodes follow --> </Books> What I want to do is reproduce the xml like but do a normalize-space(.) on the summary. I know a couple ways to do it but they all involve selecting and reproducing every node in either a for-each or an assortment of apply-template tags. Is there some simple way to do a transform that will send everything through untouched by run normalize-space(.) on the summary tag? Thanks. Mattison
|
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
|