XSLTools

Changeset

89:7f85d5ca7740
2005-07-14 paulb raw files shortlog changelog graph [project @ 2005-07-14 22:54:22 by paulb] Moved the CSS stylesheet into its own directory.
examples/Common/PEP241/Resources/pep241_template.xhtml (file) examples/Common/PEP241/Resources/styles.css examples/Common/PEP241/Resources/styles/styles.css (file)
     1.1 --- a/examples/Common/PEP241/Resources/pep241_template.xhtml	Thu Jul 14 22:54:04 2005 +0000
     1.2 +++ b/examples/Common/PEP241/Resources/pep241_template.xhtml	Thu Jul 14 22:54:26 2005 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  <head>
     1.5    <title>PEP 241 Package Registry</title>
     1.6    <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" />
     1.7 -  <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles.css"
     1.8 +  <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles/styles.css"
     1.9    rel="stylesheet" type="text/css" />
    1.10  </head>
    1.11  
    1.12 @@ -49,11 +49,13 @@
    1.13        </tr>
    1.14        <tr>
    1.15          <th>Home page</th>
    1.16 -        <td template:attribute="home-page" template:value="$this-value">Home page</td>
    1.17 +        <td template:attribute="home-page"><input type="text" size="80"
    1.18 +          name="{template:field-name()}" value="{$this-value}" /></td>
    1.19        </tr>
    1.20        <tr>
    1.21          <th>Licence</th>
    1.22 -        <td template:attribute="licence" template:value="$this-value">Licence</td>
    1.23 +        <td template:attribute="licence"><input type="text" size="20"
    1.24 +          name="{template:field-name()}" value="{$this-value}" /></td>
    1.25        </tr>
    1.26        <tr>
    1.27          <th colspan="2" class="heading">Categories</th>
     2.1 --- a/examples/Common/PEP241/Resources/styles.css	Thu Jul 14 22:54:04 2005 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,11 +0,0 @@
     2.4 -BODY {
     2.5 -background-color: white;
     2.6 -}
     2.7 -
     2.8 -.heading {
     2.9 -background-color: silver;
    2.10 -}
    2.11 -
    2.12 -.error {
    2.13 -color: red;
    2.14 -}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/examples/Common/PEP241/Resources/styles/styles.css	Thu Jul 14 22:54:26 2005 +0000
     3.3 @@ -0,0 +1,11 @@
     3.4 +BODY {
     3.5 +background-color: white;
     3.6 +}
     3.7 +
     3.8 +.heading {
     3.9 +background-color: silver;
    3.10 +}
    3.11 +
    3.12 +.error {
    3.13 +color: red;
    3.14 +}