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.  xsl in a collection?

    Posted Wed October 24, 2001 11:54 AM

    2 question hope that the tamino develop can help me.

    1)Can I load an xsl file into a collection rather than the standard ino:etc?

    2)after loading the xsl file(in either ino:etc or other collection) how do i access it from tamino? If I am using a passthru servlet.

    help… I need a demo done asap for my client.

    regards

    cheers !


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: xsl in a collection?

    Posted Wed October 24, 2001 12:33 PM
    1. yes. You can define a simple schema in a collection, with a doctype called xsl:stylesheet. In the schema you define only the root node ‘xsl:stylesheet’ with content type of ANY, no indexing. This will allow stylesheets to be stored into a collection of your choice.

      2) When you store an XML document you can associate a “filename” to it. So in TII you can specify the database URL such as:

      http://localhost/tamino/myDB/mycol/xsl:stylesheet/style1.xsl

      And process the the XSL to store it. This will associate an ino:id to it and also a the ‘filename’ or document name of ‘style1.xsl’.

      You can retreive the document with either of the following URL, assuming the ino:id assigned was 1:

      http://localhost/tamino/myDB/mycol/xsl:stylesheet/style1.xsl

      -or-

      http://localhost/tamino/myDB/mycol/xsl:stylesheet/@1

      Hope this helps.
      xsl.xml (424 Bytes)


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: xsl in a collection?

    Posted Thu October 25, 2001 10:41 AM

    PassThru Servlet works with the XSL now!
    Thanks alot!

    well done!

    regards

    cheers !


    #API-Management
    #Tamino
    #webMethods