<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
Bruce Easton wrote:
<blockquote cite="mid:351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP"
type="cite">
<pre wrap="">Fairlight wrote Wednesday, December 16, 2009 4:41 PM:
</pre>
<blockquote type="cite">
<pre wrap="">On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the
prominent pundit,
witicized:
</pre>
<blockquote type="cite">
<pre wrap="">But to me sometimes having to have something above the
</pre>
</blockquote>
<pre wrap=""><html opening
</pre>
<blockquote type="cite">
<pre wrap="">tag in the output is reason enough to stay away from the
</pre>
</blockquote>
<pre wrap="">internal fp
</pre>
<blockquote type="cite">
<pre wrap="">html commands altogether.
</pre>
</blockquote>
<pre wrap="">Depends...does it truncate or append when you start? If
append, you could pre-populate the required data, then use
the html stuff. I don't recommend it, I'm saying it might be
possible.
m->
--
</pre>
</blockquote>
<pre wrap=""><!---->
Well -I tried some things with variations on the fp HTML :cr
command, and I don't believe Marv can use it to start off his
output document.
I was not able to get anything other than one type of document
type specification by using the :dt option. But maybe there are
reserved codes that come after the :dt to set up for different doc
types. I couldn't find any documentation of such.
BUT, you can use:
        html :cr [outdocpathandname] :tx [other stuff]
and that output (otherstuff) does appear *before*
the <HTML> tag. So I tried it with Marv's requirement and it
worked fine to handle the document type spec.
What I could not find a way to do is embed anything else within
the <HTML> tag as in <HTML xmlns="....">. I even tried using :zz
and that didn't help. (5.0.14).
And to answer your question Mark, I don't believe there is any
way to use fp's HTML commands to append to a file.
So back to saying 'just use open and writeline, for crying out loud..' :)
Bruce
Bruce Easton
STN, Inc.
_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
</pre>
</blockquote>
<br>
He might need to prefix those 2 lines on the fly after the file gets
created, at the @done tag<br>
</body>
</html>