Developer forum

Forum » PIM » Raw XML structure for feed

Raw XML structure for feed

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I am trying to customize the XML output of the feed and I need to see the original (raw) XML of the response before any XSLT is applied.

I have analyzed the provided XSLT for Channable but I need to be able to see the initial XML structure that this XSLT applies to.
I might be mistaken, but the default response without XSLT does not seem to be the raw one.

Thank you,

Adrian


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Just create a XSLT that copies the entire input XML to the output:

<xsl:stylesheet version="1.0" 
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:template match="@*|node()">
    <xsl:copy>
      <xsl:apply-templates select="@*|node()"/>
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

BR Nicolai

Votes for this answer: 1
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi NIcolai,

Thank you very much.

I don't know why I have not thought about it :)

Thank you,
Adrian

 

You must be logged in to post in the forum