For the image tag, I need to keep only the image file with "file/" content using XSLT in the JSON output:
My input XML file is:
<image>binary/alias/my.jpg</image>
XSL which is used as:
<xsl:template match="image">
image: <xsl:apply-templates/>,
</xsl:template>
JSON output which I get is:
image: binary/alias/my.jpg
I need the output as:
image: files/my.jpg
Please help me on this. Thanks in advance.