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

lib.common.xsl Maven / Gradle / Ivy

The newest version!


    
        
            Created on: Jul 6, 2016
            Author: cmarchand
            A library with all common functions
        
    
    
    
    
    
        Returns the relative URI of target HTML file
        The XSL relative URI
        The computed HTML file relative URI
    
    
        
        
        
            
        
        
    
    
    
        Returns the relative URI of wecome HTML file
        The XSL relative URI
        The computed HTML file relative URI
    
    
        
        
        
            
        
        
    
    
    
        Returns the relative URI of TOC HTML file
        The XSL relative URI
        The computed relative URI to TOC file
    
    
        
        
        
            
        
        
    
    
    
        Normalize the URI path. I.E. removes any /./ and folder/.. moves
        The path to normalize
        The normalized path, as a xs:string
    
    
        
        
    
    
    
        Removes single dot in path URI. . are always a self reference, so ./ can always be removed safely
        The path to remove single dots from
        The clean path, as xs:string
    
    
        
        
        
            
                
            
            
        
    
    
    
        Removes the leading "./" from the path
        The path to clean
        The clean path
    
    
        
        
        
            
                
            
            
        
    
    
    
        Removes .. in an URI when it is preceded by a folder reference. So, removes /xxxx/.. 
        The path to clean
        The clean path
    
    
        
        
        
            
                
            
            
        
    
    
    
        Returns true if the provided URI is absolute, false otherwise
        The URI to test
        true if the URI is absolute
    
    
        
        
            
            
        
    
    
    
        
            Returns the relative path from source to target.
            Both source and target must be absolute URI
            If there is no way to walk a relative path from source to target, then absolute target URI is returned
        
        The source URI
        The target URI
        The relative path to walk from source to target
    
    
        
        
        
            getRelativePath(, ) ->
        
        
            
                
            
            
                
                    
                        
                    
                    
                        
                        
                        
                            
                                
                                
                                
                                
                                
                                
                                
                            
                            
                        
                    
                
            
            
                
                
                    
                        
                    
                    
                        
                    
                
            
        
    
    
    
        Returns the protocol of this URI
        The URI to check
        The protocol of the URI
    
    
        
        
        
            
            
                
            
        
    
    
    
        Compare pair to pair seq1 and seq2 items, and returns the numbers of deeply-equals items
        The first sequence
        The second sequence
    
    
        
        
        
            
                
            
            
        
    
    
    
        
            
            
            
            
        
    
    
    
        
        
        
        
        
            
                
            
            
                
                
                
                    
                        
                    
                    
                        
                    
                    
                        
                        
                        
                        
                            
                        
                    
                
            
        
    
    





© 2015 - 2025 Weber Informatics LLC | Privacy Policy