My favorite approach in the cases I have to create a XML or HTML file is to
create a separate table, which basically has two relevant columns (an
autonumbered PK Column and a text column (definition depends of the needed
length).

Then I fill this table, by using a procedure, with the needed XML or HTML
content.

The last step is to create a very simple report ordered by the PK Column,
which basically contains only this text row and print the report as a text
file.

To check if the created file is in proper order open it with Explorer.

 

Tony

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of dollar atabx
Sent: donderdag 22 december 2011 5:09
To: RBASE-L Mailing List
Subject: [RBASE-L] - Insert a JS header in a REPORT exported as HTML.

 

I have a problem with Export report as an HTML file.  I have a javascript
file, GoogleAnalytics.JS   When I  Export the report, I want to insert the
code from the GoogleAnalytics.JS file into the beginning of the HTML file.
That is "Javascript in HTML code" which requires the addition of a header
tag (i.e., <HEAD> ....</ HEAD>).  How can I use R:base to do this?  Is there
a more elegant way?

I'm using R: Base for windows 7.6
Thank you very much.
Pramote Padprom, Centre for Vocational Building Technology, Thailand.

 

Reply via email to