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
Expand all | Collapse all

XSLT transform (XML to XML) with additional line feed

  • 1.  XSLT transform (XML to XML) with additional line feed

    Posted 03/06/09 11:22 AM

    Hi All,

    when using an XSLT transformation, webMethods adds an extra crlf after each source line. How can I avoid that?
    I am trying to add a processing instruction.

    Regards,
    Michel

    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="[URL]http://www.w3.org/1999/XSL/Transform[/URL]">
    <xsl:output method="xml"/>
    
    <xsl:template match="/">
    <xsl:processing-instruction name="xml-stylesheet">href="Logistikzahlung.xsl" type="text/xsl"</xsl:processing-instruction>
    <xsl:copy-of select="*"/></xsl:template>
    </xsl:stylesheet>
    

    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: XSLT transform (XML to XML) with additional line feed

    Posted 03/26/09 11:23 AM

    used pub.string:replace instead xslt now


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB