Imrran Wahid wrote:
<xsl:template match="Content//*" mode="raw-req-inner">
<xsl:copy>
<br/>
<xsl:for-each
select="ancestor::*[name()!='OutputMsg']">
<xsl:value-of select="$str-indent" />
</xsl:for-each>
<xsl:text><</xsl:text>
<xsl:value-of select="name()"/>
<xsl:for-each select="@*">
<xsl:value-of select="$str-indent"/>
<xsl:value-of select="name()"/>="<xsl:value-of select="."/>"
</xsl:for-each>
The challenge at hand is that my xml can also be in
attributes. How do I render the raw xml with
attributes and proper indentations? For instance my
xml is:
--
Oleg Tkachenko
Multiconn Technologies, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list