IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  coalescing text nodes in XSL?

    Posted 03/30/01 05:32 PM

    I have a stylesheet that produces (spread over two templates) an element node with a bunch of text node childs. Is there any way to tell the stylesheet processor (SAXON, in my case) to produce a single text node instead? BTW, element.normalize() in Xerces 1.3.1 on the resulting DOM doesn’t do the job, either - which surprises me a little. According to my debug output, all nodes have type TEXT_NODE, so normalize() should do the job - any comments?


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: coalescing text nodes in XSL?

    Posted 05/14/01 12:24 PM

    Not directly an answer:

    I have managed to get rid of adjoining text nodes with the normalize function of the MSXML 3 parser and its DOM. Thus I expect it to work with other implementations as well. Maybe a bug in Xerces?


    #API-Management
    #Tamino
    #webMethods