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 |
- Namespaces...
- Gamperl Markus - Mon, 30 Jun 2003 03:28:16 -0400 (EDT)
- <Possible follow-ups>
- Jarno . Elovirta - Mon, 30 Jun 2003 03:39:18 -0400 (EDT) <=
|
|