csd-html 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2a846e0952a555b012a7c54e017cecade57c8043
4
+ data.tar.gz: 8019730bf22cf175dd364c318a1bd5c038fd0fa1
5
+ SHA512:
6
+ metadata.gz: a924050b279bfbca9bf8cdc886d80d5d958b52d8afeb4bc9b143e4d993e9f3f7ab56af04c4d47117c065e3aba606e41049c5e3cf69254040297f2a6a34224069
7
+ data.tar.gz: a32f984d358797cbefb1c782cb5daa2ab92489939bbf65f2ddabf4ea9ad4bc3c044c466f8391d4f064d95330631731c1d342e640bd463b381edabde91f9d6493
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.3
5
+ before_install: gem install bundler -v 1.16.1
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at ronald.tse@ribose.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in csd-html.gemspec
6
+ gemspec
data/README.adoc ADDED
@@ -0,0 +1 @@
1
+ = CSD-HTML
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Csd::Html
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/csd/html`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'csd-html'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install csd-html
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/csd-html. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Code of Conduct
38
+
39
+ Everyone interacting in the Csd::Html project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/csd-html/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "csd/html"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/csd-html.gemspec ADDED
@@ -0,0 +1,32 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "csd/html/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "csd-html"
8
+ spec.version = Csd::Html::VERSION
9
+ spec.authors = ["Ribose Inc."]
10
+ spec.email = ["open.source@ribose.com"]
11
+
12
+ spec.summary = "csd-html lets you convert CSD XML into HTML."
13
+ spec.description = <<~DESCRIPTION
14
+ csd-html lets you convert CSD XML into HTML.
15
+
16
+ This gem is in active development.
17
+ DESCRIPTION
18
+
19
+ spec.homepage = "https://github.com/riboseinc/csd-html"
20
+ spec.license = "MIT"
21
+
22
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
23
+ f.match(%r{^(test|spec|features)/})
24
+ end
25
+ spec.bindir = "exe"
26
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_development_dependency "bundler", "~> 1.16"
30
+ spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rspec", "~> 3.0"
32
+ end
data/csd.make.sh ADDED
@@ -0,0 +1,8 @@
1
+ if [[ ! -d jing-trang ]]; then
2
+ git clone https://github.com/relaxng/jing-trang.git
3
+ fi
4
+ cd jing-trang
5
+ ./ant
6
+ cd ..
7
+ java -jar jing-trang/build/trang.jar -I rnc -O rng csd.rnc csd.rng
8
+
data/csd.rnc ADDED
@@ -0,0 +1,609 @@
1
+ default namespace = "http://riboseinc.com/isoxml"
2
+
3
+ grammar {
4
+
5
+ start = iso-standard
6
+
7
+ iso-standard =
8
+ element iso-standard {
9
+ title+,
10
+ documentstatus,
11
+ creator,
12
+ language,
13
+ script,
14
+ documenttype,
15
+ id,
16
+ version?,
17
+ copyright,
18
+ sections
19
+ }
20
+
21
+ language =
22
+ element language { ( "en" | "fr" ) }
23
+
24
+ script =
25
+ element script { "latn" }
26
+
27
+ version =
28
+ element version {
29
+ edition?,
30
+ revdate?
31
+ }
32
+
33
+ copyright =
34
+ element copyright {
35
+ from, owner
36
+ }
37
+
38
+ from = element from { xsd:gYear }
39
+
40
+ owner =
41
+ element owner {
42
+ owner-affiliation
43
+ }
44
+
45
+ owner-affiliation = element affiliation { "ISO" }
46
+
47
+ id =
48
+ element id {
49
+ documentnumber,
50
+ tc-documentnumber?
51
+ }
52
+
53
+ creator =
54
+ element creator {
55
+ attribute role { text },
56
+ technical-committee,
57
+ subcommittee?,
58
+ workgroup?,
59
+ secretariat?
60
+ }
61
+
62
+ documenttype =
63
+ element type {
64
+ ( "international-standard" | "technical-specification" |
65
+ "technical-report" | "publicly-available-specification" |
66
+ "international-workshop-agreement" | "guide" )
67
+ }
68
+
69
+ documentstatus =
70
+ element status {
71
+ stage,
72
+ substage?
73
+ }
74
+
75
+ stage =
76
+ element stage {
77
+ ("00" | "10" | "20" | "30" | "40" | "50" | "60" | "90" | "95" )
78
+ }
79
+
80
+ substage =
81
+ element substage {
82
+ ("00" | "20" | "60" | "90" | "92" | "93" | "98" | "99" )
83
+ }
84
+
85
+ documentnumber =
86
+ element projectnumber {
87
+ attribute part { xsd:int }?,
88
+ xsd:int
89
+ }
90
+
91
+ tc-documentnumber =
92
+ element tc-documentnumber {
93
+ xsd:int
94
+ }
95
+
96
+ technical-committee =
97
+ element technical-committee {
98
+ attribute number { xsd:int }?,
99
+ text
100
+ }
101
+
102
+ subcommittee =
103
+ element subcommittee {
104
+ attribute number { xsd:int }?,
105
+ text
106
+ }
107
+
108
+ workgroup =
109
+ element workgroup {
110
+ attribute number { xsd:int }?,
111
+ text
112
+ }
113
+
114
+ secretariat =
115
+ element secretariat { text }
116
+
117
+ revdate =
118
+ element revision-date { xsd:date }
119
+
120
+ edition =
121
+ element edition { xsd:int }
122
+
123
+ title =
124
+ element title {
125
+ attribute language { text },
126
+ title-intro?, title-main, title-part?
127
+ }
128
+
129
+ title-intro =
130
+ element title-intro { text }
131
+
132
+ title-main =
133
+ element title-main { text }
134
+
135
+ title-part =
136
+ element title-part { text }
137
+
138
+ sections =
139
+ element sections {
140
+ content, content?,
141
+ clause, references, terms, clause+,
142
+ annex*, references?
143
+ }
144
+
145
+ content =
146
+ element content { Content-Section }
147
+
148
+ content-subsection =
149
+ element subsection { Content-Section }
150
+
151
+ Content-Section =
152
+ attribute id { xsd:ID }?,
153
+ section-title?,
154
+ ( BasicBlock+ |
155
+ content-subsection+ )
156
+
157
+ clause =
158
+ element clause { Clause-Section }
159
+
160
+ Clause-Section =
161
+ attribute id { xsd:ID }?,
162
+ section-title?,
163
+ (
164
+ BasicBlock+ |
165
+ clause-subsection+
166
+ )
167
+
168
+ clause-subsection =
169
+ element subsection { Clause-Section }
170
+
171
+ references =
172
+ element references {
173
+ attribute id { xsd:ID }?,
174
+ section-title?,
175
+ bibitem*,
176
+ references*
177
+ }
178
+
179
+ terms =
180
+ element terms {
181
+ attribute id { xsd:ID }?,
182
+ section-title?,
183
+ # boilerplate
184
+ para*, ul?,
185
+ (term+ | terms? )
186
+ }
187
+
188
+ term =
189
+ element term {
190
+ attribute id { xsd:ID }?,
191
+ preferred, admitted*, deprecates*,
192
+ termdomain?, definition?, termnote*, termexample*, termsource*
193
+ }
194
+
195
+ preferred =
196
+ element preferred { TextElement+ }
197
+
198
+ admitted =
199
+ element admitted { TextElement+ }
200
+
201
+ deprecates =
202
+ element deprecates { TextElement+ }
203
+
204
+ termdomain =
205
+ element domain { TextElement+ }
206
+
207
+ definition =
208
+ element definition {
209
+ ( para-no-fn | figure | formula )+
210
+ }
211
+
212
+ termnote =
213
+ element termnote {
214
+ attribute id { xsd:ID },
215
+ (text | xref | eref | link)*
216
+ }
217
+
218
+ termexample =
219
+ element termexample {
220
+ attribute id { xsd:ID },
221
+ BasicBlock
222
+ }
223
+
224
+ termsource =
225
+ element termsource {
226
+ attribute status { ( "identical" | "modified" ) },
227
+ origin, modification?
228
+ }
229
+
230
+ origin =
231
+ element origin {
232
+ attribute citeas { text },
233
+ CitationType
234
+ }
235
+
236
+ modification =
237
+ element modification { para-no-fn }
238
+
239
+ BasicBlock =
240
+ ( para | table | note | formula | admonition | ol | ul | dl | figure |
241
+ quote | sourcecode | example )
242
+
243
+ clause-hanging-para =
244
+ element subsection {
245
+ attribute id { xsd:ID }?,
246
+ section-title?,
247
+ # allow hanging paragraphs in annexes: they introduce lists
248
+ BasicBlock*,
249
+ clause-hanging-para*
250
+ }
251
+
252
+ quote =
253
+ element quote {
254
+ attribute id { xsd:ID },
255
+ attribute align { Alignments }?,
256
+ quote-source?,
257
+ quote-author?,
258
+ BasicBlock*
259
+ }
260
+
261
+ quote-source =
262
+ element source { CitationType }
263
+
264
+ quote-author =
265
+ element author { CreatorInfo }
266
+
267
+
268
+ annex =
269
+ element annex {
270
+ attribute id { xsd:ID }?,
271
+ attribute subtype { "normative" | "informative" }?,
272
+ section-title?,
273
+ # allow hanging paragraphs in annexes: they introduce lists
274
+ #( para | table | note | formula | admonition | ol | ul | dl | figure | quote | sourcecode | review | example )*,
275
+ BasicBlock*,
276
+ clause-hanging-para*
277
+ }
278
+
279
+ TextElement =
280
+ text | em | eref | link | strong | stem | sub | sup | tt | strike |
281
+ smallcap | xref | br | hr | pagebreak
282
+
283
+ Alignments = ( "left" | "center" | "right" | "justified" )
284
+
285
+ para =
286
+ element p {
287
+ attribute id { xsd:ID },
288
+ attribute align { Alignments }?,
289
+ ( TextElement | fn )*,
290
+ review*
291
+ }
292
+
293
+ para-no-fn =
294
+ element p {
295
+ attribute id { xsd:ID },
296
+ attribute align { Alignments }?,
297
+ ( TextElement )*,
298
+ review*
299
+ }
300
+
301
+ figure =
302
+ element figure {
303
+ attribute id { xsd:ID },
304
+ tname?,
305
+ ( image | figure+ ),
306
+ fn*,
307
+ dl?,
308
+ note*
309
+ }
310
+
311
+ image =
312
+ element image {
313
+ attribute src { text }?,
314
+ attribute id { xsd:ID },
315
+ attribute imagetype { text },
316
+ attribute width {xsd:int}?,
317
+ attribute height {xsd:int}?
318
+ }
319
+
320
+ sourcecode =
321
+ element sourcecode {
322
+ attribute id { xsd:ID },
323
+ tname?,
324
+ ( text | callout )*,
325
+ annotation*
326
+ }
327
+
328
+ review =
329
+ element review {
330
+ attribute reviewer { text },
331
+ attribute date { text },
332
+ text
333
+ }
334
+
335
+ callout =
336
+ element callout {
337
+ attribute target { xsd:IDREF },
338
+ text
339
+ }
340
+
341
+ annotation =
342
+ element annotation {
343
+ attribute id { xsd:ID },
344
+ text
345
+ }
346
+
347
+ fn =
348
+ element fn {
349
+ attribute reference { text },
350
+ para-no-fn+
351
+ }
352
+
353
+ ol =
354
+ element ol {
355
+ attribute id { xsd:ID },
356
+ attribute type {
357
+ ( "roman" | "alphabet" | "arabic" | "roman_upper" | "alphabet_upper" ) },
358
+ li+
359
+ }
360
+
361
+ ul =
362
+ element ul {
363
+ attribute id { xsd:ID },
364
+ li+
365
+ }
366
+
367
+ li =
368
+ element li {
369
+ #( para | table | note | formula | admonition | ol | ul | dl | quote | sourcecode | review | example )+
370
+ BasicBlock+
371
+ # exclude figures?
372
+ }
373
+
374
+ dl =
375
+ element dl {
376
+ attribute id { xsd:ID },
377
+ (dt, dd)+
378
+ }
379
+
380
+ dt =
381
+ element dt {
382
+ ( TextElement )
383
+ }
384
+
385
+ dd =
386
+ element dd {
387
+ #( para | table | note | formula | admonition | ol | ul | dl | quote | sourcecode | review | example )*
388
+ # exclude figures?
389
+ BasicBlock+
390
+ }
391
+
392
+ note =
393
+ element note {
394
+ attribute id { xsd:ID },
395
+ para+
396
+ }
397
+
398
+ admonition =
399
+ element admonition {
400
+ attribute id { xsd:ID },
401
+ attribute type {
402
+ ( "danger" | "caution" | "warning" | "important" | "safety precautions" )},
403
+ para+
404
+ }
405
+
406
+ formula =
407
+ element formula {
408
+ attribute id { xsd:ID },
409
+ stem,
410
+ dl?
411
+ }
412
+
413
+ example =
414
+ element example {
415
+ attribute id { xsd:ID },
416
+ ( para | formula | ol | ul | dl | quote | sourcecode | review )+
417
+ }
418
+
419
+ xref =
420
+ element xref {
421
+ attribute target { xsd:IDREF },
422
+ text
423
+ }
424
+
425
+ link =
426
+ element link {
427
+ attribute target {xsd:anyURI},
428
+ text
429
+ }
430
+
431
+ ReferenceFormat = ( "external" | "inline" | "footnote" | "callout" )
432
+
433
+ eref =
434
+ element eref {
435
+ attribute type { ReferenceFormat }?,
436
+ attribute normative { xsd:boolean }?,
437
+ attribute citeas { text },
438
+ CitationType,
439
+ text
440
+ }
441
+
442
+ br = element br { empty }
443
+ hr = element hr { empty }
444
+ pagebreak = element pagebreak { empty }
445
+
446
+ em =
447
+ element em { text }
448
+
449
+ strong =
450
+ element strong { text }
451
+
452
+ stem =
453
+ element stem {
454
+ attribute type { "MathML" },
455
+ text
456
+ }
457
+
458
+ sub =
459
+ element sub { text }
460
+
461
+ sup =
462
+ element sup { text }
463
+
464
+ tt =
465
+ element tt { text }
466
+
467
+ strike = element strike { text }
468
+
469
+ smallcap = element smallcap { text }
470
+
471
+ table =
472
+ element table {
473
+ attribute id { xsd:ID },
474
+ tname?, thead?, tbody, tfoot?, dl?, note*
475
+ }
476
+
477
+ tname =
478
+ element name { text }
479
+
480
+ section-title =
481
+ element title { text }
482
+
483
+ thead =
484
+ element thead { tr+ }
485
+
486
+ tbody =
487
+ element tbody { tr+ }
488
+
489
+ tfoot =
490
+ element tfoot { tr+ }
491
+
492
+ tr =
493
+ element tr { (td | th)+ }
494
+
495
+ th =
496
+ element th {
497
+ attribute colspan { text }?,
498
+ attribute rowspan { text }?,
499
+ attribute align { text }?,
500
+ ( TextElement | fn | para)*
501
+ }
502
+
503
+ td =
504
+ element td {
505
+ attribute colspan { text }?,
506
+ attribute rowspan { text }?,
507
+ attribute align { text }?,
508
+ ( TextElement | fn | para)*
509
+ }
510
+
511
+ CreatorInfo =
512
+ attribute role { text },
513
+ fullname?, affiliation?, person-identifier*
514
+
515
+ publisher =
516
+ element publisher { CreatorInfo }
517
+ # a publisher has a subset of the roles of a creator
518
+
519
+ fullname =
520
+ element fullname {
521
+ prefix*, forename*, initial*, surname, addition*
522
+ }
523
+
524
+ prefix = element prefix { text }
525
+ initial = element initial { text }
526
+ addition = element addition { text }
527
+ surname = element surname { text }
528
+ forename = element forename { text }
529
+
530
+ affiliation =
531
+ element affiliation { Organization }
532
+
533
+ Organization =
534
+ orgname, uri?, address?, org-identifier*
535
+
536
+ orgname =
537
+ element name { text }
538
+
539
+ uri =
540
+ element uri { text }
541
+
542
+ address =
543
+ element address {
544
+ # iso191606 TODO
545
+ street+, city, state?, country, postcode?
546
+ }
547
+
548
+ street = element street { text }
549
+ city = element city { text }
550
+ state = element state { text }
551
+ country = element country { text }
552
+ postcode = element postcode { text }
553
+
554
+ person-identifier =
555
+ element identifier {
556
+ attribute type { ("isni" | "uri") },
557
+ text
558
+ }
559
+
560
+ org-identifier =
561
+ element identifier {
562
+ attribute type { ("orcid" | "uri") },
563
+ text
564
+ }
565
+
566
+ CitationType =
567
+ attribute bibitemid { xsd:IDREF },
568
+ locality*, date?
569
+
570
+ date = element date { string }
571
+
572
+ locality =
573
+ element locality {
574
+ attribute type {
575
+ ( "section" | "clause" | "part" | "paragraph" | "chapter" | "page" |
576
+ "whole" ) },
577
+ text
578
+ }
579
+
580
+ bibitem =
581
+ element bibitem { BibItemType }
582
+
583
+ BibItemType =
584
+ attribute id { xsd:ID },
585
+ attribute type {
586
+ ( "article" | "book" | "booklet" | "conference" | "manual" |
587
+ "proceedings" | "presentation" | "thesis" | "techreport" | "standard" |
588
+ "unpublished" ) }?,
589
+ ( bname | formatted ),
590
+ source?, publishdate?, docidentifier*, accesseddate?, creator*,
591
+ publisher*, edition?, biblioNote*, partOf*, creationdate?, language*, script*,
592
+ abstract?
593
+
594
+ bname = element name { text }
595
+ formatted = element formatted { TextElement+ }
596
+ source = element source { xsd:anyURI }
597
+ publishdate = element publishdate { text }
598
+ docidentifier = element docidentifier { text }
599
+ accesseddate = element accesseddate { text }
600
+ creationdate = element creationdate { text }
601
+ abstract = element abstract { text }
602
+ biblioNote = element note { text }
603
+
604
+ partOf = element partOf { BibItemType }
605
+
606
+
607
+ }
608
+
609
+