HTML Samples
Lerebours, Jose
Jose.Lerebours at EagleGL.com
Wed Jun 28 09:33:34 PDT 2006
Jay suggested:
> > Open the attached HTML document using any HTML editor.
> > You will notice a group of &fp??? throughout the page.
> >
> > As you review the attached processing table, you will
> > notice that the parsing routine looks for "&fp" on each
> > line of the HTML document to plug-in the field and/or
> > variable marked by these macros or filePro tags.
> >
> > I chose to use "&fp" as a prefix simply because I did
> > not think it would ever be used in XML, DHTML nor HTML
> > on tags thus preventing potential conflicts.
>
> If you modify that jsut slightly, to &fp???; (adding the semicolon at
> the end) then if any of them ever do leak through, they'll be
> parsed as
> unknown entity references and eaten by the browser -- without the
> semicolon, I'm not sure exactly how they'd work, since I think they're
> then syntax errors.
>
Jay,
I do use &fp###; and &fpVAR;
Here is a sample:
<tr>
<td width="120" bgcolor="#99CCFF"><font size="2" face="V
erdana, Arial, Helvetica, sans-serif">WR Number</font></td>
<td width="210" bgcolor="#FFFFCC">&fp001;</td>
^^^^^^^ Plugs field 1
<td width="120" bgcolor="#99CCFF">Account ID</td>
<td width="210" bgcolor="#FFFFCC">&fp177;</td>
^^^^^^^ Plugs field 177
<td width="120" bgcolor="#99CCFF">CNEE Name</td>
<td width="210" bgcolor="#FFFFCC">&fp275;</td>
^^^^^^^ Plugs field 275
</tr>
Notice the zero padded, this is to simplify things within the
code and worry about three digits at all time. Of course, this
is not the case if using dummy variables.
In the event that one of these macros is not parsed and replaced,
the browser will strip the page and show NULL or BLANK cells. In
worse case scenario, you will see the macros as TEXT.
I do not know HTML to emit erros, XML and/or JavaScripts do, but HTML
itself is very forgiven.
Regards;
Jose Lerebours
More information about the Filepro-list
mailing list