<RefEntry id="normalize"> <!-- This file is generated automatically from the DSSSL source. --> <!-- Do not edit this file! --> <?html-filename normalize.html> <RefMeta> <RefEntryTitle>normalize</RefEntryTitle> <RefMiscInfo Role="file">dblib.dsl</RefMiscInfo> </RefMeta> <RefNameDiv> <RefName>normalize</RefName> <RefPurpose>Normalize the str according to the SGML declaration in effect</RefPurpose> </RefNameDiv> <RefSynopsisDiv><Title>Synopsis</Title> <Synopsis> (normalize str) </Synopsis> </RefSynopsisDiv> <RefSect1><Title>Description</Title> <para> Performs SGML general name normalization on the string; used to compare attribute names and generic identifiers correctly according to the SGML declaration in effect; this is necessary since XML is case-sensitive but the reference concrete syntax and many SGML DTDs are not.</para> </RefSect1> <RefSect1><Title>Author</Title> <para> Chris Maden</para> </RefSect1> <RefSect1><Title>Source Code</Title> <ProgramListing> (define (normalize str) ;; Normalize the str according to the SGML declaration in effect (if (string? str) (general-name-normalize str (current-node)) str)) </ProgramListing> </RefSect1> </RefEntry>