Welcome to the CHICKEN Scheme pasting service

namespaces in sxml added by alaricsp on Wed Mar 5 15:56:56 2014

(for-each
 display
 (flatten
  (sxml:sxml->xml
   '(*TOP*
     (@@
      (*NAMESPACES*
       (rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
       (rodf "http://www.resources-of-different-family.com")))
     (*PI* xml "version=\"1.0\"")
     (rdf:RDF
      (rdf:Description
       (@ (rdf:about "http://www.w3.org/TR/rdf-syntax-grammar"))
       (rodf:editor
        (rdf:Description
         (rodf:fullName "Dave Beckett")))))))))


=>

<*TOP*><@@><*NAMESPACES*><rdf>http://www.w3.org/1999/02/22-rdf-syntax-ns#</rdf><rodf>http://www.resources-of-different-family.com</rodf></*NAMESPACES*></@@><*PI*><xml>version=&quot;1.0&quot;</xml></*PI*><rdf:RDF><rdf:Description about='http://www.w3.org/TR/rdf-syntax-grammar'><rodf:editor><rdf:Description><rodf:fullName>Dave Beckett</rodf:fullName></rdf:Description></rodf:editor></rdf:Description></rdf:RDF></*TOP*>

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which one-argument R5RS procedure returns 3 when given `'(1 2 3 4)' as input?
Visually impaired? Let me spell it for you (wav file) download WAV