|
Subject: Re: [xsl] How to Handle Attributes Content From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Thu, 20 Feb 2003 11:01:01 +0200 |
<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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] How to Handle Attributes Cont, Imrran Wahid | Thread | Re: [xsl] How to Handle Attributes , Imrran Wahid |
| RE: [xsl] Should You Comment XSLT A, bryan | Date | RE: [xsl] Re: Re: The Perils of Sud, Michael Kay |
| Month |