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.