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/stylesheets simple-directory2html.xsl simple-page2html.xsl
Date Mon, 20 Mar 2000 22:04:41 GMT
stefano     00/03/20 14:04:40

  Added:       samples  Tag: xml-cocoon2 README
               samples/documents Tag: xml-cocoon2 hello-page.xml
               samples/stylesheets Tag: xml-cocoon2
                        simple-directory2html.xsl simple-page2html.xsl
  Log:
  creating cocoon2-alpha1 distribution
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.1   +0 -46     xml-cocoon/samples/README
  
  Index: README
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/samples/README,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- README	2000/01/09 23:44:17	1.3
  +++ README	2000/03/20 22:04:39	1.3.2.1
  @@ -6,49 +6,3 @@
   give you insights on Cocoon capabilities as well as real-life suggestions on
   how to XML-ize your web-serving environment.
   
  -      - hello ................. a simple hello world example
  -      - entities .............. shows XML external entities
  -      - import ................ shows XSLT imports
  -      - sites ................. some live Apache web sites XML-ized
  -      - fo .................... examples regarding XSL formatting objects
  -      - wap ................... how to turn your site wireless ready with WML
  -      - vml ................... how to turn your site voice ready with VoiceML
  -      - sql ................... how to XML-ize your rational data
  -      - dcp ................... how to add dynamic PI evaluation
  -      - xsp ................... examples to show XML compiled server pages
  -      - ldap .................. how to XML-ize your LDAP data
  -      - vrml .................. how to use Cocoon to generate VRML
  -      - fromServlet ........... how to call Cocoon from another servlet
  -
  -
  -Filenames
  ----------
  -
  -The XML world is a new one and there are not many "design patterns" that users
  -are used to as much as in other web realms. One of the most used file naming
  -pattern uses the "<name>.<extension>" notation. We find this highly insufficient
  -for the XML world where the ".xml" extention doesn't really mean anything since
  -it doesn't indicate _which DTD_ the xml file is using.
  -
  -The pattern used in Cocoon's examples follows these rules:
  -
  - <name>-<doctype>.xml ....................... for XML files
  - <name>-<from-doctype>-<to-doctype>.xsl ..... for XSLT transformation
sheets
  - 
  -This allows you to understand without opening the file, if the stylesheet you
  -are using matches and the processing pipe thus created is significant. For
  -example, while the following is correct
  -
  -   correct-whatever.xml -> simple-whatever-somethingelse.xsl
  -   
  -since the file "correct" uses the "whatever" doctype and the stylesheet "simple" 
  -transforms "whatever" documents into "somethingelse" documents, this is not
  -
  -   wrong-whatever.xml -> simple-anything-somethingelse.xsl
  -   
  -since the file "wrong" is a document of type "whatever" and the stylesheet
  -"simple" doesn't know how to handle those documents but only "anything" 
  -documents.
  -
  -Note: the doctype is defined as the root element of the XML document which must
  -be unique as per XML specification.
  \ No newline at end of file
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +15 -0     xml-cocoon/samples/documents/Attic/hello-page.xml
  
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +40 -0     xml-cocoon/samples/stylesheets/Attic/simple-directory2html.xsl
  
  
  
  
  1.1.2.1   +30 -0     xml-cocoon/samples/stylesheets/Attic/simple-page2html.xsl
  
  
  
  

Mime
View raw message