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

xml.xproc.step.create-ncc.xpl Maven / Gradle / Ivy




    
        Create NCC file for a given DAISY 2.02 fileset.
    

    
        
            The DAISY 2.02 fileset.
        
    
    
    
        
            The package document of the original EPUB 3 from which the DAISY 2.02 was generated.
        
    

    
        
            The resulting DAISY 2.02 fileset that includes the NCC and possibly additional or
            improved SMIL files.
        
    
    
        
        
    

    
        
            px:set-base-uri
        
    
    
        
            px:fileset-load
            px:fileset-add-entry,
            px:fileset-join,
            px:fileset-intersect
        
    
    
        
            px:opf-spine-to-fileset
        
    

    
        Load content documents in spine order.
        
    
    
        
            
        
    
    
        
            
            
        
    
    
        
            
        
    

    
        Add missing IDs to heading and page number elements.
    
    
        
            
                
            
            
                
            
        
    
    
    

    
        Create NCC file with references to all heading elements. Note that this NCC is invalid and
        needs to be fixed by the add-linkbacks step below.
    
    
        
            
        
        
        
            
                
                
                
            
            
                
            
            
                
            
        
        
        
            
                
            
            
                
                    
                        REPLACEME
                    
                
                
                    
                
            
            
                
                    
                
            
            
                
            
            
                
                    
                        
                            First entry must be a h1 with class "title".
                            FIXME: check that it is actually a h1 and not e.g. a page number
                        
                    
                
                
                    
                        
                            
                        
                    
                
                
                    
                
            
            
                
                    
                
            
        
        
        
        
            
                
                
            
        
        
            
        
        
            
        
    
    
    

    
        Augment SMIL files with references to heading elements.
    
    
        
            
        
        
            
        
    
    
        
            
        
        
            
        
        Get the HTML file(s) that corresponds with this SMIL.
        
        
            
                
            
            
        
        
            
                
                
                    
                        
                    
                
            
        
        
        
            
                
                
            
        
        
        
            
                
            
        
        Augment the SMIL.
        
            
                
                
            
            
                
            
            
                
            
        
        
            
                
            
            
                
            
        
        
        Add linkbacks from HTML to SMIL.
        
            
                
            
            
            
            
            
                
                    
                    
                
                
                    
                
                
            
        
    

    
        Create new SMIL file with references to heading elements for every content document without
        media-overlay.
    
    
        
            
        
    
    
        
            
            
                
                    
                
            
        
    
    
    
        
            
            
        
    
    
        
            
        
    
    
        
            
        
        
            
        
        
        
        
            
                
                    
                        
                            
                            
                            
                            
                                
                            
                        
                        
                            
                        
                    
                
            
            
            
                
            
        
        
            
                
                
            
            
                
            
            
                
            
        
        
            
                
                    
                        
                    
                    
                        
                    
                
            
            
                
                    
                        
                    
                
            
        
        
        
        Add linkbacks from HTML to SMIL.
        
            
                
            
            
            
                
                    
                    
                
                
                    
                
                
            
        
    
    
        
            
            
                
                    
                
            
        
    
    
    

    
        
            
            
        
    
    

    
        Make anchors in NCC point to SMILs.
    
    
        
            
                
                
            
            
                
            
            
        
        
            
                
            
            
                
            
        
    
    
    
    
    
        
            
            
            
        
    
    
    
    
        Add SMILs to fileset
        
            
            
        
    
    
        Add generated NCC
        
            
        
    
    
    
        
            
            
        
        
            
        
    
    





© 2015 - 2025 Weber Informatics LLC | Privacy Policy