chickadee » html-tags » xhtml-style?

xhtml-style? #!optional booleanparameter

The parameter xhtml-style? (default = #f) can be used to generate XHTML-style tags. Example:

(xhtml-style? #t)
(<img> src: "pic.png" alt: "A pic")
    => "<img src='pic.png' alt='A pic' />"

Important: this parameter is only effective when generating the string representation of [X]HTML tags (i.e., when generate-sxml? is #f).