327 <ref name="label.content"/> |
324 <ref name="label.content"/> |
328 </element> |
325 </element> |
329 </define> |
326 </define> |
330 <define name="label.content"> |
327 <define name="label.content"> |
331 <ref name="inlines"/> |
328 <ref name="inlines"/> |
332 </define> |
|
333 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ source ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
|
334 <!-- ~~~~~~ source --> |
|
335 <define name="source"> |
|
336 <element name="source"> |
|
337 <choice> |
|
338 <group> |
|
339 <attribute name="type"> |
|
340 <value>book</value> |
|
341 </attribute> |
|
342 <ref name="source.content.book"/> |
|
343 </group> |
|
344 <group> |
|
345 <attribute name="type"> |
|
346 <value>file</value> |
|
347 </attribute> |
|
348 <ref name="source.content.file"/> |
|
349 </group> |
|
350 </choice> |
|
351 </element> |
|
352 </define> |
|
353 <define name="source.content.book"> |
|
354 <ref name="identifier.ean"/> |
|
355 <optional> |
|
356 <ref name="title"/> |
|
357 </optional> |
|
358 <zeroOrMore> |
|
359 <ref name="pagenumber"/> |
|
360 </zeroOrMore> |
|
361 </define> |
|
362 <define name="source.content.file"> |
|
363 <ref name="identifier.uri"/> |
|
364 </define> |
|
365 <!-- ~~~~~~ pagenumber --> |
|
366 <define name="pagenumber"> |
|
367 <element name="pagenumber"> |
|
368 <ref name="pagenumber.attributes"/> |
|
369 </element> |
|
370 </define> |
|
371 <define name="pagenumber.attributes"> |
|
372 <ref name="pagenumber.value.attribute"/> |
|
373 </define> |
|
374 <define name="pagenumber.value.attribute"> |
|
375 <attribute name="value"> |
|
376 <ref name="pagenumber.value.enumeration"/> |
|
377 </attribute> |
|
378 </define> |
|
379 <define name="pagenumber.value.enumeration"> |
|
380 <data type="positiveInteger"/> |
|
381 </define> |
329 </define> |
382 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cover ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
330 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cover ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --> |
383 <define name="cover"> |
331 <define name="cover"> |
384 <element name="cover"> |
332 <element name="cover"> |
385 <ref name="cover.content"/> |
333 <ref name="cover.content"/> |