473,396 Members | 1,895 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ASP, XSL<XML, HTML

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?

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.
Thanks.
CTA.

Jul 20 '05 #1
1 1610
ca******@yahoo.com 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_
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
1
by: Rafaela K. Azinhal | last post by:
Hi, I'm a newbie and have a question: I have following PivotTable object in a HTML page <html> <body> <object class='ptdrillthrough' classid="clsid:0002E552-0000-0000-C000-000000000046"...
1
by: solex | last post by:
Hello, I have a XSLT file that I am trying to use with the XSLTransform class but it chokes on the first line: <?xml version="1.0" encoding="ISO-8859-1"?> returning the error:...
10
by: Kathy Burke | last post by:
Hi, in trying to discover why my RegisterStartUpScript wouldn't work (I do NOT see it in the HTML source), I looked at the HTML source of a page where I do an XslTransform. First, I get the...
5
by: ina | last post by:
Hello guys, My name is ina and I have a problem with a file xlst. I am newbie and sorry for this question, probably must be very simple. I have this xml file <?xml version="1.0"?>...
4
by: dcrackel | last post by:
I hope there is a simple solution to this, but I've been unable to find it. $dom = new DomDocument(); $dom->load("test.xml"); $test = $dom->getElementsByTagName("test"); $test->nodeValue =...
3
by: jariwaladivyesh | last post by:
Hi frnds, i have simple XML doc <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="test.xsl"?> <data> <name> Divyesh Jariala</name> </data>
2
by: jluo | last post by:
Hi all, Need some help here. I'm using these in a xsl: ~~~~~~~~~~~~~~~ <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.