TeamJava Forum

[ Read Responses | Post a New Response | Return to the Index ]
[ Previous | Next in Thread | Next ]

setting xml:base attribute with DOM parser

Posted by Tom Bonavia on Monday, 19 May 2003, at 1:20 p.m.

I am creating an XML document in Java using the DOM factory methods (going from DocumentBuilderFactory to DocumentBuilder to DOMImplementation), and cannot find a method anywhere along the way that allows me to set the xml:base attribute for the document. There are references to setBaseURI() at, but no further info - note that I want to write the base URI for my DTD location in the document as I build it, not in the parser that will read it. Any ideas?


Post a New Response

Please select: Discussion Question Answer
Pulse Check - enter num: 1062425111

Your Name:

E-Mail Address:



If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:

Optional Link Title:

If you'd like to have the option of deleting your post later,
please provide a password (CASE SENSITIVE!):



The TeamJava Forum is maintained with WebBBS 2.24.

TeamJavaHome | Ind. Registry | Co. Registry | Java Links
Jobs Listings Forum | TeamJava Books | Java FAQ Archives


Copyright © 1995-2003 Active Web Networks, all rights reserved.
(Note: We share no direct association with Sun Microsystems, Inc.)