Sorry!!! I did it wrong...

got the identity tranform wrong...


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


Regards,
Ankur

-----Original Message-----
From: Saigal, Ankur 
Sent: Tuesday, April 23, 2002 7:24 PM
To: Joseph Kesselman/CAM/Lotus
Cc: [EMAIL PROTECTED]
Subject: RE: Serialization


Hi Joseph,
My imported node would look something like this,
 <asx:abap>
        <asx:values>
                <SOME_TEXT_NODE>
        </asx:values>
</asx:abap>

on this if I use a default empty transformer I get a document which doesnot
have a namespace declaration. (As mentioned before)

Now as you suggested, If I use the undergiven stylesheet in place of an
empty transformer object,

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
        <xsl:template match="/">
                <xsl:copy-of select="."/>
        </xsl:template>
</xsl:stylesheet>

I get an output which is 
<SOME_TEXT_NODE/> 
        i,e to say the <xsl:copy-of> behaves like a <xsl:value-of>.

Regards,
Ankur


Regards,
Ankur

-----Original Message-----
From: Joseph Kesselman/CAM/Lotus [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 23, 2002 6:17 PM
To: Saigal, Ankur
Cc: [EMAIL PROTECTED]
Subject: Re: Serialization



Sounds like the known issue reported in Bugzilla 1831 and 5779; the
discussion in the latter may be more useful. Recommended workaround, for
now, is to use a "real" identity stylesheet.

Reply via email to