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
  • 1.  XSLT doesn't indent - why?

    Posted Thu May 12, 2011 09:28 AM

    I have yet to convince the pub.xslt.Transformations:transformSerialXML service to generate indented XML, despite including an indent=“yes” directive in the header. Is this a fault in the service, or a fault in my use of it?

    My template starts with the following:

    <xsl:stylesheet version=“1.0” xmlns:xsl=“XSLT Namespace”>
    <xsl:output method=“xml” version=“1.0” indent=“yes”/>


    #If-it-doesn-t-fit-anywhere-else
    #webMethods
    #webMethods-Archive


  • 2.  RE: XSLT doesn't indent - why?

    Posted Thu May 12, 2011 09:46 PM

    I guess it depends on the processor.
    But you can easily indent the generated xml by using StringToDocument and DocumentToString service.
    HTH


    #If-it-doesn-t-fit-anywhere-else
    #webMethods
    #webMethods-Archive