You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by am...@apache.org on 2001/06/20 20:52:41 UTC
cvs commit: xml-xalan/test/tests/contrib/xsltc/mk/inc attributes.xsl authors.xml boilerplate.xsl books-attsets.xsl books.dtd copyright.xsl date.xsl dummya.xsl dummyb.xsl dummyc.xsl soloist.xsl
amiro 01/06/20 11:52:41
Added: test/tests/contrib/xsltc/mk/inc attributes.xsl authors.xml
boilerplate.xsl books-attsets.xsl books.dtd
copyright.xsl date.xsl dummya.xsl dummyb.xsl
dummyc.xsl soloist.xsl
Log:
imported/included files for mk tests
Revision Changes Path
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/attributes.xsl
Index: attributes.xsl
===================================================================
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:attribute-set name="picture-attributes">
<xsl:attribute name="color">blue</xsl:attribute>
<xsl:attribute name="transparency">100</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/authors.xml
Index: authors.xml
===================================================================
<authors>
<author name="A. A. Milne">
<born>1852</born>
<died>1956</died>
<biog>Alan Alexander Milne, educated at Westminster School and Trinity College
Cambridge, became a prolific author of plays, novels, poetry, short stories, and essays,
all of which have been overshadowed by his children's books.
</biog>
</author>
<author name="Daisy Ashford">
<born>1881</born>
<died>1972</died>
<biog>Daisy Ashford (Mrs George Norman) wrote <i>The Young Visiters</i>, a small
comic masterpiece, while still a young child in Lewes. It was found in a drawer
in 1919 and sent to Chatto and Windus, who published it in the same year with an
introduction by J. M. Barrie, who had first insisted on meeting the author in order
to check that she was genuine.</biog>
</author>
</authors>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/boilerplate.xsl
Index: boilerplate.xsl
===================================================================
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:co="http://acme.com/xslt">
<xsl:variable name="co:company-name" select="'Acme Widgets Incorporated'"/>
<xsl:variable name="co:copyright"
select="concat('Copyright � ', $co:company-name)"/>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/books-attsets.xsl
Index: books-attsets.xsl
===================================================================
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:attribute-set name="attset1" use-attribute-sets="attset2">
<xsl:attribute name="LEFTMARGIN">150</xsl:attribute>
<xsl:attribute name="RIGHTMARGIN">150</xsl:attribute>
<xsl:attribute name="TOPMARGIN">190</xsl:attribute>
</xsl:attribute-set>
<xsl:variable name="x">attsets.xsl</xsl:variable>
<xsl:attribute-set name="attset2">
<xsl:attribute name="TOPMARGIN">180</xsl:attribute>
<xsl:attribute name="BOTTOMMARGIN">200</xsl:attribute>
</xsl:attribute-set>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/books.dtd
Index: books.dtd
===================================================================
<!ELEMENT AUTHOR ( #PCDATA ) >
<!ELEMENT BOOKLIST ( BOOKS, CATEGORIES ) >
<!ELEMENT BOOKS ( ITEM+ ) >
<!ELEMENT CATEGORIES ( #PCDATA | CATEGORY )* >
<!ATTLIST CATEGORIES DESC CDATA #REQUIRED >
<!ELEMENT CATEGORY EMPTY >
<!ATTLIST CATEGORY CODE ID #REQUIRED >
<!ATTLIST CATEGORY DESC NMTOKEN #REQUIRED >
<!ATTLIST CATEGORY NOTE CDATA #IMPLIED >
<!ELEMENT ITEM ( AUTHOR | PRICE | PUBLISHER | QUANTITY | TITLE )* >
<!ATTLIST ITEM CAT IDREF #REQUIRED >
<!ATTLIST ITEM TAX NMTOKEN #IMPLIED >
<!ELEMENT PRICE ( #PCDATA ) >
<!ELEMENT PUBLISHER ( #PCDATA ) >
<!ELEMENT QUANTITY ( #PCDATA ) >
<!ELEMENT TITLE ( #PCDATA ) >
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/copyright.xsl
Index: copyright.xsl
===================================================================
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:variable name="owner">Wrox Press</xsl:variable>
<xsl:template name="copyright"
>Copyright � <xsl:value-of select="$owner"/> 2000</xsl:template>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/date.xsl
Index: date.xsl
===================================================================
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:variable name="date"
select="Date:toString(Date:new())"
xmlns:Date="http://www.sun.com/xsltc/java/java.util.Date"/>
</xsl:stylesheet>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/dummya.xsl
Index: dummya.xsl
===================================================================
<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:import href="dummyb.xsl"/>
<xsl:import href="dummyc.xsl"/>
</xsl:transform>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/dummyb.xsl
Index: dummyb.xsl
===================================================================
<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
</xsl:transform>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/dummyc.xsl
Index: dummyc.xsl
===================================================================
<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
</xsl:transform>
1.1 xml-xalan/test/tests/contrib/xsltc/mk/inc/soloist.xsl
Index: soloist.xsl
===================================================================
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html><body>
<xsl:apply-templates/>
</body></html>
</xsl:template>
<xsl:template match="para">
<p><xsl:apply-templates/></p>
</xsl:template>
<xsl:template match="publication">
<font face="arial"><xsl:apply-templates/></font>
</xsl:template>
<xsl:template match="quote">
<xsl:text/>"<xsl:apply-templates/>"<xsl:text/>
</xsl:template>
<xsl:template match="work">
<i><xsl:apply-templates/></i>
</xsl:template>
<xsl:template match="role">
<u><xsl:apply-templates/></u>
</xsl:template>
</xsl:stylesheet>
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org