|
Subject: [xsl] Creating a Document with encoding="ISO-8859" From: "Boyed, Suvig" <sboyed@xxxxxxxxxxxx> Date: Fri, 3 Sep 2004 10:40:29 -0500 |
Hello,
I am creating a Document using the following code...
Document output = null;
try {
// create a DocumentBuilderFactory
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
// create a DocumentBuilder (DOM Parser)
DocumentBuilder builder = factory.newDocumentBuilder();
// create an EMPTY XML document for the output
output = builder.newDocument();
} catch (Throwable t) {
// thrown when parser factories cannot be found or instantiated, etc.
logger.error("generateXML - Error/Exception in generateXML() " +
t.getMessage());
return null;
}
The type of document that is getting created is UTF-8 (<?xml version="1.0"
encoding="UTF-8"?>)
How do I make this ISO-8859 based document?
Thx
Suvig
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] giving key() a context (c, Joseph Dane | Thread | RE: [xsl] Creating a Document with , Michael Kay |
| Re: [xsl] giving key() a context (c, Joseph Dane | Date | RE: [xsl] Creating a Document with , Michael Kay |
| Month |