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/05/19 00:32:27 UTC

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

Author: michi
Date: Thu May 18 15:32:27 2006
New Revision: 407647

URL: http://svn.apache.org/viewvc?rev=407647&view=rev
Log:
introspection added

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

Added: 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=407647&view=auto
==============================================================================
--- lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl (added)
+++ lenya/trunk/src/webapp/lenya/xslt/util/introspection.xsl Thu May 18 15:32:27 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2006 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!-- $Id: publication.xsl 388509 2006-03-24 13:07:10Z michi $ -->
+
+<xsl:stylesheet
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
+    xmlns="http://www.wyona.org/osr-101/1.0"
+>
+
+<xsl:param name="publication" select="'publication-null'"/>
+<xsl:param name="area" select="'area-null'"/>
+<xsl:param name="page-id" select="'page-id-null'"/>
+<xsl:param name="uri" select="'/foo/bar.xml'"/>
+
+<xsl:template match="/">
+  <introspection>
+    <edit href="{$publication}/authoring{$page-id}" mime-type="application/xml" version="xxx">
+    <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>
+</xsl:template>
+
+</xsl:stylesheet>



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