[yelp-xsl] dita-selectors: Add selectors for map and topicref



commit ce70a94404ae7de56ab7af16f3626b3a95057b41
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Oct 27 14:11:23 2012 -0400

    dita-selectors: Add selectors for map and topicref

 xslt/dita/common/dita-ref.xsl       |    1 -
 xslt/dita/common/dita-selectors.mod |   14 ++++++++++++++
 2 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/xslt/dita/common/dita-ref.xsl b/xslt/dita/common/dita-ref.xsl
index 3b1d605..9b09e57 100644
--- a/xslt/dita/common/dita-ref.xsl
+++ b/xslt/dita/common/dita-ref.xsl
@@ -23,7 +23,6 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                 xmlns:func="http://exslt.org/functions";
                 xmlns:yelp="http://projects.gnome.org/yelp/"; 
-                xmlns="http://www.w3.org/1999/xhtml";
                 extension-element-prefixes="func"
                 exclude-result-prefixes="yelp"
                 version="1.0">
diff --git a/xslt/dita/common/dita-selectors.mod b/xslt/dita/common/dita-selectors.mod
index a7fac17..36121dc 100644
--- a/xslt/dita/common/dita-selectors.mod
+++ b/xslt/dita/common/dita-selectors.mod
@@ -28,6 +28,20 @@ grouped according to their most base element.
 -->
 
 <!-- ===========================================================================
+map/map
+-->
+<!ENTITY map_map "*[
+  name(.) = 'map' or name(.) = 'bookmap' or
+  starts-with(@class, '- map/map ')]">
+
+<!-- ===========================================================================
+map/topicref
+-->
+<!ENTITY map_topicref "*[
+  name(.) = 'topicref' or name(.) = 'chapter' or name(.) = 'part' or
+  starts-with(@class, '- map/topicref ')]">
+
+<!-- ===========================================================================
 topic/body
 -->
 <!ENTITY topic_body "*[



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]