mirror of
				https://github.com/qurator-spk/modstool.git
				synced 2025-11-03 19:04:13 +01:00 
			
		
		
		
	✨ ALTO: Support more ALTO versions
This commit is contained in:
		
							parent
							
								
									4bb3379ab1
								
							
						
					
					
						commit
						937e7d74eb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -228,8 +228,9 @@ def _to_dict(root, raise_errors):
 | 
			
		|||
    elif root_name.namespace == "http://www.loc.gov/METS/":
 | 
			
		||||
        return mets_to_dict(root, raise_errors)
 | 
			
		||||
    elif root_name.namespace in [
 | 
			
		||||
        "http://www.loc.gov/standards/alto/ns-v2#",
 | 
			
		||||
        "http://schema.ccs-gmbh.com/ALTO",
 | 
			
		||||
        "http://www.loc.gov/standards/alto/",
 | 
			
		||||
        "http://www.loc.gov/standards/alto/ns-v2#",
 | 
			
		||||
    ]:
 | 
			
		||||
        return alto_to_dict(root, raise_errors)
 | 
			
		||||
    else:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue