Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27149 - reducing redundancy of guide.xsl and guide-print.xsl
Summary: reducing redundancy of guide.xsl and guide-print.xsl
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Guide XML (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Kurt Lieber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-22 15:41 UTC by Felix Breuer
Modified: 2003-10-18 14:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the proposed patch (guide-print-cleanup.patch,9.95 KB, patch)
2003-08-22 15:42 UTC, Felix Breuer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Breuer 2003-08-22 15:41:32 UTC
This patch reduces the redundancy between guide.xsl and guide-print.xsl by
having guide-print.xsl import guide.xsl. Thus guide-print needs only specify its
own version of the <xsl:template match="/guide">.

The new guide-print.xsl is (supposed to be) functionally identical to the old
one. Except for these two minor changes:
* The <c>, <path>, etc. tags are now implemented using HTML's span tag. This was
an (involuntary?) difference between the two stylesheets as guide-print.xsl used
<font> before.
* guide-print.xsl now produces UTF-8 output (as opposed to the ISO-8859-15
output it produced earlier). If this is a problem, tell me and I will add this
line to guide-print.xsl again.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Felix Breuer 2003-08-22 15:42:22 UTC
Created attachment 16479 [details, diff]
the proposed patch
Comment 2 Kurt Lieber (RETIRED) gentoo-dev 2003-10-18 14:49:56 UTC
pretty sure swift already took care of this.  sven: if not, please contact
me on irc and we can discuss it.