OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook] RE: markup for mediaobject parameters



> -----Original Message-----
> From: Grosso, Paul [mailto:pgrosso@ptc.com]
> Sent: Friday, 2011 October 14 14:06
> To: docbook@lists.oasis-open.org
> Subject: [docbook] RE: markup for mediaobject parameters
> 

> So a proposed schema might look like (ignoring <info>, common
> atts, and not thinking much about attribute types):
> 
>  <xsd:element name="videoobject">
>     <xsd:complexType>
>       <xsd:sequence>
>         <xsd:element minOccurs="1" maxOccurs="1" ref="videodata"/>
>         <xsd:element minOccurs="0" maxOccurs="unbounded"
>                                        ref="multimediaparam"/>
>       </xsd:sequence>
>       <xsd:attribute name="depth" type="xsd:string"/>
>       <xsd:attribute name="width" type="xsd:string"/>
>       <xsd:attribute name="align" type="..."/>
>       <xsd:attribute name="valign" type="..."/>
>     </xsd:complexType>
>  </xsd:element>
> 
>  <xsd:element name="videodata">
>     <xsd:complexType>
>       <xsd:attribute name="fileref" type="xsd:string"/>
>       <xsd:attribute name="entityref" type="xsd:entity"/>
>       <xsd:attribute name="contentdepth" type="xsd:string"/>
>       <xsd:attribute name="contentwidth" type="xsd:string"/>
>       <xsd:attribute name="scale" type="xsd:string"/>
>       <xsd:attribute name="scalefit" type="xsd:string"/>
>       <xsd:attribute name="type" type="xsd:string"/>
>       <xsd:attribute name="classid" type="xsd:string"/>
>       <xsd:attribute name="autostart" type="xsd:string"/>
>     </xsd:complexType>
>   </xsd:element>
> 
>   <xsd:element name="multimediaparam">
>     <xsd:complexType>
>       <xsd:attribute name="name" use="required" type="xsd:NMTOKEN"/>
>       <xsd:attribute name="value" use="required" type="xsd:string"/>
>       <xsd:attribute name="valuetype" type="xsd:string"/>
>     </xsd:complexType>
>   </xsd:element>

I was asked to provide some examples.

Because the OASIS mailer rejected the attachment, I've uploaded
the zip to 
http://www.oasis-open.org/apps/org/workgroup/docbook/download.php/44070/
docbook-mm-example.zip

Here is a copy of the readme within:

These files are to demonstrate some possible multimedia markup
for DocBook 5.0.

The wav, mid, and avi files are the references objects.

The htm and css files are sample HTML4 output for the given input.

The asdbtest-50.xml file is an example of the suggested 5.0 markup.

The asdbtest-4x.xml file is some 4.x markup that I used in my
testing and that actually generated the sample HTML4 (along
with an experimental stylesheet that I have not included).

paul



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]