xsl-list
[Top] [All Lists]

RE: JDK 5 XSLTC handling of namespace prefixes

2005-12-19 06:15:14
Julian Reschke wrote:

Expected result:
<multistatus xmlns="DAV:"/>

  What about the following?

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

  BTW, you've already got the expected result: you got the right
element in the right namespace.  Why do you need no namespace prefix at
all?

--drkm



















        

        
                
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs 
exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--