Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About keevil

  • Rank
  1. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" indent="yes"/> <xsl:key name="k" match="payload" use="firstname"/> <xsl:template match="/payloads"> <xsl:copy> <xsl:apply-templates select="payload[generate-id() = generate-id(key('k', firstname))]"/> </xsl:copy> </xsl:template> <xsl:template match="payload"> <xsl:copy> <xsl:copy-of select="firstname"/> <xsl:copy-of select="secondname"/> <number>
  2. Im trying to contact fields together. The input file will look like this: <?xml version="1.0" encoding="UTF-8"?><payloads> <payload> <firstname>michael</firstname> <secondname>brown</secondname> <number>1</number> </payload> <payload> <firstname>michael</firstname> <secondname>brown</secondname> <number>2</number> </payload> <payload> <firstname>michael</firstname> <secondname>brown</secondname> <number
  3. Ok thank you very much. No Apigee does not have a API for XSLT transformations. We use Apigee to create custom API's and the XSL's that i would like to include with the import are hosted on there servers; however they are very strict about us being able to so such things. That is therefore why i would like to force refresh the cache from the XSLT itself. But i don't think this can be done. Thank you for your help.
  4. We are using a Apigee, an API tool that is currently performing the import and transformation. And the caching is done by Apigee. I was wondering if there is something that i could put in the header that would stop the caching or make it refresh the cache once a day? Is this something you are talking about in your message above?
  5. Hello, I am currently using the xsl:import tag. However we have noticed it is caching the XSL. This means that when we update the XSL that is being referenced too, we have to refresh each XSL that uses the referenced document. My question is there a way to stop caching? Below is an example of the code we are using: Main XSLT <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="errorCode.xsl"/> <xsl:output indent="yes"/> <xsl:param name="time_generated"/> <xsl:template match="/getResponse"> &
  • Create New...