atom feed7 messages in org.apache.lenya.userRe: Checkout Exceptions - Get user de...
FromSent OnAttachments
Peter ShipleyApr 21, 2005 6:17 am 
Gregor J. RothfussApr 21, 2005 10:15 am 
Peter ShipleyApr 21, 2005 3:03 pm 
Lee CarrollApr 21, 2005 4:48 pm 
Gregor J. RothfussApr 21, 2005 5:55 pm 
Michael WechnerApr 22, 2005 1:38 am 
Gregor J. RothfussApr 22, 2005 7:26 am 
Subject:Re: Checkout Exceptions - Get user details
From:Lee Carroll (leec@aol.com)
Date:Apr 21, 2005 4:48:20 pm
List:org.apache.lenya.user

Hello,

I've added a dirty hack to strip_namespaces.xsl to embed rdf into lenya's html output.

I could not think of an elegant solution for this and it looks brutal (see below). Has anyone got a better Idea?

Lee C

<xsl:template match="rdf:RDF"> <xsl:comment> <xsl:text> </xsl:text><xsl:text>&lt;</xsl:text><xsl:value-of select="name()"/> <xsl:text> xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"&gt;</xsl:text> <xsl:apply-templates/> <xsl:text>&lt;/</xsl:text><xsl:value-of select="name()"/><xsl:text>&gt;</xsl:text> <xsl:text> </xsl:text> </xsl:comment> </xsl:template>

<xsl:template match="rdf:* |dc:*"> <xsl:text>&lt;</xsl:text><xsl:value-of select="name()"/> <xsl:for-each select="@*"> <xsl:text> </xsl:text><xsl:value-of select="local-name()"/><xsl:text>="</xsl:text><xsl:value-of select="."/><xsl:text>"</xsl:text> </xsl:for-each> <xsl:text>&gt;</xsl:text> <xsl:apply-templates/> <xsl:text>&lt;/</xsl:text><xsl:value-of select="name()"/><xsl:text>&gt;</xsl:text> </xsl:template>