I have the following code on my page:
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
<!--
function hidesubmenu()
{
document.getElementById('subdisplayrow').style.display='none';
}
function showsubmenu()
{
document.getElementById('subdisplayrow').style.display='block';
}
//-->...
I am using SimpleXML as follows:
$result = $objSimpleXML->asxml();
echo "<pre>".htmlspecialchars($result)."</pre>"
to output some XML to the browser window, however it is appearing as:
<a><b><c></c></b></a>
but I would like it to appear indented (and thus readable!):
<a>
<b>
<c></c>...
I am trying to use SOAP in PHP to retrieve data via an MS .NET web service for work. However I see the following error message:
I have read the help available at http://uk.php.net/manual/en/function.soap-soapclient-soapcall.php#76831 which describes this exact problem, but do not understand...
At work I am attempting to configure internet access for a Sun Blade 1000 which uses eri0 as its primary interface.
The catch is that the subnet that the Sun box is connected to differs from that which the internet router is connected.
On a Win 2k box I would just set the following:
IP =...
Hi
Although my install of PHP has Expat enabled, when I execute:
$parser = xslt_create();
The "first" time (defined as first time I load my web browser and point to the applicable PHP page on the internet, or after approx. 30 mins of inactivity if I reload the page) I do this I see:
Fatal...
Hi
I am trying to accept the character á (0225 - an 'a' with an accent) in a web form that is processed by PHP. I am using PHP PHP 5.0.4 with Apache 2.0.54 on Windows (although later this will be moved to Fedora)
In my form, I have a text entry field. If I enter standard ascii, for example "a"...
After reading around Google search results, and experimenting a bit I'm stuck with trying to renumber elements in an XML source via XSLT.
If I have something like:
<something uid="1" />
<something uid="2" />
<something uid="3" />
What would be the most straight-forward XSLT code to allow me...
Hi Folks!
In PHP4 using the Sablotron and Expat extension I used PHP's XSLT functions to process XML with XSL to produce HTML.
Using PHP5 with the same XML and XSL I get the following warning errors:
I would prefer not to have to get XSLT working from PECL now that it is no longer a part of...
Hi
I have read chapter 10 of PHP4 XML by Wrox and it states I should use:
[code]
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="utf-8" />
<xsl:param name="delevent" />
<xsl:template...
Hi
I have successfully passed in the variable sortorder from my PHP program to an XSL stylesheet.
However I cannot display it within the following:
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
<xsl:output method="html" indent="yes"/>
<xsl:param...
Hi
If I have in my xml file two records with:
<date>03/03/04</date>
in one, and:
<date>04/02/04</date>
in the other (format is: dd/mm/yy)
then
<xsl:sort select="date" order="ascending" />
will sort them so that the 03/03/04 record comes before the 04/02/04 record.
However...
Hi
I have an XML file, for simplicity we'll say:
<?xml version="1.0" encoding="ISO-8859-1"?>
<entry id="0">
<date_start>01/01/99</date_start>
<date_end>01/01/99</date_end>
<sometext>hello world</some text>
</entry>
<entry id="1">
<date_start>01/01/00</date_start>...
Hi
I have read several help files but all point to a php5 and sablotron problem.. but I am using php4 ;)
My problem is that I have used apt-get on Debian to install PHP4, expat and sablotron and it appears something isn't quite configured right.
In PHP4 when I run cslt_create()
I get:
Fatal...
Hi
Is it possible to control the wordwrap to limit a line to 80 characters when using the Print # statement in VBA 6?
Although I could just count the number of characters in a string, the wrapping would be all over the place as:
- each string may already include carriage returns (the data is...
Hi
I appreciate this is probably a dum question, but after a search through the internet I can't seem to come up with the answer..
Is there an easy way I can modify an mx record for a domain I own, without having to log into a support site for my ISP?
Thanks!
-Colin
Hi
I'm attempting to solve something while my guru of a SysAdmin is on hols;)
I have two domains, lets call them x.com and y.com running from the same server. If I email x.com from yahoo.com then all is fine. However if I email y.com from yahoo (or anywhere else except internally within the...
Hi
I am running RedHat 9 Linux on a Dell Poweredge.
Using the top command I can see that mysqld is using 17M (18388k) - however that is per instance (thread?) of mysqld. If I refresh my browser window several times in quick succession I can see several more mysqld instances, each using 17M...
Hi
We're using the standard
While not objRS.EOF
...
objRS.MoveNext
Wend
However if we embed the object inside another While...Wend then it fails with an exception error, eg:
While not objRS.EOF
Response.Write "<tr>"
While PersonCount < 4
Response.Write "<td>some stuff from a...
Hi
If I have a text box or a textarea on a form that is dynamically pre-populated, is it possible in HTML, CSS or Javascript to specify just a portion of the text to be highlighted (ideall with the field having focus)?
For eg:
If I have a text box on a form with the followin pre-populated...
Hi
On RedHat Linux 9 I have installed the full Sun enterprise environment in /apps/SUNWappserver , and inside that directory there is a jdk/ directory (nb: this should be 1.4 of the JDK but the directory has not been named as such by the installer).
Anyhow, I then type at a shell prompt...
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.