Last active
April 9, 2020 14:56
-
-
Save JekoTronik/ec55854790ebc825721ce27cb9d1cbba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-modules (sxml simple) | |
(sxml match)) | |
(define (ciqual-table->sxml xml-file) | |
(catch #t;'system-error | |
(lambda () | |
(call-with-input-file xml-file | |
(lambda (xml-port) | |
(xml->sxml xml-port #:trim-whitespace? #t)))) | |
(lambda (key . parameters) | |
(format #f "'not-existing-file': Aucun fichier ou dossier de ce type.\n")))) | |
(ciqual-table->sxml "not-existing-file") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment