RE: [xsl] JDK 5 XSLTC handling of namespace prefixes

Subject: RE: [xsl] JDK 5 XSLTC handling of namespace prefixes
From: drkm <darkman_spam@xxxxxxxx>
Date: Mon, 19 Dec 2005 14:15:14 +0100 (CET)
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 : tiliphonez moins cher avec Yahoo! Messenger ! Dicouvez les tarifs exceptionnels pour appeler la France et l'international.
Tilichargez sur http://fr.messenger.yahoo.com

Current Thread