@@ -678,10 +678,25 @@ ds.contact =
678678 db:refpurpose [ "Wrapper of desc element" ]
679679]
680680div {
681+ ds.treatment.attr =
682+ ## How to treat version-specific product descriptions
683+ [
684+ a:defaultValue = "append"
685+ db:refpurpose [ "How to treat version-specific product descriptions" ]
686+ ]
687+ attribute treatment {
688+ ## Append this description to the original product description
689+ 'append' |
690+ ## Prepend this description to the original product description
691+ 'prepend' |
692+ ## Replace the original product description with this description
693+ 'replace'
694+ }
695+
681696 ds.descriptions =
682697 ## Wrapper of desc element
683698 element descriptions {
684- ds.xmlbase.attr?,
699+ ds.xmlbase.attr?, ds.treatment.attr?,
685700 ds.desc_default,
686701 ds.desc_translation*
687702 }
@@ -868,7 +883,7 @@ ds.docset =
868883 ds.version,
869884 ds.canonical?,
870885 ds.listingversion?,
871- ds.overridedesc ?,
886+ ds.descriptions ?,
872887 (
873888 (ds.resources,
874889 ds.internal?,
@@ -936,36 +951,6 @@ div {
936951}
937952
938953
939- [
940- db:refname [ "overridedesc" ]
941- db:refpurpose [ "Collection of version-specific product descriptions" ]
942- ]
943- div {
944- ds.treatment.attr =
945- ## How to treat version-specific product descriptions
946- [
947- a:defaultValue = "append"
948- db:refpurpose [ "How to treat version-specific product descriptions" ]
949- ]
950- attribute treatment {
951- ## Append this description to the original product description
952- 'append' |
953- ## Prepend this description to the original product description
954- 'prepend' |
955- ## Replace the original product description with this description
956- 'replace'
957- }
958-
959- ds.overridedesc =
960- ## Collection of version-specific product descriptions
961- element overridedesc {
962- ds.treatment.attr,
963- ds.desc_default,
964- ds.desc_translation*
965- }
966- }
967-
968-
969954[
970955 db:refname [ "builddocs" ]
971956 db:refpurpose [ "Container for definitions of documents to build" ]
0 commit comments