svn commit: r759126 - in /lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml: ./ resources/ resources/schemas/ resources/schemas/xhtml/ resources/schemas/xhtml/modules/

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: rudolf
Date: Fri Mar 27 13:06:53 2009
New Revision: 759126

URL: http://svn.apache.org/viewvc?rev=759126&view=rev
Log:
support tables made with kupu in the default publication

Added:
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/modules/
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/modules/basic-table.rng
    lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng

Added: lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/modules/basic-table.rng
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/modules/basic-table.rng?rev=759126&view=auto
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/modules/basic-table.rng (added)
+++ lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/modules/basic-table.rng Fri Mar 27 13:06:53 2009
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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: basic-table.rng 42702 2004-03-13 12:34:18Z gregor $ -->
+    
+<!-- Basic Tables Module -->
+<grammar xmlns="http://relaxng.org/ns/structure/1.0">
+
+<define name="table">
+  <element name="table">
+    <ref name="table.attlist"/>
+    <optional>
+      <ref name="caption"/>
+    </optional>
+    <oneOrMore>
+      <ref name="tr"/>
+    </oneOrMore>
+  </element>
+</define>
+
+<define name="table.attlist">
+  <ref name="Common.attrib"/>
+  <optional>
+    <attribute name="summary">
+      <ref name="Text.datatype"/>
+    </attribute>
+  </optional>
+</define>
+
+<define name="caption">
+  <element name="caption">
+    <ref name="caption.attlist"/>
+    <ref name="Inline.model"/>
+  </element>
+</define>
+
+<define name="caption.attlist">
+  <ref name="Common.attrib"/>
+</define>
+
+<define name="tr">
+  <element name="tr">
+    <ref name="tr.attlist"/>
+    <oneOrMore>
+      <choice>
+        <ref name="th"/>
+        <ref name="td"/>
+      </choice>
+    </oneOrMore>
+  </element>
+</define>
+
+<define name="tr.attlist">
+  <ref name="Common.attrib"/>
+  <ref name="CellHAlign.attrib"/>
+  <ref name="CellVAlign.attrib"/>
+</define>
+
+<define name="th">
+  <element name="th">
+    <ref name="th.attlist"/>
+    <ref name="Flow.model"/>
+  </element>
+</define>
+
+<define name="th.attlist">
+  <ref name="Cell.attrib"/>
+</define>
+
+<define name="td">
+  <element name="td">
+    <ref name="td.attlist"/>
+    <ref name="Flow.model"/>
+  </element>
+</define>
+
+<define name="td.attlist">
+  <ref name="Cell.attrib"/>
+</define>
+
+<define name="Cell.attrib">
+  <ref name="Common.attrib"/>
+  <optional>
+    <attribute name="abbr">
+      <ref name="Text.datatype"/>
+    </attribute>
+  </optional>
+  <optional>
+    <attribute name="axis"/>
+  </optional>
+  <optional>
+    <attribute name="headers">
+      <ref name="IDREFS.datatype"/>
+    </attribute>
+  </optional>
+  <ref name="scope.attrib"/>
+  <optional>
+    <attribute name="rowspan">
+      <ref name="Number.datatype"/>
+    </attribute>
+  </optional>
+  <optional>
+    <attribute name="colspan">
+      <ref name="Number.datatype"/>
+    </attribute>
+  </optional>
+  <ref name="CellHAlign.attrib"/>
+  <ref name="CellVAlign.attrib"/>
+</define>
+
+<define name="CellHAlign.attrib">
+  <optional>
+    <attribute name="align">
+      <choice>
+	<value>left</value>
+	<value>center</value>
+	<value>right</value>
+      </choice>
+    </attribute>
+  </optional>
+</define>
+
+<define name="CellVAlign.attrib">
+  <optional>
+    <attribute name="valign">
+      <choice>
+	<value>top</value>
+	<value>middle</value>
+	<value>bottom</value>
+      </choice>
+    </attribute>
+  </optional>
+</define>
+
+<define name="scope.attrib">
+  <optional>
+    <attribute name="scope">
+      <choice>
+	<value>row</value>
+	<value>col</value>
+      </choice>
+    </attribute>
+  </optional>
+</define>
+
+<define name="Block.class" combine="choice">
+  <ref name="table"/>
+</define>
+<!-- supporting tables made by kupu  -->
+<define name="Inline.class" combine="choice">
+  <ref name="table"/>
+</define>
+
+
+</grammar>
\ No newline at end of file

Added: lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng
URL: http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng?rev=759126&view=auto
==============================================================================
--- lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng (added)
+++ lenya/branches/BRANCH_2_0_X/src/pubs/default/lenya/modules/xhtml/resources/schemas/xhtml/xhtml-basic.rng Fri Mar 27 13:06:53 2009
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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: xhtml-basic.rng 42702 2004-03-13 12:34:18Z gregor $ -->
+
+<!-- XHTML Basic -->
+
+<grammar ns="http://www.w3.org/1999/xhtml"
+         xmlns="http://relaxng.org/ns/structure/1.0">
+
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/datatypes.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/attribs.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/struct.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/text.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/hypertext.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/list.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/basic-form.rng"/>
+<!-- supporting tables in kupu tables requires table.rng instead of basic-table.rng -->
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/table.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/image.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/param.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/object.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/meta.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/link.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/base.rng"/>
+<include href="fallback://lenya/modules/xhtml/resources/schemas/xhtml/modules/pres.rng"/>
+
+</grammar>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.