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.

 View Only
Expand all | Collapse all

coalescing text nodes in XSL?

  • 1.  coalescing text nodes in XSL?

    Posted Fri March 30, 2001 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 Mon May 14, 2001 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