[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Namespaces...
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|