cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@outerthought.org
Subject [WIKI-UPDATE] BeginnerSimpleWebappOrganisation Wed Feb 5 03:00:03 2003
Date Wed, 05 Feb 2003 02:00:04 GMT
Page: http://wiki.cocoondev.org/Wiki.jsp?page=BeginnerSimpleWebappOrganisation, version: 4
on Wed Feb  5 01:43:15 2003 by 67.119.107.33

- first "*" of the pattern. And now we are ready for the secnd part of our setup.
+ first "*" of the pattern. And now we are ready for the second part of our setup.
?                                                           +

- By following this approach you will loose the generic mount feature as
?                                       - ^

+ By following this approach you will loss the generic mount feature as
?                                        ^

+ ----
+  An xml you can put on your work directory (index.xml):
+ {{{
+    <?xml version="1.0"?>
+     <page>
+       <title>Basic XML/XSL Transformation Example </title>
+       <greeting>Hello World</greeting>
+     </page>
+ }}}
+ 
+  XSL stylesheet (mytransform.xsl) for above:
+ 
+ {{{
+    <?xml version="1.0"?>
+    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ 
+     <xsl:template match="page">
+      <html>
+       <head>
+        <title><xsl:value-of select="title"/></title>
+       </head>
+       <body>
+        <h1><xsl:value-of select="title"/></h1>
+        <p><xsl:value-of select="greeting"/></p>
+       </body>
+      </html>
+     </xsl:template>
+ 
+    </xsl:stylesheet>
+ }}}
+ \\
+ 



Mime
View raw message