Skip to content

Commit

Permalink
feat: include 'extraVars' section from Objects API object in formdata
Browse files Browse the repository at this point in the history
  • Loading branch information
MLenterman committed May 24, 2024
1 parent 95d10e2 commit 082a7e0
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<xsl:stylesheet exclude-result-prefixes="xs xsl xsi" version="3.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" omit-xml-declaration="yes" exclude-result-prefixes="xsi" />
<xsl:mode on-no-match="deep-copy" on-multiple-match="fail"/>
<xsl:strip-space elements="*" />

<xsl:template match="/">
<formdata>
<xsl:apply-templates select="//record/data/data/*" />
<xsl:apply-templates select="//record/data/extraVars" />
</formdata>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 082a7e0

Please sign in to comment.