OMS Problem

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

OMS Problem

Philip Papush
Hello,

I have a table that I want to import via OMS command to an html file. The
table has highlighted 'Totals' column (done by 'Make totals bold' script).
However in, my resulting html file the table has NOT highlighted 'Totals'.
In other words, the OMS command ignores the effect of 'Make totals bold'
script on the table. Can anybody help me fix it?

Thanks,

Philip
Reply | Threaded
Open this post in threaded view
|

Re: OMS Problem

Peck, Jon
Scripts operate on the SPSS frontend and make their changes AFTER OMS has already done its work upstream.  OMS, being a backend creature, cannot see what is going on downstream in the Viewer.  The OMS html output is unstyled.  You would typically style it with a stylesheet.

The alternative is to generate XML via OMS and use a tool such as XSLT to transform it into styled html.

Of course, if you use the Viewer-based export to produce html, it will have all the attributes and edits applied in the frontend.

HTH,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Philip Papush
Sent: Friday, January 26, 2007 12:33 PM
To: [hidden email]
Subject: [SPSSX-L] OMS Problem

Hello,

I have a table that I want to import via OMS command to an html file. The
table has highlighted 'Totals' column (done by 'Make totals bold' script).
However in, my resulting html file the table has NOT highlighted 'Totals'.
In other words, the OMS command ignores the effect of 'Make totals bold'
script on the table. Can anybody help me fix it?

Thanks,

Philip
Reply | Threaded
Open this post in threaded view
|

Re: OMS Problem

Philip Papush
In reply to this post by Philip Papush
Is it possible to convert the entire Viewer output to html format
automatically (as "Export..." option in the File Menu of the Output window
does)?

Thanks

Philip
Reply | Threaded
Open this post in threaded view
|

Re: OMS Problem

Peck, Jon
The Export option gives you the same scope choices as the Export dialog, so you can tell the automation method to export the selection (which you would have to set), all visible output, or all output.

-----Original Message-----
From: Philip Papush [mailto:[hidden email]]
Sent: Friday, January 26, 2007 3:20 PM
To: [hidden email]; Peck, Jon
Subject: Re: OMS Problem

Is it possible to convert the entire Viewer output to html format
automatically (as "Export..." option in the File Menu of the Output window
does)?

Thanks

Philip