xmlWriter
(enterprise edition only) XmlWriter( String fileName, String rootElementName ) XmlWriter( String fileName, String rootElementName, String rootElementText ) XmlWriter( String fileName, String rootElementName, String rootElementText, Hashtable attributes ) |
| Description |
| Creates a new XmlWriter. The fileName is the path to the XML file that should be written. The root element can be given a name and text as well as attributes by using the various constructors. |
 |
| Example |
// Creates a new writer that will write it's XML file to // C:\myfile.xml. The root element will be named "root_element" // and the text of the root element will be "This is the root." // Note that the forward slash after the "C:" is necessary // as it must be escaped out for the script interpreter. xmlWriter = new com.screenscraper.xml.XmlWriter( "C:/myfile.xml", "root_element", "This is the root." ); |
|
|
Recent comments
18 hours 3 min ago
18 hours 20 min ago
19 hours 9 min ago
19 hours 17 min ago
19 hours 26 min ago
19 hours 37 min ago
2 days 16 hours ago
3 days 22 hours ago
3 days 22 hours ago
5 days 19 hours ago