Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
127
The javax.xml.transform.Result Class
All Known Implementing Classes: javax.xml.transform.dom.DOMResult,
javax.xml.transform.sax.SAXResult, javax.xml.transform.stream.StreamResult
Members
Signature
Public methods
String
getSystemId()
void
setSystemId(String
systemId)
Overview
This
interface provides for output of XML transformations.
Method Overviews
Important methods of this class
are setSystemId()
Example of setSystemId(String systemId)
newTransformer() method is used to set the system identifier for this
Result.
If the Result is not to be written to a file, the system identifier is
optional. The application may still want to provide one, however, for use in
error messages and warnings, or to resolve relative output identifiers.
Result
result = new StreamResult();
result.setSystemId(systemId);
//Where systemId would be The system identifier as a URI string.