This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how to have as-xml output to e.g. a (Scheme) string/port?


Hi,

> > as-xml, (require 'xml) are not mentioned in the documentation
> as-xml should be documented, though the implementation is poor.

It seems to always output to the current "consumer" -- whatever that is.

Even
(with-output-to-file "C:/WinNT/TEMP/kawaXML.xml"
  (lambda () (as-xml (make-element 'p "The time is now: " (make-element 'code (make <java.util.Date>))))))
yields an empty file and still prints to the terminal.

Is this a Java question?

Why is gnu/kawa/slib/XML.scm print-nsxml-from-url commented out? It looks like it shows how to link a consumer to a Scheme port?

Thanks for your help,
	Jorg Hohle.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]