Was just looking into the xml-formatting.xsl transform and noticed the
string 'xxmlns' around lines 253 to 259.
I guess these should instead read 'xmlns' (with single 'x'). *P <xsl:when test="substring-before(name(), ':') = 'xxmlns'"> <xsl:text>xmlns:</xsl:text> <xsl:value-of select="substring-after(name(), ':')"/> </xsl:when> <xsl:when test="name() = 'xxmlns'"> <xsl:text>xmlns</xsl:text> </xsl:when> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
I think it's a cheat mode because we cannot use prefix beginning with xml
so this cheat mode is to force xmlns to be output On 4/11/06, Pascal Heus <[hidden email]> wrote: > Was just looking into the xml-formatting.xsl transform and noticed the > string 'xxmlns' around lines 253 to 259. > I guess these should instead read 'xmlns' (with single 'x'). > *P > <xsl:when test="substring-before(name(), ':') = > 'xxmlns'"> > <xsl:text>xmlns:</xsl:text> > <xsl:value-of select="substring-after(name(), > ':')"/> > </xsl:when> > <xsl:when test="name() = 'xxmlns'"> > <xsl:text>xmlns</xsl:text> > </xsl:when> > > > -- > You receive this message as a subscriber of the [hidden email] > mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Pascal Heus
I think that this is in fact not a typo: I see that the documentation
file home-changes-older.xml is in fact using xxmlns in some places. This must have been a trick to force displaying namespace attribute in some source code examples. -Erik Pascal Heus wrote: > Was just looking into the xml-formatting.xsl transform and noticed the > string 'xxmlns' around lines 253 to 259. > I guess these should instead read 'xmlns' (with single 'x'). > *P > <xsl:when test="substring-before(name(), ':') = > '*xxmlns*'"> > <xsl:text>xmlns:</xsl:text> > <xsl:value-of select="substring-after(name(), > ':')"/> > </xsl:when> > <xsl:when test="name() = '*xxmlns*'"> > <xsl:text>xmlns</xsl:text> > </xsl:when> -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |