All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xml.schema.z3998-book-1.0.mod.z3998-linking.rng Maven / Gradle / Ivy



    
        The linking and embedding module 
        
            This module defines the ref element and the ref , src and srctype attributes that enable inter- and intra-document linking and content embedding. It also defines the continuation attribute that enables logical association of elements. 
            More information about this module is available at http://www.daisy.org/z3998/2012/auth/cm/#z3998.linking.module
        
        
            Markus Gylling
            [email protected]
        
        
            2009
            2010
            2011
            2012
            DAISY Consortium
        
        
            This module is licensed under a Creative Commons Attribution 3.0 license, a copy of which is available at 
                http://creativecommons.org/licenses/by/3.0/
            
            For complete licensing information, please refer to the LICENSE file that came with this distribution, a copy of which is also available from the DAISY web site at 
                www.daisy.org
            
        
        
            
                2012-12-19
                MGy
                
                    Initial version
                
            
        
    
    
The ref element represents a reference to an internal or external entity. The referenced entity is not required to be resolvable or includable in a processing or rendering context: the ref element may point to conceptual or physical items. The ref element may employ attributes from the xlink attributes collection to specify the nature of the hyperlink, including or excluding expressions of link activation behavior. IDREF link relationships may also be established using the ref attribute, but not in conjunction with the xlink attributes collection. The {ref} element must not contain descendant {ref} elements. The ref element must neither be empty nor contain only whitespace.
The ref attribute provides a generic mechanism to establish an association between the current element and one or more other elements in the document scope. The ref attribute must contain one or more space separated references to the IDs of the associated elements. Elements adopting the ref attribute may express constraints on the nature of the referenced elements. The ref attribute must not reference the same ID multiple times. Each IDREF in the ref attribute must reference the ID of another element in the document. Elements carrying a ref attribute must not reference themselves.
The src attribute contains a URI reference to an external resource to embed in the document, in place of the current element. Only references to resources that conform to one of the types in the srctype attribute enumeration are allowed. The srctype attribute contains a MediaType expression that identifies the type of resource referenced from the src attribute. All Z39.98-AI profiles must allow the media types image/png , image/jpeg and image/bmp. These three image types are jointly referred to as the "core image types". Z39.98-AI features may extend this enumeration to support additional media types. If the srctype attribute is not specified, processing agents must dereference the resource in the src attribute to identify its media type. image/png The referenced resource is a PNG image . image/jpeg The referenced resource is a JPEG image . image/bmp The referenced resource is a BMP image.
The continuation attribute provides a generic mechanism to establish a logical continuation of the current element cross one or more other elements in the document scope. The continuation attribute must contain one or more space separated references to the IDs of the associated elements. Note that the element that carries the continuation attribute must not be referenced in this list. The order in which the references appear in the attribute value is not significant (i.e., the reference order need not match the document order of the referenced elements). Only elements with the same QName as the parent element of the attribute can be referenced (e.g., a paragraph cannot list a table as a continuation). Additionally, only elements following the current element in the document order may be referenced as continuations. Elements that are referenced as continuations must not have continuation attributes themselves. Logical connections allow for special formatting of elements when generating outputs (to establish the connection between emphasis that continues across multiple paragraphs for braille formatting, for example). When the continuation attribute has been attached to an element, all formatting instructions that apply to that element also apply to all the elements referenced in the attribute. Formatting instructions on the logical siblings, however, do not cascade. A processing agent that does not recognize logical connections must be able to process each individual element in the continuation without requiring special knowledge of the elements that came before (i.e., inheritance of formatting cannot be assumed). The continuation attribute must not reference the same ID multiple times. Elements referenced by a continuation attribute must be located after the referencing element (i.e., in document order). Elements referenced by a continuation attribute must have the same QName as the referencing element. Elements carrying a continuation attribute must not reference themselves.
ref - default content model contribution




© 2015 - 2025 Weber Informatics LLC | Privacy Policy