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

xml.dtbook-to-zedai.convert.xpl Maven / Gradle / Ivy




    
        Transforms DTBook XML into ZedAI XML.
    

    
        
            A fileset containing references to all the DTBook files and any resources they reference (images etc.).
            The xml:base is also set with an absolute URI for each file, and is intended to represent the "original file", while the href can change during
            conversions to reflect the path and filename of the resource in the output fileset.
        
    
    
        
            One or more DTBook documents to be transformed. In the case of multiple documents, a merge will be performed.
            While all resources are referenced in the fileset on the `fileset` output port, the `in-memory`-port can contain pre-loaded documents so that they won't
            have to be loaded from disk. This means that the input documents does not have to be stored to disk -
            they could have been generated by a preceding conversion, allowing for easy chaining of scripts.
        
    

    
        
            A fileset containing references to the DTBook file and any resources it references
            (images etc.). For each file that is not stored in memory, the xml:base is set with
            an absolute URI pointing to the location on disk where it is stored. This lets the
            href reflect the path and filename of the resulting resource without having to store
            it. This is useful for chaining conversions.
        
        
    
    
        The ZedAI and MODS metadata documents.
        
    

    
        
            

A d:fileset document that contains a mapping from input files (DTBook) to output file (ZedAI) and contained id attributes.

The directory to store the generated files in. Filename for the generated ZedAI file Filename for the generated MODS file Filename for the generated CSS file Language code of the input document. Whether to stop processing and raise an error on validation issues (abort), only report them (report), or to ignore any validation issues (off). Whether or not to include any referenced external resources like images and CSS-files in the output. px:assert pxi:dtbook2005-3-to-zedai px:dtbook-to-zedai-meta px:dtbook-to-mods-meta px:dtbook-upgrade px:dtbook-merge px:dtbook-validator.select-schema px:zedai-validate px:fileset-load px:fileset-create px:fileset-add-entry px:fileset-add-entries px:fileset-join px:fileset-intersect px:fileset-copy px:mediatype-detect px:validate-with-relax-ng-and-report px:css-speech-clean px:set-base-uri px:validate-mods Upgrade the DTBook document(s) to 2005-3 Validate the DTBook input Remove the Aural CSS attributes before validation Schema selector for DTBook validation If there is more than one input DTBook document, merge them into a single document. Remove the Aural CSS attributes before validation Convert DTBook 2005-3 to ZedAI Generate CSS from the visual property attributes in the ZedAI document If CSS was generated, add a reference to the ZedAI document Adding CSS PI href="" Strip temporary attributes from the ZedAI document. Generate MODS metadata Generate ZedAI metadata Insert metadata into the head of ZedAI Generate UUID for ZedAI identifier Create a meta element for the MODS file reference Insert the MODS file reference metadata into the head of ZedAI Add the xml:lang attribute Validate the final ZedAI output. Add the ZedAI document to the fileset. Add all the auxiliary resources to the fileset. If CSS was generated: Add it to the fileset. Add the MODS document to the fileset. Determine the media type of files




© 2015 - 2025 Weber Informatics LLC | Privacy Policy