Help in save DOM Document

krithika <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Organization http://groups.google.com
Message-ID <1179409999.674810.291230__4990.99021913043$1179410121$gmane$org@o5g2000hsb.googlegroups.com>
Hi,

I tried to save html dom document with the options indicated below.But
I get the

<base href="file:///home/test/testhtml/splitcolumn.html inserted in to
my saved html.I do not want this to happen.

What is the option to prevent that?.Also let me know if Iam missing
something.

long flags=nsIWebBrowserPersist.ENCODE_FLAGS_RAW|
nsIWebBrowserPersist.ENCODE_FLAGS_CR_LINEBREAKS|
nsIWebBrowserPersist.ENCODE_FLAGS_LF_LINEBREAKS|
nsIWebBrowserPersist.PERSIST_FLAGS_NO_BASE_TAG_MODIFICATIONS|
nsIWebBrowserPersist.PERSIST_FLAGS_DONT_FIXUP_LINKS|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_W3C_ENTITIES|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_HTML_ENTITIES|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_BASIC_ENTITIES|
nsIWebBrowserPersist.ENCODE_FLAGS_ENCODE_LATIN1_ENTITIES|
nsIWebBrowserPersist.PERSIST_FLAGS_NO_CONVERSION|
nsIWebBrowserPersist.PERSIST_FLAGS_REPLACE_EXISTING_FILES;

regards,
Krithika
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.