Skip to content

Commit 5d9e511

Browse files
CRLF forcing
1 parent 77aa724 commit 5d9e511

14 files changed

Lines changed: 1100 additions & 1100 deletions

stylebook/style/loader.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<?xml version="1.0"?>
2-
3-
<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 14:26:14 $ -->
4-
5-
<loader>
6-
<processor name="xslt">
7-
<parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/>
8-
</processor>
9-
</loader>
1+
<?xml version="1.0"?>
2+
3+
<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 14:26:14 $ -->
4+
5+
<loader>
6+
<processor name="xslt">
7+
<parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/>
8+
</processor>
9+
</loader>
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
rolloverImagesOn=new Array();
2-
rolloverImagesOff=new Array();
3-
4-
function rolloverOn(name) {
5-
if(rolloverImagesOn[name]){
6-
document.images[name].src=rolloverImagesOn[name].src;
7-
}
8-
}
9-
10-
function rolloverOff(name) {
11-
if(rolloverImagesOff[name]){
12-
document.images[name].src=rolloverImagesOff[name].src;
13-
}
14-
}
15-
16-
function rolloverLoad(name,on,off) {
17-
rolloverImagesOn[name]=new Image();
18-
rolloverImagesOn[name].src=on;
19-
rolloverImagesOff[name]=new Image();
20-
rolloverImagesOff[name].src=off;
21-
}
1+
rolloverImagesOn=new Array();
2+
rolloverImagesOff=new Array();
3+
4+
function rolloverOn(name) {
5+
if(rolloverImagesOn[name]){
6+
document.images[name].src=rolloverImagesOn[name].src;
7+
}
8+
}
9+
10+
function rolloverOff(name) {
11+
if(rolloverImagesOff[name]){
12+
document.images[name].src=rolloverImagesOff[name].src;
13+
}
14+
}
15+
16+
function rolloverLoad(name,on,off) {
17+
rolloverImagesOn[name]=new Image();
18+
rolloverImagesOn[name].src=on;
19+
rolloverImagesOff[name]=new Image();
20+
rolloverImagesOff[name].src=off;
21+
}
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
<?xml version="1.0"?>
2-
3-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4-
5-
<xsl:param name="label"/>
6-
7-
<xsl:template match="/">
8-
<image width="456" height="35" bgcolor="0086b2">
9-
<xsl:apply-templates/>
10-
</image>
11-
</xsl:template>
12-
13-
<xsl:template match="s1|faqs|changes">
14-
<xsl:variable name="title">
15-
<xsl:if test="string-length(@title)=0">
16-
<xsl:value-of select="$label"/>
17-
</xsl:if>
18-
<xsl:if test="string-length(@title)>0">
19-
<xsl:value-of select="@title"/>
20-
</xsl:if>
21-
</xsl:variable>
22-
23-
<text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080"
24-
text="{$title}"/>
25-
<text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff"
26-
text="{$title}"/>
27-
</xsl:template>
28-
1+
<?xml version="1.0"?>
2+
3+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4+
5+
<xsl:param name="label"/>
6+
7+
<xsl:template match="/">
8+
<image width="456" height="35" bgcolor="0086b2">
9+
<xsl:apply-templates/>
10+
</image>
11+
</xsl:template>
12+
13+
<xsl:template match="s1|faqs|changes">
14+
<xsl:variable name="title">
15+
<xsl:if test="string-length(@title)=0">
16+
<xsl:value-of select="$label"/>
17+
</xsl:if>
18+
<xsl:if test="string-length(@title)>0">
19+
<xsl:value-of select="@title"/>
20+
</xsl:if>
21+
</xsl:variable>
22+
23+
<text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080"
24+
text="{$title}"/>
25+
<text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff"
26+
text="{$title}"/>
27+
</xsl:template>
28+
2929
</xsl:stylesheet>
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
<?xml version="1.0"?>
2-
3-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4-
5-
<xsl:param name="label"/>
6-
7-
<xsl:template match="/">
8-
<project>
9-
<xsl:apply-templates/>
10-
</project>
11-
</xsl:template>
12-
13-
<xsl:template match="img">
14-
<resource source="{@src}" target="images/{@src}"/>
15-
</xsl:template>
16-
17-
<xsl:template match="node()">
18-
<xsl:apply-templates/>
19-
</xsl:template>
20-
1+
<?xml version="1.0"?>
2+
3+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4+
5+
<xsl:param name="label"/>
6+
7+
<xsl:template match="/">
8+
<project>
9+
<xsl:apply-templates/>
10+
</project>
11+
</xsl:template>
12+
13+
<xsl:template match="img">
14+
<resource source="{@src}" target="images/{@src}"/>
15+
</xsl:template>
16+
17+
<xsl:template match="node()">
18+
<xsl:apply-templates/>
19+
</xsl:template>
20+
2121
</xsl:stylesheet>
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
<?xml version="1.0"?>
2-
3-
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4-
5-
<xsl:param name="id"/>
6-
7-
<xsl:template match="/">
8-
<xsl:apply-templates/>
9-
</xsl:template>
10-
11-
<xsl:template match="book">
12-
<group title="{group[attribute::id=$id]/@label}">
13-
<xsl:apply-templates select="group[attribute::id=$id]/entry"/>
14-
</group>
15-
</xsl:template>
16-
17-
<xsl:template match="entry">
18-
<entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}">
19-
<xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/>
20-
</entry>
21-
</xsl:template>
22-
23-
<xsl:template match="faq">
24-
<voice>
25-
<xsl:if test="string-length(@title)=0">
26-
<xsl:value-of select="q"/>
27-
</xsl:if>
28-
<xsl:if test="string-length(@title)>0">
29-
<xsl:value-of select="@title"/>
30-
</xsl:if>
31-
</voice>
32-
</xsl:template>
33-
1+
<?xml version="1.0"?>
2+
3+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
4+
5+
<xsl:param name="id"/>
6+
7+
<xsl:template match="/">
8+
<xsl:apply-templates/>
9+
</xsl:template>
10+
11+
<xsl:template match="book">
12+
<group title="{group[attribute::id=$id]/@label}">
13+
<xsl:apply-templates select="group[attribute::id=$id]/entry"/>
14+
</group>
15+
</xsl:template>
16+
17+
<xsl:template match="entry">
18+
<entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}">
19+
<xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/>
20+
</entry>
21+
</xsl:template>
22+
23+
<xsl:template match="faq">
24+
<voice>
25+
<xsl:if test="string-length(@title)=0">
26+
<xsl:value-of select="q"/>
27+
</xsl:if>
28+
<xsl:if test="string-length(@title)>0">
29+
<xsl:value-of select="@title"/>
30+
</xsl:if>
31+
</voice>
32+
</xsl:template>
33+
3434
</xsl:stylesheet>

0 commit comments

Comments
 (0)