[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Need help combing two elements
Fatbob,
At 05:44 PM 3/26/2009, you wrote: Is it possible to combine two elements using XSL so that they display as one? Yes. Or more precisely, one would not "combine two elements into one", but rather create one element in the result that combined information from more than one element in the source. (XSLT does nothing to the input. It simply looks at it to help decide what to put in the output.) Here is a sample of my XML file... It is. The details of how best to do it would depend on things you haven't told us, such as how regular and predictable your input data is, and what you want to happen in edge cases. But in general, the casting of values such as "Mar 23, 2006" to "2006-05-03" is going to be more work than the combining of values from two (or several) elements into one. Cheers, Wendell
|
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
|