Menu

#253 literallayout children losts

packaging problem
closed-fixed
nobody
XSL (1066)
5
2002-07-08
2002-06-10
No

I have a <literallayout> containing <link>s. Using the
dsssl
stylesheets, this comes out as expected, but using the xsl
stylesheets, the link formatting is lost and only the
textual
content is left. This happens, because the templates in
verbatim.xsl construct a result tree fragment for the
children
of the <literallayout> and feed it through translate()
to convert
spaces to non-breaking spaces. But translate is a
string function,
thus only the string-value of the node-set remains
after this,
any elements contained in the result tree fragment are
lost.

Discussion

  • Matthias Clasen

    Matthias Clasen - 2002-06-11

    Logged In: YES
    user_id=561082

    I should probably mention that this is with xsl stylesheets
    version
    1.51-1 and xsltproc.

     
  • Norman Walsh

    Norman Walsh - 2002-07-08

    Logged In: YES
    user_id=81663

    Yuck! How long has this nasty bug existed!? There's no good
    fix; the stylesheets will have to rely on either an
    extension function exsl:node-set or CSS to fix this.

    Fixed in CVS.

     
  • Norman Walsh

    Norman Walsh - 2002-07-08
    • status: open --> closed-fixed