Subject: RE: [xsl] Namespaces... From: Jarno.Elovirta@xxxxxxxxx Date: Mon, 30 Jun 2003 10:39:11 +0300 |
FFFAQ, > The "Content-Element" has a default-Namespace and how do i > have to write my XSL-Templates to access the "Content-Element"? > > Here is the Stylesheet: > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:tcm="http://www.tridion.com/ContentManager/5.0"> Add xmlns:x="urn:DTD922" > <xsl:output method="xml" version="1.0" encoding="UTF-8" > indent="yes"/> > <xsl:template match="/"> > <test> > <xsl:apply-templates/> > </test> > </xsl:template> > <!-- > --> > <xsl:template match="tcm:Component"> > <xsl:apply-templates/> > </xsl:template> > <!-- > --> > <xsl:template match="tcm:Content"> > <xsl:message>in tcm:Content</xsl:message> > <xsl:apply-templates/> > </xsl:template> > <!-- > --> > <xsl:template match="Content"> Change this to match "x:Content" Cheers, Jarno XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Namespaces..., Michael Kay | Thread | AW: [xsl] following sibling not wor, Markus Abt |
RE: [xsl] from a to b example - pas, "Braumüller, Hans" | Date | RE: [xsl] Namespaces..., Julian Reschke |
Month |