 |
 |
 |
catchanu@y... wrote:
> Hi friends,
>
> In my project, I am generating an asp file that collects the data by
> querying database and puts it into xml document. XSL is applied to XML
> and this report in generated as HTML by IE using vb scripts
> CreateObject(). This is how the flow is
>
> Generate an ASP , write query to get the data, put them into XML
> document and call xsl and display it in IE. Everything works fine but
> sometime I have
>
> 1. Some html files are generated empty. Though there is data to
> display, html looks empty. Is this because of CDATA tag? Should I use
> CDATA tag? if so where to use?
See the FAQ, question C.27: http://www.ucc.ie/xml#usecdata
(static mirror at http://www.silmaril.ie/xml)
> 2. I am using dot matrix printer to print html files. How do I make
> report print fast using font families. Currently I am using
> font-family="monospace", seems like it has no effects.
> please help with this.
Monospace makes your browser use its default monospace font, which
is probably set to a font requiring graphical printing. Try setting
your monospace font default in your browser to one of the fonts
which came with your printer driver (usually dummies to equate to
the built-in fonts of your printer, which print much faster).
If that doesn't work, open the HTML output using Mozilla Firefox, and
pick File | Save As and choose TEXT. Save the file as filename.txt
and then open a DOS window (command window), go to the directory where
you saved the file, and type PRINT /B filename.TXT (I think this still
works in XP, but it's been a long time since I had to use Windows).
This used to be a good way to bypass the graphical print queue.
///Peter
--
"The cat in the box is both a wave and a particle"
-- Terry Pratchett, introducing quantum physics in _The Authentic Cat_
|
 | 



|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |