sts 0.6.14 → 0.6.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release.yml +7 -0
  3. data/lib/sts/iso_sts/bold.rb +3 -0
  4. data/lib/sts/iso_sts/copyright_statement.rb +6 -0
  5. data/lib/sts/iso_sts/italic.rb +3 -0
  6. data/lib/sts/iso_sts/label.rb +5 -1
  7. data/lib/sts/iso_sts/mixed_citation.rb +3 -0
  8. data/lib/sts/iso_sts/monospace.rb +6 -0
  9. data/lib/sts/iso_sts/named_content.rb +30 -0
  10. data/lib/sts/iso_sts/paragraph.rb +5 -0
  11. data/lib/sts/iso_sts/preformat.rb +6 -0
  12. data/lib/sts/iso_sts/sc.rb +6 -0
  13. data/lib/sts/iso_sts/strike.rb +6 -0
  14. data/lib/sts/iso_sts/styled_content.rb +3 -0
  15. data/lib/sts/iso_sts/sub.rb +6 -0
  16. data/lib/sts/iso_sts/sup.rb +6 -0
  17. data/lib/sts/iso_sts/td.rb +6 -0
  18. data/lib/sts/iso_sts/term.rb +5 -1
  19. data/lib/sts/iso_sts/th.rb +6 -0
  20. data/lib/sts/iso_sts/title.rb +6 -0
  21. data/lib/sts/iso_sts/title_compl.rb +6 -0
  22. data/lib/sts/iso_sts/title_full.rb +6 -0
  23. data/lib/sts/iso_sts/title_intro.rb +6 -0
  24. data/lib/sts/iso_sts/title_main.rb +6 -0
  25. data/lib/sts/iso_sts/underline.rb +6 -0
  26. data/lib/sts/niso_sts/addr_line.rb +6 -0
  27. data/lib/sts/niso_sts/aff.rb +6 -0
  28. data/lib/sts/niso_sts/alt_title.rb +6 -0
  29. data/lib/sts/niso_sts/article_title.rb +6 -0
  30. data/lib/sts/niso_sts/attrib.rb +6 -0
  31. data/lib/sts/niso_sts/award_id.rb +6 -0
  32. data/lib/sts/niso_sts/chapter_title.rb +6 -0
  33. data/lib/sts/niso_sts/chem_struct.rb +6 -0
  34. data/lib/sts/niso_sts/code.rb +3 -0
  35. data/lib/sts/niso_sts/collab.rb +6 -0
  36. data/lib/sts/niso_sts/comment.rb +6 -0
  37. data/lib/sts/niso_sts/compound_kwd_part.rb +6 -0
  38. data/lib/sts/niso_sts/conf_theme.rb +6 -0
  39. data/lib/sts/niso_sts/copyright_statement.rb +6 -0
  40. data/lib/sts/niso_sts/corresp.rb +6 -0
  41. data/lib/sts/niso_sts/def_head.rb +6 -0
  42. data/lib/sts/niso_sts/ext_link.rb +6 -0
  43. data/lib/sts/niso_sts/funding_source.rb +6 -0
  44. data/lib/sts/niso_sts/funding_statement.rb +6 -0
  45. data/lib/sts/niso_sts/gov.rb +6 -0
  46. data/lib/sts/niso_sts/inline_supplementary_material.rb +6 -0
  47. data/lib/sts/niso_sts/intro.rb +6 -0
  48. data/lib/sts/niso_sts/kwd.rb +6 -0
  49. data/lib/sts/niso_sts/label.rb +6 -0
  50. data/lib/sts/niso_sts/license_p.rb +6 -0
  51. data/lib/sts/niso_sts/main.rb +6 -0
  52. data/lib/sts/niso_sts/mixed_citation.rb +6 -0
  53. data/lib/sts/niso_sts/monospace.rb +6 -0
  54. data/lib/sts/niso_sts/named_content.rb +18 -0
  55. data/lib/sts/niso_sts/on_behalf_of.rb +6 -0
  56. data/lib/sts/niso_sts/overline.rb +6 -0
  57. data/lib/sts/niso_sts/paragraph.rb +5 -0
  58. data/lib/sts/niso_sts/preformat.rb +6 -0
  59. data/lib/sts/niso_sts/product.rb +6 -0
  60. data/lib/sts/niso_sts/reference_standard.rb +6 -0
  61. data/lib/sts/niso_sts/related_article.rb +6 -0
  62. data/lib/sts/niso_sts/related_object.rb +6 -0
  63. data/lib/sts/niso_sts/roman.rb +6 -0
  64. data/lib/sts/niso_sts/sans_serif.rb +6 -0
  65. data/lib/sts/niso_sts/sc.rb +6 -0
  66. data/lib/sts/niso_sts/see.rb +6 -0
  67. data/lib/sts/niso_sts/see_also.rb +6 -0
  68. data/lib/sts/niso_sts/see_also_entry.rb +6 -0
  69. data/lib/sts/niso_sts/see_entry.rb +6 -0
  70. data/lib/sts/niso_sts/series.rb +6 -0
  71. data/lib/sts/niso_sts/series_text.rb +6 -0
  72. data/lib/sts/niso_sts/series_title.rb +6 -0
  73. data/lib/sts/niso_sts/sig.rb +6 -0
  74. data/lib/sts/niso_sts/speaker.rb +6 -0
  75. data/lib/sts/niso_sts/strike.rb +6 -0
  76. data/lib/sts/niso_sts/string_conf.rb +6 -0
  77. data/lib/sts/niso_sts/sub.rb +6 -0
  78. data/lib/sts/niso_sts/subject.rb +6 -0
  79. data/lib/sts/niso_sts/subtitle.rb +6 -0
  80. data/lib/sts/niso_sts/sup.rb +6 -0
  81. data/lib/sts/niso_sts/supplement.rb +6 -0
  82. data/lib/sts/niso_sts/target.rb +3 -0
  83. data/lib/sts/niso_sts/term.rb +3 -0
  84. data/lib/sts/niso_sts/term_head.rb +6 -0
  85. data/lib/sts/niso_sts/textual_form.rb +6 -0
  86. data/lib/sts/niso_sts/title.rb +6 -0
  87. data/lib/sts/niso_sts/title_full.rb +6 -0
  88. data/lib/sts/niso_sts/trans_source.rb +6 -0
  89. data/lib/sts/niso_sts/trans_title.rb +6 -0
  90. data/lib/sts/niso_sts/underline.rb +6 -0
  91. data/lib/sts/niso_sts/verse_line.rb +6 -0
  92. data/lib/sts/version.rb +1 -1
  93. metadata +2 -2
@@ -5,12 +5,18 @@ module Sts
5
5
  class ChemStruct < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "chem-struct"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -26,6 +26,8 @@ module Sts
26
26
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
27
27
  attribute :ext_link, ::Sts::NisoSts::ExtLink, collection: true
28
28
  attribute :uri, ::Sts::NisoSts::Uri, collection: true
29
+ attribute :target, ::Sts::NisoSts::Target,
30
+ collection: true
29
31
 
30
32
  xml do
31
33
  element "code"
@@ -55,6 +57,7 @@ module Sts
55
57
  map_element "xref", to: :xref
56
58
  map_element "ext-link", to: :ext_link
57
59
  map_element "uri", to: :uri
60
+ map_element "target", to: :target
58
61
  end
59
62
  end
60
63
 
@@ -14,6 +14,10 @@ module Sts
14
14
  attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
15
15
  attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
16
16
  attribute :underline, ::Sts::NisoSts::Underline, collection: true
17
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
18
+ collection: true
19
+ attribute :target, ::Sts::NisoSts::Target,
20
+ collection: true
17
21
 
18
22
  xml do
19
23
  element "collab"
@@ -30,6 +34,8 @@ module Sts
30
34
  map_element "italic", to: :italic
31
35
  map_element "underline", to: :underline
32
36
  map_content to: :content
37
+ map_element "named-content", to: :named_content
38
+ map_element "target", to: :target
33
39
  end
34
40
  end
35
41
  end
@@ -5,12 +5,18 @@ module Sts
5
5
  class Comment < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "comment"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -8,6 +8,10 @@ module Sts
8
8
  attribute :kwd_part_type, :string
9
9
  attribute :value, :string
10
10
  attribute :content, :string, collection: true
11
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
12
+ collection: true
13
+ attribute :target, ::Sts::NisoSts::Target,
14
+ collection: true
11
15
  xml do
12
16
  element "compound-kwd-part"
13
17
  mixed_content
@@ -17,6 +21,8 @@ module Sts
17
21
  map_attribute "kwd-part-type", to: :kwd_part_type
18
22
  map_attribute "value", to: :value
19
23
  map_content to: :content
24
+ map_element "named-content", to: :named_content
25
+ map_element "target", to: :target
20
26
  end
21
27
  end
22
28
  end
@@ -5,12 +5,18 @@ module Sts
5
5
  class ConfTheme < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "conf-theme"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -5,12 +5,18 @@ module Sts
5
5
  class CopyrightStatement < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "copyright-statement"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -6,6 +6,10 @@ module Sts
6
6
  attribute :id, :string
7
7
  attribute :xml_lang, :string
8
8
  attribute :content, :string, collection: true
9
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
10
+ collection: true
11
+ attribute :target, ::Sts::NisoSts::Target,
12
+ collection: true
9
13
  xml do
10
14
  element "corresp"
11
15
  mixed_content
@@ -13,6 +17,8 @@ module Sts
13
17
  map_attribute "id", to: :id
14
18
  map_attribute "xml:lang", to: :xml_lang
15
19
  map_content to: :content
20
+ map_element "named-content", to: :named_content
21
+ map_element "target", to: :target
16
22
  end
17
23
  end
18
24
  end
@@ -5,6 +5,10 @@ module Sts
5
5
  class DefHead < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
 
9
13
  xml do
10
14
  element "def-head"
@@ -12,6 +16,8 @@ module Sts
12
16
 
13
17
  map_attribute "id", to: :id
14
18
  map_content to: :content
19
+ map_element "named-content", to: :named_content
20
+ map_element "target", to: :target
15
21
  end
16
22
  end
17
23
  end
@@ -20,6 +20,10 @@ module Sts
20
20
  attribute :sub, ::Sts::NisoSts::Sub, collection: true
21
21
  attribute :sup, ::Sts::NisoSts::Sup, collection: true
22
22
  attribute :inline_formula, ::Sts::NisoSts::InlineFormula, collection: true
23
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
24
+ collection: true
25
+ attribute :target, ::Sts::NisoSts::Target,
26
+ collection: true
23
27
 
24
28
  xml do
25
29
  element "ext-link"
@@ -44,6 +48,8 @@ module Sts
44
48
  map_element "sub", to: :sub
45
49
  map_element "sup", to: :sup
46
50
  map_element "inline-formula", to: :inline_formula
51
+ map_element "named-content", to: :named_content
52
+ map_element "target", to: :target
47
53
  end
48
54
  end
49
55
  end
@@ -10,6 +10,10 @@ module Sts
10
10
  attribute :institution_id_type, :string
11
11
  attribute :xlink_href, :string
12
12
  attribute :content, :string, collection: true
13
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
14
+ collection: true
15
+ attribute :target, ::Sts::NisoSts::Target,
16
+ collection: true
13
17
  xml do
14
18
  element "funding-source"
15
19
  map_attribute "id", to: :id
@@ -21,6 +25,8 @@ module Sts
21
25
  map_attribute "institution-id-type", to: :institution_id_type
22
26
  map_attribute "xlink:href", to: :xlink_href
23
27
  map_content to: :content
28
+ map_element "named-content", to: :named_content
29
+ map_element "target", to: :target
24
30
  end
25
31
  end
26
32
  end
@@ -6,6 +6,10 @@ module Sts
6
6
  attribute :id, :string
7
7
  attribute :rid, :string
8
8
  attribute :content, :string, collection: true
9
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
10
+ collection: true
11
+ attribute :target, ::Sts::NisoSts::Target,
12
+ collection: true
9
13
  xml do
10
14
  element "funding-statement"
11
15
  mixed_content
@@ -13,6 +17,8 @@ module Sts
13
17
  map_attribute "id", to: :id
14
18
  map_attribute "rid", to: :rid
15
19
  map_content to: :content
20
+ map_element "named-content", to: :named_content
21
+ map_element "target", to: :target
16
22
  end
17
23
  end
18
24
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :content, :string, collection: true
8
8
  attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
9
9
  attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
 
11
15
  xml do
12
16
  element "gov"
@@ -16,6 +20,8 @@ module Sts
16
20
  map_content to: :content
17
21
  map_element "bold", to: :bold
18
22
  map_element "italic", to: :italic
23
+ map_element "named-content", to: :named_content
24
+ map_element "target", to: :target
19
25
  end
20
26
  end
21
27
  end
@@ -15,6 +15,10 @@ module Sts
15
15
  attribute :xlink_show, :string
16
16
  attribute :xlink_title, :string
17
17
  attribute :content, :string, collection: true
18
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
19
+ collection: true
20
+ attribute :target, ::Sts::NisoSts::Target,
21
+ collection: true
18
22
  xml do
19
23
  element "inline-supplementary-material"
20
24
  mixed_content
@@ -31,6 +35,8 @@ module Sts
31
35
  map_attribute "xlink:show", to: :xlink_show
32
36
  map_attribute "xlink:title", to: :xlink_title
33
37
  map_content to: :content
38
+ map_element "named-content", to: :named_content
39
+ map_element "target", to: :target
34
40
  end
35
41
  end
36
42
  end
@@ -5,12 +5,18 @@ module Sts
5
5
  class Intro < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "intro"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -9,6 +9,10 @@ module Sts
9
9
  attribute :xml_lang, :string
10
10
  attribute :specific_use, :string
11
11
  attribute :content, :string, collection: true
12
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
13
+ collection: true
14
+ attribute :target, ::Sts::NisoSts::Target,
15
+ collection: true
12
16
  xml do
13
17
  element "kwd"
14
18
  mixed_content
@@ -19,6 +23,8 @@ module Sts
19
23
  map_attribute "xml:lang", to: :xml_lang
20
24
  map_attribute "specific-use", to: :specific_use
21
25
  map_content to: :content
26
+ map_element "named-content", to: :named_content
27
+ map_element "target", to: :target
22
28
  end
23
29
  end
24
30
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :xml_lang, :string
8
8
  attribute :content, :string, collection: true
9
9
  attribute :sup, Sts::TbxIsoTml::Sup, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
 
11
15
  xml do
12
16
  element "label"
@@ -16,6 +20,8 @@ module Sts
16
20
  map_attribute "xml:lang", to: :xml_lang
17
21
  map_content to: :content
18
22
  map_element "sup", to: :sup
23
+ map_element "named-content", to: :named_content
24
+ map_element "target", to: :target
19
25
  end
20
26
  end
21
27
  end
@@ -5,12 +5,18 @@ module Sts
5
5
  class LicenseP < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "license-p"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -5,12 +5,18 @@ module Sts
5
5
  class Main < Lutaml::Model::Serializable
6
6
  attribute :id, :string
7
7
  attribute :content, :string, collection: true
8
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
9
+ collection: true
10
+ attribute :target, ::Sts::NisoSts::Target,
11
+ collection: true
8
12
  xml do
9
13
  element "main"
10
14
  map_attribute "id", to: :id
11
15
  mixed_content
12
16
 
13
17
  map_content to: :content
18
+ map_element "named-content", to: :named_content
19
+ map_element "target", to: :target
14
20
  end
15
21
  end
16
22
  end
@@ -67,6 +67,10 @@ module Sts
67
67
  attribute :uri, ::Sts::NisoSts::Uri, collection: true
68
68
  attribute :underline, ::Sts::NisoSts::Underline, collection: true
69
69
  attribute :break, ::Sts::NisoSts::Break, collection: true
70
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
71
+ collection: true
72
+ attribute :target, ::Sts::NisoSts::Target,
73
+ collection: true
70
74
 
71
75
  xml do
72
76
  element "mixed-citation"
@@ -136,6 +140,8 @@ module Sts
136
140
  map_element "uri", to: :uri
137
141
  map_element "underline", to: :underline
138
142
  map_element "break", to: :break
143
+ map_element "named-content", to: :named_content
144
+ map_element "target", to: :target
139
145
  end
140
146
  end
141
147
  end
@@ -11,6 +11,10 @@ module Sts
11
11
  attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
12
12
  attribute :underline, ::Sts::NisoSts::Underline, collection: true
13
13
  attribute :styled_content, ::Sts::NisoSts::StyledContent, collection: true
14
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
15
+ collection: true
16
+ attribute :target, ::Sts::NisoSts::Target,
17
+ collection: true
14
18
 
15
19
  xml do
16
20
  element "monospace"
@@ -24,6 +28,8 @@ module Sts
24
28
  map_element "italic", to: :italic
25
29
  map_element "underline", to: :underline
26
30
  map_element "styled-content", to: :styled_content
31
+ map_element "named-content", to: :named_content
32
+ map_element "target", to: :target
27
33
  end
28
34
  end
29
35
  end
@@ -29,6 +29,18 @@ module Sts
29
29
  attribute :fn, ::Sts::NisoSts::Fn, collection: true
30
30
  attribute :target, ::Sts::NisoSts::Target, collection: true
31
31
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
32
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
33
+ collection: true
34
+ attribute :std, ::Sts::NisoSts::ReferenceStandard,
35
+ collection: true
36
+ attribute :monospace, ::Sts::NisoSts::Monospace,
37
+ collection: true
38
+ attribute :sc, ::Sts::NisoSts::Sc,
39
+ collection: true
40
+ attribute :strike, ::Sts::NisoSts::Strike,
41
+ collection: true
42
+ attribute :underline, ::Sts::NisoSts::Underline,
43
+ collection: true
32
44
 
33
45
  xml do
34
46
  element "named-content"
@@ -61,6 +73,12 @@ module Sts
61
73
  map_element "fn", to: :fn
62
74
  map_element "target", to: :target
63
75
  map_element "xref", to: :xref
76
+ map_element "named-content", to: :named_content
77
+ map_element "std", to: :std
78
+ map_element "monospace", to: :monospace
79
+ map_element "sc", to: :sc
80
+ map_element "strike", to: :strike
81
+ map_element "underline", to: :underline
64
82
  end
65
83
  end
66
84
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :content, :string, collection: true
8
8
  attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
9
9
  attribute :italic, ::Sts::TbxIsoTml::Italic, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
 
11
15
  xml do
12
16
  element "on-behalf-of"
@@ -16,6 +20,8 @@ module Sts
16
20
  map_content to: :content
17
21
  map_element "bold", to: :bold
18
22
  map_element "italic", to: :italic
23
+ map_element "named-content", to: :named_content
24
+ map_element "target", to: :target
19
25
  end
20
26
  end
21
27
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :specific_use, :string
8
8
  attribute :toggle, :string
9
9
  attribute :content, :string, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
  xml do
11
15
  element "overline"
12
16
  mixed_content
@@ -15,6 +19,8 @@ module Sts
15
19
  map_attribute "specific-use", to: :specific_use
16
20
  map_attribute "toggle", to: :toggle
17
21
  map_content to: :content
22
+ map_element "named-content", to: :named_content
23
+ map_element "target", to: :target
18
24
  end
19
25
  end
20
26
  end
@@ -35,6 +35,9 @@ module Sts
35
35
  attribute :preformat, ::Sts::NisoSts::Preformat, collection: true
36
36
  attribute :array, ::Sts::NisoSts::SectionArray, collection: true
37
37
  attribute :overline, ::Sts::NisoSts::Overline, collection: true
38
+ attribute :target, ::Sts::NisoSts::Target, collection: true
39
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
40
+ collection: true
38
41
 
39
42
  xml do
40
43
  element "p"
@@ -70,6 +73,8 @@ module Sts
70
73
  map_element "preformat", to: :preformat
71
74
  map_element "array", to: :array
72
75
  map_element "overline", to: :overline
76
+ map_element "target", to: :target
77
+ map_element "named-content", to: :named_content
73
78
  end
74
79
  end
75
80
  end
@@ -24,6 +24,10 @@ module Sts
24
24
  attribute :ext_link, ::Sts::NisoSts::ExtLink, collection: true
25
25
  attribute :inline_formula, ::Sts::NisoSts::InlineFormula, collection: true
26
26
  attribute :break, ::Sts::NisoSts::Break, collection: true
27
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
28
+ collection: true
29
+ attribute :target, ::Sts::NisoSts::Target,
30
+ collection: true
27
31
 
28
32
  xml do
29
33
  element "preformat"
@@ -50,6 +54,8 @@ module Sts
50
54
  map_element "ext-link", to: :ext_link
51
55
  map_element "inline-formula", to: :inline_formula
52
56
  map_element "break", to: :break
57
+ map_element "named-content", to: :named_content
58
+ map_element "target", to: :target
53
59
  end
54
60
  end
55
61
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :product_type, :string
8
8
  attribute :xlink_href, :string
9
9
  attribute :content, :string, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
  xml do
11
15
  element "product"
12
16
  map_attribute "id", to: :id
@@ -15,6 +19,8 @@ module Sts
15
19
  map_attribute "product-type", to: :product_type
16
20
  map_attribute "xlink:href", to: :xlink_href
17
21
  map_content to: :content
22
+ map_element "named-content", to: :named_content
23
+ map_element "target", to: :target
18
24
  end
19
25
  end
20
26
  end
@@ -13,6 +13,10 @@ module Sts
13
13
  attribute :std_id_group, ::Sts::NisoSts::StdIdGroup, collection: true
14
14
  attribute :xref, ::Sts::TbxIsoTml::Xref, collection: true
15
15
  attribute :bold, ::Sts::TbxIsoTml::Bold, collection: true
16
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
17
+ collection: true
18
+ attribute :target, ::Sts::NisoSts::Target,
19
+ collection: true
16
20
 
17
21
  xml do
18
22
  element "std"
@@ -30,6 +34,8 @@ module Sts
30
34
  map_element "bold", to: :bold
31
35
 
32
36
  map_content to: :content
37
+ map_element "named-content", to: :named_content
38
+ map_element "target", to: :target
33
39
  end
34
40
  end
35
41
  end
@@ -8,6 +8,10 @@ module Sts
8
8
  attribute :href, :xlink_href
9
9
  attribute :id, :string
10
10
  attribute :related_article_type, :string
11
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
12
+ collection: true
13
+ attribute :target, ::Sts::NisoSts::Target,
14
+ collection: true
11
15
 
12
16
  xml do
13
17
  element "related-article"
@@ -18,6 +22,8 @@ module Sts
18
22
  map_attribute "xlink:href", to: :href
19
23
  map_attribute "id", to: :id
20
24
  map_attribute "related-article-type", to: :related_article_type
25
+ map_element "named-content", to: :named_content
26
+ map_element "target", to: :target
21
27
  end
22
28
  end
23
29
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :ext_link_type, :string
8
8
  attribute :href, :xlink_href
9
9
  attribute :id, :string
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
 
11
15
  xml do
12
16
  element "related-object"
@@ -16,6 +20,8 @@ module Sts
16
20
  map_attribute "ext-link-type", to: :ext_link_type
17
21
  map_attribute "xlink:href", to: :href
18
22
  map_attribute "id", to: :id
23
+ map_element "named-content", to: :named_content
24
+ map_element "target", to: :target
19
25
  end
20
26
  end
21
27
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :specific_use, :string
8
8
  attribute :toggle, :string
9
9
  attribute :content, :string, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
  xml do
11
15
  element "roman"
12
16
  mixed_content
@@ -15,6 +19,8 @@ module Sts
15
19
  map_attribute "specific-use", to: :specific_use
16
20
  map_attribute "toggle", to: :toggle
17
21
  map_content to: :content
22
+ map_element "named-content", to: :named_content
23
+ map_element "target", to: :target
18
24
  end
19
25
  end
20
26
  end
@@ -7,6 +7,10 @@ module Sts
7
7
  attribute :specific_use, :string
8
8
  attribute :toggle, :string
9
9
  attribute :content, :string, collection: true
10
+ attribute :named_content, ::Sts::NisoSts::NamedContent,
11
+ collection: true
12
+ attribute :target, ::Sts::NisoSts::Target,
13
+ collection: true
10
14
  xml do
11
15
  element "sans-serif"
12
16
  mixed_content
@@ -15,6 +19,8 @@ module Sts
15
19
  map_attribute "specific-use", to: :specific_use
16
20
  map_attribute "toggle", to: :toggle
17
21
  map_content to: :content
22
+ map_element "named-content", to: :named_content
23
+ map_element "target", to: :target
18
24
  end
19
25
  end
20
26
  end