Layer7 API Management

  • 1.  Sample XSLT imlementation

    Posted Nov 07, 2017 12:46 PM

    Hi guys Im using Gateway 9.1 and trying to modify some XML payload.

     

    Can we use XSLT to modify(to remove some fields). I dont want to use Add/Remove XML element assertion.

     

    If there is any sample policy for xslt, please share it.

     

    Thanks.



  • 2.  Re: Sample XSLT imlementation
    Best Answer

    Broadcom Employee
    Posted Nov 07, 2017 12:55 PM
      |   view attached

    Hi Siddharth,

     

    Please see attached.

     

    Regards,

    Joe

    Attachment(s)

    zip
    remove_xml_xslt.xml.zip   1 KB 1 version


  • 3.  Re: Sample XSLT imlementation

    Posted Nov 07, 2017 01:27 PM

    Thank you Joe.

    BTW is there any repo where I can get sample policy implementations of Layer7?

     

    I am working on multiple things such as Caching, Response Times within Policy context variables, SAML Tokens. 

    Any help on the above mentioned things is greatly appreciated.

     

    Thanks



  • 4.  Re: Sample XSLT imlementation

    Broadcom Employee
    Posted Nov 07, 2017 01:42 PM

    Unfortunately there is no repo that I am aware of for policies. At this time I think the communities is the best venue for this. As samples get provided we can work to build out discussions here with them.

     

    Regards,

    Joe