[Home] [By Thread] [By Date] [Recent Entries]


> i have an xml and xsl documents. is there a way that the output be
> directed to string instead of a file?

Sure, but the way you do it depends on the processor you're using. If it's a
processor that supports the JAXP 1.1 interface (e.g. Saxon or Xalan), just
specify a StreamResult as the destination, with the StreamResult set up to
write to a StringWriter.

Mike Kay


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member