You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2006/06/17 00:08:27 UTC

svn commit: r414945 - /lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl

Author: michi
Date: Fri Jun 16 15:08:27 2006
New Revision: 414945

URL: http://svn.apache.org/viewvc?rev=414945&view=rev
Log:
syntax fixed

Modified:
    lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl

Modified: lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl?rev=414945&r1=414944&r2=414945&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl (original)
+++ lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl Fri Jun 16 15:08:27 2006
@@ -19,7 +19,7 @@
 
 <xsl:stylesheet
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
-    xmlns="http://www.wyona.org/osr-101/1.0"
+    xmlns="http://www.wyona.org/neutron/1.0"
 >
 
 <xsl:param name="context" select="'context-null'"/>
@@ -30,23 +30,24 @@
 
 <xsl:template match="/">
   <introspection>
-    <edit mime-type="application/xml">
+    <edit mime-type="application/xml" name="Body Content">
+
       <!-- TODO: Re-use existing or create new lenya.usecase for opening and saving ... -->
-      <open url="http://127.0.0.1:8888{$context}/{$publication}/authoring/{$page-id}.xml"/>
-<!--
-      <open url="http://127.0.0.1:8888{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=..."/>
--->
-      <save url="http://127.0.0.1:8888{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=..."/>
+      <open url="{$context}/{$publication}/authoring/{$page-id}.xml"                               method="GET"/>
+      <save url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=neutron.checkin" method="PUT"/>
+
+      <checkout url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=neutron.checkout" method="GET"/>
+      <checkin  url="{$context}/{$publication}/authoring/{$page-id}.xml?lenya.usecase=neutron.checkin"  method="PUT"/>
 
 <!--
-    <schemas>
-      <schema href="http://foo.bar.com/lenya/modules/docbook/schemas/simple.rng" type="RelaxNG"/>
-      <schema href="http://foo.bar.com/lenya/modules/docbook/schemas/default.rng" type="RelaxNG"/>
-    </schemas>
-    <styles>
-      <style href="http://foo.bar.com/lenya/modules/xhtml/styles/default.xsl"/>
-      <style href="http://foo.bar.com/lenya/modules/xhtml/styles/simple.xsl"/>
-    </styles>
+      <schemas>
+        <schema href="http://foo.bar.com/lenya/modules/docbook/schemas/simple.rng" type="RelaxNG"/>
+        <schema href="http://foo.bar.com/lenya/modules/docbook/schemas/default.rng" type="RelaxNG"/>
+      </schemas>
+      <styles>
+        <style href="http://foo.bar.com/lenya/modules/xhtml/styles/default.xsl"/>
+        <style href="http://foo.bar.com/lenya/modules/xhtml/styles/simple.xsl"/>
+      </styles>
 -->
     </edit>
   </introspection>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org