[yelp-xsl] dita-selectors: Implement choicetable by passing to simpletable



commit d26c26e7ce3c91d9d650889b27d5bab516fcfe4e
Author: Shaun McCance <shaunm gnome org>
Date:   Sat Oct 6 22:22:47 2012 -0400

    dita-selectors: Implement choicetable by passing to simpletable

 xslt/dita/common/dita-selectors.mod |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/xslt/dita/common/dita-selectors.mod b/xslt/dita/common/dita-selectors.mod
index 539efeb..3c724d0 100644
--- a/xslt/dita/common/dita-selectors.mod
+++ b/xslt/dita/common/dita-selectors.mod
@@ -284,7 +284,10 @@ topic/shortdesc
 <!-- ===========================================================================
 topic/simpletable
 -->
-<!ENTITY topic_simpletable "*[name(.) = 'simpletable' or starts-with(@class, '- topic/simpletable ')]">
+<!ENTITY topic_simpletable "*[
+  name(.) = 'simpletable' or name(.) = 'choicetable' or
+  starts-with(@class, '- topic/simpletable ')
+  ]">
 
 <!-- ===========================================================================
 topic/sl
@@ -299,17 +302,27 @@ topic/sli
 <!-- ===========================================================================
 topic/stentry
 -->
-<!ENTITY topic_stentry "*[name(.) = 'stentry' or starts-with(@class, '- topic/stentry ')]">
+<!ENTITY topic_stentry "*[
+  name(.) = 'stentry' or name(.) = 'chdesc' or name(.) = 'chdeschd' or
+  name(.) = 'choption' or name(.) = 'choptionhd' or
+  starts-with(@class, '- topic/stentry ')
+  ]">
 
 <!-- ===========================================================================
 topic/sthead
 -->
-<!ENTITY topic_sthead "*[name(.) = 'sthead' or starts-with(@class, '- topic/sthead ')]">
+<!ENTITY topic_sthead "*[
+  name(.) = 'sthead' or name(.) = 'chhead' or
+  starts-with(@class, '- topic/sthead ')
+  ]">
 
 <!-- ===========================================================================
 topic/strow
 -->
-<!ENTITY topic_strow "*[name(.) = 'strow' or starts-with(@class, '- topic/strow ')]">
+<!ENTITY topic_strow "*[
+  name(.) = 'strow' or name(.) = 'chrow' or
+  starts-with(@class, '- topic/strow ')
+  ]">
 
 <!-- ===========================================================================
 topic/text



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