-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
77aa724
commit 5d9e511
Showing
14 changed files
with
1,100 additions
and
1,100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<?xml version="1.0"?> | ||
|
||
<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 14:26:14 $ --> | ||
|
||
<loader> | ||
<processor name="xslt"> | ||
<parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/> | ||
</processor> | ||
</loader> | ||
<?xml version="1.0"?> | ||
|
||
<!-- CVS $Revision: 1.1 $ $Date: 1999/12/01 14:26:14 $ --> | ||
|
||
<loader> | ||
<processor name="xslt"> | ||
<parameter name="stylesheet" value="sbk:/style/stylesheets/book2project.xsl"/> | ||
</processor> | ||
</loader> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
rolloverImagesOn=new Array(); | ||
rolloverImagesOff=new Array(); | ||
|
||
function rolloverOn(name) { | ||
if(rolloverImagesOn[name]){ | ||
document.images[name].src=rolloverImagesOn[name].src; | ||
} | ||
} | ||
|
||
function rolloverOff(name) { | ||
if(rolloverImagesOff[name]){ | ||
document.images[name].src=rolloverImagesOff[name].src; | ||
} | ||
} | ||
|
||
function rolloverLoad(name,on,off) { | ||
rolloverImagesOn[name]=new Image(); | ||
rolloverImagesOn[name].src=on; | ||
rolloverImagesOff[name]=new Image(); | ||
rolloverImagesOff[name].src=off; | ||
} | ||
rolloverImagesOn=new Array(); | ||
rolloverImagesOff=new Array(); | ||
|
||
function rolloverOn(name) { | ||
if(rolloverImagesOn[name]){ | ||
document.images[name].src=rolloverImagesOn[name].src; | ||
} | ||
} | ||
|
||
function rolloverOff(name) { | ||
if(rolloverImagesOff[name]){ | ||
document.images[name].src=rolloverImagesOff[name].src; | ||
} | ||
} | ||
|
||
function rolloverLoad(name,on,off) { | ||
rolloverImagesOn[name]=new Image(); | ||
rolloverImagesOn[name].src=on; | ||
rolloverImagesOff[name]=new Image(); | ||
rolloverImagesOff[name].src=off; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
<?xml version="1.0"?> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="label"/> | ||
|
||
<xsl:template match="/"> | ||
<image width="456" height="35" bgcolor="0086b2"> | ||
<xsl:apply-templates/> | ||
</image> | ||
</xsl:template> | ||
|
||
<xsl:template match="s1|faqs|changes"> | ||
<xsl:variable name="title"> | ||
<xsl:if test="string-length(@title)=0"> | ||
<xsl:value-of select="$label"/> | ||
</xsl:if> | ||
<xsl:if test="string-length(@title)>0"> | ||
<xsl:value-of select="@title"/> | ||
</xsl:if> | ||
</xsl:variable> | ||
|
||
<text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080" | ||
text="{$title}"/> | ||
<text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff" | ||
text="{$title}"/> | ||
</xsl:template> | ||
|
||
<?xml version="1.0"?> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="label"/> | ||
|
||
<xsl:template match="/"> | ||
<image width="456" height="35" bgcolor="0086b2"> | ||
<xsl:apply-templates/> | ||
</image> | ||
</xsl:template> | ||
|
||
<xsl:template match="s1|faqs|changes"> | ||
<xsl:variable name="title"> | ||
<xsl:if test="string-length(@title)=0"> | ||
<xsl:value-of select="$label"/> | ||
</xsl:if> | ||
<xsl:if test="string-length(@title)>0"> | ||
<xsl:value-of select="@title"/> | ||
</xsl:if> | ||
</xsl:variable> | ||
|
||
<text font="Arial" size="29" x="454" y="8" halign="right" valign="top" color="004080" | ||
text="{$title}"/> | ||
<text font="Arial" size="29" x="452" y="6" halign="right" valign="top" color="ffffff" | ||
text="{$title}"/> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
<?xml version="1.0"?> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="label"/> | ||
|
||
<xsl:template match="/"> | ||
<project> | ||
<xsl:apply-templates/> | ||
</project> | ||
</xsl:template> | ||
|
||
<xsl:template match="img"> | ||
<resource source="{@src}" target="images/{@src}"/> | ||
</xsl:template> | ||
|
||
<xsl:template match="node()"> | ||
<xsl:apply-templates/> | ||
</xsl:template> | ||
|
||
<?xml version="1.0"?> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="label"/> | ||
|
||
<xsl:template match="/"> | ||
<project> | ||
<xsl:apply-templates/> | ||
</project> | ||
</xsl:template> | ||
|
||
<xsl:template match="img"> | ||
<resource source="{@src}" target="images/{@src}"/> | ||
</xsl:template> | ||
|
||
<xsl:template match="node()"> | ||
<xsl:apply-templates/> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
<?xml version="1.0"?> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="id"/> | ||
|
||
<xsl:template match="/"> | ||
<xsl:apply-templates/> | ||
</xsl:template> | ||
|
||
<xsl:template match="book"> | ||
<group title="{group[attribute::id=$id]/@label}"> | ||
<xsl:apply-templates select="group[attribute::id=$id]/entry"/> | ||
</group> | ||
</xsl:template> | ||
|
||
<xsl:template match="entry"> | ||
<entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}"> | ||
<xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/> | ||
</entry> | ||
</xsl:template> | ||
|
||
<xsl:template match="faq"> | ||
<voice> | ||
<xsl:if test="string-length(@title)=0"> | ||
<xsl:value-of select="q"/> | ||
</xsl:if> | ||
<xsl:if test="string-length(@title)>0"> | ||
<xsl:value-of select="@title"/> | ||
</xsl:if> | ||
</voice> | ||
</xsl:template> | ||
|
||
<?xml version="1.0"?> | ||
|
||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | ||
|
||
<xsl:param name="id"/> | ||
|
||
<xsl:template match="/"> | ||
<xsl:apply-templates/> | ||
</xsl:template> | ||
|
||
<xsl:template match="book"> | ||
<group title="{group[attribute::id=$id]/@label}"> | ||
<xsl:apply-templates select="group[attribute::id=$id]/entry"/> | ||
</group> | ||
</xsl:template> | ||
|
||
<xsl:template match="entry"> | ||
<entry id="{@id}" title="{document(concat('sbk:/sources/',@source))/faqs/@title}"> | ||
<xsl:apply-templates select="document(concat('sbk:/sources/',@source))/faqs/faq"/> | ||
</entry> | ||
</xsl:template> | ||
|
||
<xsl:template match="faq"> | ||
<voice> | ||
<xsl:if test="string-length(@title)=0"> | ||
<xsl:value-of select="q"/> | ||
</xsl:if> | ||
<xsl:if test="string-length(@title)>0"> | ||
<xsl:value-of select="@title"/> | ||
</xsl:if> | ||
</voice> | ||
</xsl:template> | ||
|
||
</xsl:stylesheet> |
Oops, something went wrong.