Subject: Re: [xsl] Namespace (adding and modifying elements in an EJB deployment file) From: "alexandre bord" <alexandre.bord@xxxxxxxxxx> Date: Thu, 10 Oct 2002 11:53:21 +0200 |
... ... -------------------------------------- I wrote that
<xsl:message>***</xsl:message> <!-- ... --> </xsl:template>
<xsl:template match=" * | @* " > <xsl:copy> <xsl:apply-templates select=" * | @* "/> </xsl:copy> </xsl:template> </xsl:stylesheet>
alexandre bord wrote:
How can i match <ejbbnd:EJBJarBinding > element ? and where do I have to declare the namespace in the stylesheet ?
Declare whereever it would be of some use. In many cases declaring it on the stylesheet document element is the most convenient way:
<xsl:stylesheet version="1.0" xmlns:xsl="..." xmlns:ejbbnd="...">
<xsl:template match="ejbbnd:EJBJarBinding"> ...
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Namespace, J.Pietschmann | Thread | [xsl] xsl: setting script to multip, Carrie Kaufman |
Re: [xsl] parsers/transformers, Carles Canellas | Date | RE: [xsl] Using document(), DPawson |
Month |