Try the toFixed(n) function - this appears to give you what you want.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html...
I was experimenting a little to try and get past errors. Instead of
TYPE agingBucketsType IS
TABLE OF VARCHAR2(20)
INDEX BY PLS_INTEGER,
it should read
TYPE agingBucketsType IS
TABLE OF agingBuckets_curs%rowtype
INDEX BY PLS_INTEGER,
I'm trying to figure out if I can use the OO capabilities in Oracle. I've had a little success but while trying to do a bit more I'm getting errors and don't know if I can do what I'm trying to do.
I want to instantiate an object where the constructor loads a table with a small number of rows...
This is something I've played around with before. You have all the data loaded in the xmlDoc so why not use it dynamically like this. I've added descriptions to the jobs
<?xml version="1.0" encoding="ISO-8859-1" ?>
<CAREERS>
<JOB>
<TITLE>Director of Sales</TITLE>
<DESC>Description for Director...
Ok, here's an alternative version yeilding the same result
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html...
I've tried it with and with out assigning the object to a variable. Same result. It isn't absolutely necessary to assign an instance of an object to a variable.
I'm trying to encapsulate code in an object but I'm having problems with setTimeout and setInterval calling functions within an object.
Heres a simple example that attempts to increment a number displayed in the browser:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
A third party vendor stores a text file in a long raw datatype field in the database.
In PL/SQL I can see the data in the Large Data Edior when I click on the box with ... after a running a simple 'select column from table' sql statement.
How can I retrieve the column into a varchar2 in a...
I have a simple HTML document like this rendered in Firefox and IE, it works with the background image:
<html>
<head>
<style>
body { background-image:url('background.jpg'); }
</style>
</head>
<body>
Page contents
</body>
</html>
But if I combine this xml:
<?xml version="1.0"...
Thank you, this has saved me a lot of work and stress. I had tried something similar but had not found any reference to \x3c or made the connection if I did see it.
In Firefox I can store CDATA as javascript var.innerHTML and then render it exactly as intended. IE renders it as text. The follow xml and xsl should help to understand what I'm having a problem with:
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl"...
Ok, that was easy - I've spent the last couple of hours looking for this in reference books and tutorials on the web but everything seems to skip this.
Thank you.
I'm a little puzzled - I'm using Dreamweaver 8 where all I have to do is press F12 to open the current file in the default browser which works fine with my xsl files.
Dreamweaver generates a defaults xsl file and links my xml file with <!-- DWXMLSource="testmenu.xml" -->
But when I open the...
I'm new to XML/XSLT but having great success transforming xml to display in a browser.
My question is, say I want to build a home page using my xsl file would it work with index.xsl?
I've tried redirecting from a html page with javascript using "window.location=file.xsl" but all that did was...
I read the artice and I'm doing basically exactly what the article shows in the POST method section.
The problem i'm having is I do not appear to setting the $_POST[] values using http.send("var=value")
I'm expecting $_POST['var'] to have a value of "value" but it's not, is appears to be null...
How can I post data from javascript using XMLHTTPRequest and then read the data in PHP. It works using POST with a form and hidden field but I want to send a large XML string without using a form and hidden field leaving the current page in the browser.
What value do I need to use for send...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.