cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@locus.apache.org
Subject cvs commit: xml-cocoon/samples/xsp page.xsl sample.xsl
Date Thu, 02 Dec 1999 11:55:04 GMT
stefano     99/12/02 03:55:04

  Modified:    samples/dcp sample-page-html.xsl
               samples/fo darkness-novel.xml novel-fo.xsl
               samples/hello hello-page-html.xsl
               samples/sites/java.apache.org fancy-page-html.xsl
                        text-page-html.xsl
               samples/vml hello-page-vml.xsl hello-page.xml
               samples/wap example-portfolio.xml portfolio-html.xsl
                        portfolio-wml.xsl
               samples/xsp page.xsl sample.xsl
  Log:
  fixed XSL stylesheet linking problems after the big renaming
  
  Revision  Changes    Path
  1.2       +1 -1      xml-cocoon/samples/dcp/sample-page-html.xsl
  
  Index: sample-page-html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/dcp/sample-page-html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sample-page-html.xsl	1999/11/30 16:29:58	1.1
  +++ sample-page-html.xsl	1999/12/02 11:55:01	1.2
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    
     <xsl:template match="page">
       <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
  
  
  
  1.2       +1 -13     xml-cocoon/samples/fo/darkness-novel.xml
  
  Index: darkness-novel.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/fo/darkness-novel.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- darkness-novel.xml	1999/11/30 16:29:59	1.1
  +++ darkness-novel.xml	1999/12/02 11:55:01	1.2
  @@ -1,5 +1,5 @@
   <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  -<?xml-stylesheet href="darkness-novel.xsl" type="text/xsl"?>
  +<?xml-stylesheet href="novel-fo.xsl" type="text/xsl"?>
   <?cocoon-process type="xslt"?>
   
   <!DOCTYPE novel [
  @@ -9,18 +9,6 @@
    <!ENTITY lsquo "`">
    <!ENTITY rsquo "'">
    <!ENTITY hellip "...">
  - <!ENTITY % phrasal "#PCDATA | emphasis">
  - <!ELEMENT novel (front, body)>
  - <!ELEMENT front (title, author, revision-list)>
  - <!ELEMENT body (chapter+)>
  - <!ELEMENT chapter (title, paragraph+)>
  - <!ATTLIST chapter id ID #REQUIRED>
  - <!ELEMENT revision-list (item+)>
  - <!ELEMENT item (%phrasal;)*>
  - <!ELEMENT title (%phrasal;)*>
  - <!ELEMENT author (%phrasal;)*>
  - <!ELEMENT paragraph (%phrasal;)*>
  - <!ELEMENT emphasis (%phrasal;)*>
   ]>
   
   <novel>
  
  
  
  1.2       +3 -3      xml-cocoon/samples/fo/novel-fo.xsl
  
  Index: novel-fo.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/fo/novel-fo.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- novel-fo.xsl	1999/11/30 16:29:59	1.1
  +++ novel-fo.xsl	1999/12/02 11:55:02	1.2
  @@ -1,9 +1,9 @@
   <xsl:stylesheet
  -  xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
  -  xmlns:fo="http://www.w3.org/XSL/Format/1.0">
  +  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  +  xmlns:fo="http://www.w3.org/1999/XSL/Format">
   
     <xsl:template match="novel">
  -    <xsl:pi name="cocoon-format">type="text/xslfo"</xsl:pi>
  +    <xsl:processing-instruction name="cocoon-format">type="text/xslfo"</xsl:processing-instruction>
       <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <fo:layout-master-set>
         <fo:simple-page-master
  
  
  
  1.2       +4 -2      xml-cocoon/samples/hello/hello-page-html.xsl
  
  Index: hello-page-html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/hello/hello-page-html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hello-page-html.xsl	1999/11/30 16:30:00	1.1
  +++ hello-page-html.xsl	1999/12/02 11:55:02	1.2
  @@ -2,10 +2,12 @@
   
   <!-- Written by Stefano Mazzocchi "stefano@apache.org" -->
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<!-- <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> -->
   
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  +
     <xsl:template match="page">
  -   <xsl:pi name="cocoon-format">type="text/html"</xsl:pi>
  +   <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
      <html>
       <head>
        <title>
  
  
  
  1.2       +3 -3      xml-cocoon/samples/sites/java.apache.org/fancy-page-html.xsl
  
  Index: fancy-page-html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/sites/java.apache.org/fancy-page-html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- fancy-page-html.xsl	1999/11/30 16:30:01	1.1
  +++ fancy-page-html.xsl	1999/12/02 11:55:02	1.2
  @@ -1,16 +1,16 @@
   <?xml version="1.0"?>
   
   <!-- Author: Stefano Mazzocchi "stefano@apache.org" -->
  -<!-- Version: $Id: fancy-page-html.xsl,v 1.1 1999/11/30 16:30:01 stefano Exp $ -->
  +<!-- Version: $Id: fancy-page-html.xsl,v 1.2 1999/12/02 11:55:02 stefano Exp $ -->
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
     <xsl:output>
     
     </xsl:output>
     
     <xsl:template match="page">
  -   <xsl:pi name="cocoon-format">type="text/html"</xsl:pi>
  +   <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
      <html>
       <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
  
  
  1.2       +3 -3      xml-cocoon/samples/sites/java.apache.org/text-page-html.xsl
  
  Index: text-page-html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/sites/java.apache.org/text-page-html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- text-page-html.xsl	1999/11/30 16:30:01	1.1
  +++ text-page-html.xsl	1999/12/02 11:55:02	1.2
  @@ -1,14 +1,14 @@
   <?xml version="1.0"?>
   
   <!-- Author: Stefano Mazzocchi "stefano@apache.org" -->
  -<!-- Version: $Id: text-page-html.xsl,v 1.1 1999/11/30 16:30:01 stefano Exp $ -->
  +<!-- Version: $Id: text-page-html.xsl,v 1.2 1999/12/02 11:55:02 stefano Exp $ -->
   
   <!-- This stylesheet is for text browsers -->
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    
     <xsl:template match="page">
  -    <xsl:pi name="cocoon-format">type="text/html"</xsl:pi>
  +    <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
       <html>
       <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
  
  
  
  1.2       +2 -2      xml-cocoon/samples/vml/hello-page-vml.xsl
  
  Index: hello-page-vml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/vml/hello-page-vml.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hello-page-vml.xsl	1999/11/30 16:30:02	1.1
  +++ hello-page-vml.xsl	1999/12/02 11:55:03	1.2
  @@ -16,10 +16,10 @@
       session.
   -->
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
     <xsl:template match="page">
  -   <xsl:pi name="cocoon-format">type="text/xml"</xsl:pi>
  +   <xsl:processing-instruction name="cocoon-format">type="text/xml"</xsl:processing-instruction>
       <DIALOG>
        <STEP NAME="init">
         <PROMPT><xsl:apply-templates/></PROMPT>
  
  
  
  1.2       +1 -1      xml-cocoon/samples/vml/hello-page.xml
  
  Index: hello-page.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/vml/hello-page.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hello-page.xml	1999/11/30 16:30:02	1.1
  +++ hello-page.xml	1999/12/02 11:55:03	1.2
  @@ -1,5 +1,5 @@
   <?xml version="1.0"?>
  -<?xml-stylesheet href="hello.page.vml.xsl" type="text/xsl"?>
  +<?xml-stylesheet href="hello-page-vml.xsl" type="text/xsl"?>
   <?cocoon-process type="xslt"?>
   
   <!-- Written by Theodore B. Achacoso <ted@groupserve.com> -->
  
  
  
  1.2       +2 -2      xml-cocoon/samples/wap/example-portfolio.xml
  
  Index: example-portfolio.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/wap/example-portfolio.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- example-portfolio.xml	1999/11/30 16:30:02	1.1
  +++ example-portfolio.xml	1999/12/02 11:55:03	1.2
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
  -<?xml-stylesheet href="portfolio.html.xsl" type="text/xsl"?>
  -<?xml-stylesheet href="portfolio.wml.xsl" type="text/xsl" media="wap"?>
  +<?xml-stylesheet href="portfolio-html.xsl" type="text/xsl"?>
  +<?xml-stylesheet href="portfolio-wml.xsl" type="text/xsl" media="wap"?>
   <?cocoon-process type="xslt"?>
   
   <!-- Written by Stefano Mazzocchi "stefano@apache.org" -->
  
  
  
  1.2       +2 -2      xml-cocoon/samples/wap/portfolio-html.xsl
  
  Index: portfolio-html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/wap/portfolio-html.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- portfolio-html.xsl	1999/11/30 16:30:02	1.1
  +++ portfolio-html.xsl	1999/12/02 11:55:03	1.2
  @@ -2,10 +2,10 @@
   
   <!-- Written by Stefano Mazzocchi "stefano@apache.org" -->
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
     <xsl:template match="portfolio">
  -   <xsl:pi name="cocoon-format">type="text/html"</xsl:pi>
  +   <xsl:processing-instruction name="cocoon-format">type="text/html"</xsl:processing-instruction>
      <html>
   
      <head>
  
  
  
  1.2       +2 -2      xml-cocoon/samples/wap/portfolio-wml.xsl
  
  Index: portfolio-wml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/wap/portfolio-wml.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- portfolio-wml.xsl	1999/11/30 16:30:02	1.1
  +++ portfolio-wml.xsl	1999/12/02 11:55:03	1.2
  @@ -3,12 +3,12 @@
   <!-- Written by Stefano Mazzocchi "stefano@apache.org" -->
   
   <xsl:stylesheet 
  -	xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
  +	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   	xmlns="http://www.wapforum.org/DTD/wml_1.1.xml"
   	result-ns="http://www.wapforum.org/DTD/wml_1.1.xml">
   
    <xsl:template match="portfolio">
  -  <xsl:pi name="cocoon-format">type="text/wml"</xsl:pi>
  +  <xsl:processing-instruction name="cocoon-format">type="text/wml"</xsl:processing-instruction>
   
     <wml>
      <card id="index" title="Your Portfolio">
  
  
  
  1.2       +3 -3      xml-cocoon/samples/xsp/page.xsl
  
  Index: page.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/xsp/page.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- page.xsl	1999/11/09 01:51:35	1.1
  +++ page.xsl	1999/12/02 11:55:04	1.2
  @@ -1,10 +1,10 @@
   <?xml version="1.0"?>
   
   <!-- Author: Stefano Mazzocchi "stefano@apache.org" -->
  -<!-- Version: $Id: page.xsl,v 1.1 1999/11/09 01:51:35 stefano Exp $ -->
  +<!-- Version: $Id: page.xsl,v 1.2 1999/12/02 11:55:04 stefano Exp $ -->
   
   <xsl:stylesheet
  -  xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
  +  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xsp="http://www.apache.org/DTD/XSP/Layer1">
   
     <!-- This template process the root element -->
  @@ -13,7 +13,7 @@
        xmlns:xsp="http://www.apache.org/DTD/XSP/Layer1"
        language="java">
   
  -    <xsl:pi name="cocoon-format">type="text/xsp"</xsl:pi>
  +    <xsl:processing-instruction name="cocoon-format">type="text/xsp"</xsl:processing-instruction>
      
       <xsp:logic xml:space="preserve"><![CDATA[
        static private int counter = 0;
  
  
  
  1.2       +1 -1      xml-cocoon/samples/xsp/sample.xsl
  
  Index: sample.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/xsp/sample.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sample.xsl	1999/11/20 01:18:40	1.1
  +++ sample.xsl	1999/12/02 11:55:04	1.2
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   
  -<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
  +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   
     <xsl:template match="/">
       <xsl:apply-templates/>
  
  
  

Mime
View raw message