Skip Menu |

This queue is for tickets about the XTM-slides CPAN distribution.

Report information
The Basics
Id: 248
Status: resolved
Priority: 0/
Queue: XTM-slides

People
Owner: Nobody in particular
Requestors: az [...] snafu.priv.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.5
Fixed in: (no value)



Subject: output markup broken
prosper.xslt, similar problem in html.xslt -: broken version +: old, working version <xsl:template match="m:instances"> - \item <xsl:choose><xsl:when test="./text()"><xsl:value-of select="./text()"/></xsl:when> - <xsl:otherwise>instances</xsl:otherwise> - </xsl:choose> - \begin{itemize}<xsl:apply-templates select="m:instance"/>\end{itemize} + <xsl:value-of select="./text()"/> + <xsl:apply-templates select="m:instance"/> </xsl:template> problem: for sub-instances and inlines a separate itemize/UL environment is opened and the real stuff is made a sub-itemize of an item called 'instances'. example: Linux Install & Administration * instances * note: much of this will applicable for other unices as well * instances * Installation * Administration Topics * Linux/Unix kernel the 'note' is an inline data fragment, the other items are sub-instances. printing out stuff like this is horrible, wasting space and messes up the slides. the 'instances' itemize/UL does not add any kind of information to the data. the existance of this thing cannot be controlled. the look of such a sub-itemize/UL thing can not be controlled.
[guest - Mon Feb 4 06:18:57 2002]: Show quoted text
> prosper.xslt, similar problem in html.xslt > -: broken version > +: old, working version > > <xsl:template match="m:instances"> > - \item <xsl:choose><xsl:when test="./text()"><xsl:value-of > select="./text()"/></xsl:when> > - <xsl:otherwise>instances</xsl:otherwise> > - </xsl:choose> > - \begin{itemize}<xsl:apply-templates > select="m:instance"/>\end{itemize} > + <xsl:value-of select="./text()"/> > + <xsl:apply-templates select="m:instance"/> > </xsl:template> > > > problem: for sub-instances and inlines a separate itemize/UL > environment > is opened and the real stuff is made a sub-itemize of an item called > 'instances'. > > example: > > Linux Install & Administration > * instances > * note: much of this will applicable for other unices as > well > * instances > * Installation > * Administration Topics > * Linux/Unix kernel > > the 'note' is an inline data fragment, > the other items are sub-instances. > > printing out stuff like this is horrible, wasting space and messes up > the > slides.
Well, the beauty is in the eye of the beholder. The prosper.xslt is not engraved in stone and everyone is free to adapt this. Show quoted text
> the 'instances' itemize/UL does not add any kind of information to > the data.
Yes, I have unwrapped this layer to avoid too deep nesting in the next version. \rho