6,049 Topics
![]() | |
[code]<?xml version="1.0" encoding="utf-8" ?> <sites id="0"> <siteName>London <groupName>Administration</groupName> <groupName>IT <groupName>IT Sales</groupName> <groupName>Helpdesk</groupName> </groupName> </siteName> </sites>[/code] Above is just a sample snippet to highlight what I am trying to achieve. Basically I just want to have a way to traverse this. But with <divs> attached to each level with an onclick … | |
1. Can it be used in a C++ program other than with HTML? 2. Can a program communicate with a website with it? -Program update check? -Stream video/picture? -Send Text to website which is instantly displayed to users? | |
i am trying to call a C# fonction or event from a JS object. i have this [code=asp.net] <script language="javascript" type="text/javascript"> function UpdPanelUpdate(){ __doPostBack("????",""); } </script> <a onmouseover="UpdPanelUpdate()"> mose over me </a> <asp:Button ID="ClientID" runat="server" Text="Press ME" onclick="ClientID_Click1" /> [/code] i know that [B]__doPostBack(" ","");[/B] will cause my page to … | |
I need to make a family tree. But i don't know how to make make it. I asked someone and done some searching in Google. I found three ways as follows 1. Using Database (foreign key to represent relation ship) 2. Using XML to store the data. 3. Using binary … | |
Having a problem with ASP.NET on Vista Business 32 bit. This is s a development machine. I have tested websites using the "View In Browser" and Debug options from Visual Studio 2008 and they load without a problem. But when I try to run a site from localhost i get … | |
Hi all I am trying to make a little program that when you type in a number (anydigit) it will search the xml file and display the results in a text box, i have found some code that i would like to modify, the code here has no option to … | |
Hi all, 1] I have to create one html file which uses javascript. 2] HTML page can be accessed by user and can fill the; [A] Folder path along with file name 3] There will be a button, after click on that a batch file [already present but without any … | |
Nothing happens when i select a feed.. can you help me figure out what's wrong/missing? [code] <!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" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>RSS Reader</title> <script type="text/javascript" src="jquery-1.2.6.min.js" charset="utf-8"> function get_rss_feed() { $("#feedContent").empty(); $.get('http://barbz.0fees.net/proxy.php?url='+$('#diffFeeds').val(), function(d) { $(d).find('item').each(function() { var … | |
Hello everyone, I have an xml document that contains the captions of photos in a photo gallery I wanted to put the caption after uploadind the photos and also delete a specific caption Like <caption>Name1</caption> <caption>Name2</caption> can anyone tell me how to edit the xml | |
Hi!! I have to hide/unhide some fields on basis of some other fields... so , i found this script on the web. i can't understand the function completely what is the if ( txt.match(id1) ) block doing ?? is there any other way of doing the same... [code] <!DOCTYPE html … | |
Hi all I am trying to make a little program that when you type in a number (anydigit) it will search the xml file and display the results in a text box, i have found some code that i would like to modify, the code here has no option to … ![]() | |
Hi forum, Trying to create an RSS feed for my blog (not using a blog host or blog software). Seems to me the best way for me to do it is to use PHP in the XML to draw the last X posts from my MySQL database. So first, I … | |
XQuery 1.0 and XPath 2.0 have some functions listed at [URL="http://www.w3.org/TR/xpath-functions/"]http://www.w3.org/TR/xpath-functions/[/URL]. I would like to try and use one. However I have a couple of questions (1) I am not sure of the syntax. I have never seen one used in code and the listed formats seem peculiar. Does someone … | |
There are multiple occurances of the PLUS_BORROWER data. For each occurence of PLUS_BORROWER, I want to save the CREDIT_SCORE and DAYTIME_PHONE_NBR when the Type= And SOCIAL_SECURITY_NBR are certain values. Then I want to execute a loop and extract the Credit_Score and Daytime_Phone_Nbrs. [code] <PLUS_BORROWER Type="Primary"> <SOCIAL_SECURITY_NBR>123459999</SOCIAL_SECURITY_NBR> <CREDIT_SCORE ModelName="Emperica">793</CREDIT_SCORE> <DAYTIME_PHONE_NBR>4077889999</DAYTIME_PHONE_NBR> <DAYTIME_PHONE_EXT>101</DAYTIME_PHONE_EXT> … | |
Hi, I'm building a little file compression system that is supposed to allow grouping a hierarchy of multiple files and then compressing them and the contrary. For this I don't take care of the file type to keep it generic but I'm getting a problem when the file is an … | |
Hi! I'm trying to take the XML feed from Google Calendars: [url]www.google.com/calendar/feeds/jeffc418%40gmail.com/public/basic[/url] And make it into a PHP variable so I can set each calendar event as a variable. How would I go about that? I contacted my hoster about simplexml and I got a response about PHP 4/5. If … | |
I can't seem to get rid of them. They first showed up on nod32. Then spybot, then maleware bytes. etc. I would remove restart. Everything would be fine for a day. Then bam there back. Performance wise luckily everything has been fairly normal. With the main issues being when I … | |
Hi all, I have the following php script: [CODE] <?php $doc = new DOMDocument(); $doc->load( 'events.xml' ); $events = $doc->getElementsByTagName( "event" ); foreach( $events as $event) { $hours = $event->getElementsByTagName( "hour" ); $hour = $hours->item(0)->nodeValue; $minutes = $event->getElementsByTagName( "minute" ); $minute = $minutes->item(0)->nodeValue; . . . ?> [/CODE] events.xml contains … | |
Hi, I'm writing an client application (not web , just program which sits on the local computer) and also a web server. The application should send a request to the server with parameters (for example: fname="david", lname="cop" , etc.) . the server should read the parameters he was received from … | |
I am having a problem with my RSS feed for my podcast. I am sure I am not doing it right though, but it looks right to me. Can someone please help me. If you go to a Feed Validator and type in the address [url]http://www.fallenangelunlimited.com/podcasts.xml[/url] | |
So lately I have been having certain programs I go to open state that I am not able to open them due to a certain error and it'll be like 00008300000x78 something of that nature right. Plus, the computer is running very slow (it does anyway but even worse now). … | |
Hi all, Just a noob with an easy question :). Given this DTD [code]<!ELEMENT multimedia_format (description, examples, references)> <!ATTLIST multimedia_format name CDATA #REQUIRED> <!ELEMENT description (p+)> <!ELEMENT p ((text|em|strong|abbr|quoted_text|citation)*)> <!ELEMENT text (#PCDATA)> <!ELEMENT em (#PCDATA)> <!ELEMENT strong (#PCDATA)> <!ELEMENT abbr (#PCDATA)> <!ATTLIST abbr fulltext CDATA #REQUIRED> <!ELEMENT quoted_text (#PCDATA)> <!ATTLIST … | |
I am having trouble running some test code using SOAP::Lite for perl. The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net. It should be relatively simple test code, the only complication being the internal proxy server, but that seems to … | |
I'm supposed to switch the themes of the "headline" and the "text", but I can't seem to get it. Here's what I have so far...anyone have any ideas why it doesn't work? Thanks :) [code=javascript] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> … | |
Wondering if anybody could help with what seems a very simple problem but is taxing for this noob. I set myself the task of creating a button which, when pressed, switches the background color randomly. It seems to work well enough but the random number it works from only generates … | |
I'm having trouble calling this template. I want to find the median "price" for all "widgets" This is as far as I've gotten: [code] <xsl:call-template name="median"> <xsl:with-param name="nodes" select="*what goes here?*"/> </xsl:call-template> [/code] My XML: [code] <widgets> <widget price="10" category="1" /> <widget price="5" category="1" /> <widget price="20" category="2" /> </widgets> … | |
can someone help me with this error? im trying to make a dynamic rss feed using php.. am i on the right track?? ERROR: Parse error: syntax error, unexpected T_SL in C:\xampp\htdocs\Gacer\rss.php on line 27 [code] <?php $output = '<rss version="2.0"> <channel>'; $dbhost = '127.0.0.1'; $dbuser = 'root'; $dbpass = … | |
Hi, My comp start to behave strange. Almost on every task poping windows to say: "encountered problem and need to close". I have 4 scans: 1. ESET Smart Security 2. MBAM 3. Spybot 4. HijackThis and posting them here. Hope someone can help. I am using Windows XP Pro Sp1 … | |
Hello All, I know some of ASP.net but now I am finally getting ready to set up a web page. Here is my error message: Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below … | |
Hi, I am having a problem using the curl lib with php. What I want to accomplish is to make multiple request pulling xml returned from two different url's that are called with curl. Here is the code: [CODE=php] $BROWSER="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 YFF3 Firefox/3.0.1"; … | |
I return result like this. [code] $xmlDoc=simplexml_load_file("myXML.xml"); $search = $xmlDoc->xpath("/customer[@id='$ID']"); foreach ($search as $key => $customer) { echo $id = $customer["id"]; } [/code] Is there any chance to DELETE or UPDATE above particular record without creating whole XML file again like we do in database? Thanks | |
Hi, I wish to add the following to my web.config file: [code] <appSettings> <add key="networkDrive" value="C:\test"/> </appSettings> [/code] But everytime I add it i get the following error: [code] Sections must only appear once per config file [/code] I looked in the file to see if it appeared more than … | |
Hi Friends, I just want to output the xml using php and mysql. Like If i have data in jan month and feb. I wanted to display that in xml sheet. How to go about this please help me. Regards Raghu | |
I'm writing a program that accesses a public web service. The web service has one web method. After referencing the service and creating an instance of it i'm retrieving the data from the web method. The problem: The data that gets retrieved is a long string of xml. What I … | |
I cannot get rid of this virus... mbam continues to find the following...tried in safe mode also. Thanks for your time in advance. David Malwarebytes' Anti-Malware 1.36 Database version: 1979 Windows 5.1.2600 Service Pack 2 4/16/2009 8:37:11 PM mbam-log-2009-04-16 (20-37-04).txt Scan type: Quick Scan Objects scanned: 70432 Time elapsed: 5 … | |
Hi, there, i am coming up with a form and i am getting an error message as below: Error 5 Sections must only appear once per config file. See the help topic <location> for exceptions. C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\WebSites\WebSite1\web.config 31 i have also included the whole web.config settings … | |
Hi, all I am using simplexml_load_file() function to get the rss and change it to the XML and get the elements. But i got the error information like below: [CODE=php]failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in [/CODE] My code is like this: [CODE=php] $zip = … | |
I am creating a program in c that finds out the weather and changes the desktop background accordingly. So far i have managed to connect to the internet and DL the bbc rss feed to the file, which i can then open up. I have almost managed to get it … | |
Hey everyone! I'm having trouble with the Open File Dialog in VB.NET. It works fine because I am only returning the file path of the file selected, but for some reason the dialog box reloads every time it is clicked for the first time. For instance, the dialog opens and … | |
Hello, I'd like to ask you guys for an advice. Got this function to request some sentences from database (using php file with mysql_query(SELECT *...) stuff, then echoing the result and passing as a parameter to function displaySent(oXHR.responseText, select_sent) - which displays this text using some parsing procedure into the … | |
Hi everyone, I downloaded a newer version of Bearshare last night, and limewire - only to have it give me alot of viruses. I can't connect to the internet on my desktop anymore. I'm hoping someone can help? I saw an older thread that told me to use Hijack this … | |
Hi, Playing with a script I did a while ago that sends emails alerts when rss feeds are updated to make it more readable, and have struck a problem. At present the email it sends is formatted as follows: "http://www.stuff.co.nz/national/2344448/Group-charges-in-to-reduce-bag-use" Group charges in to reduce bag use (Pressure from environmentalists … | |
Hello Everyone! I am having the most difficult time figuring out a nested loop i would like to perform. The Senario: I have a simple flash image gallery that accepts an XML scheme: The page: [url]http://www.jbobfunky.com/multipage_site/gallery.php[/url] An example of the XML scheme i am trying to render out with PHP … | |
I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest. For Example: It prints out this: a = 4 b … | |
Hi all, I have MP3 player from [url]http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php[/url] and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that? Here is their … | |
Hi there, I have a problem in FireFox, whereby a Javascript function only works if I make the first line of code an alert() statement. If I take out the alert() statement, the following code doesn't work. Any ideas ? The alert() statement I am talking about, is the first … | |
Iam trying to show some results from database - multi results - on JSP page using struts, already did the servlet code to fetch the data as follow : [CODE] private void manage(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{ ArrayList cats = new ArrayList(); PrintWriter out = response.getWriter(); try{ db.rs … | |
Hey there, I am just a little confused with the code below, i parse the XML file although i cant call functions from outside the main. My programming isnt really up to scratch. Ive had a long break so now im paying for it :( Any help/ suggestions would be … | |
hi there, im coming up with a registration form. i can not connect with the database. im using asp.net(visual web developer) and microsoft sql server as database. in the web.config i came up with these codes; [code=xml]<connectionStrings> <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachdbFileName="|DataDirectory|\Courier Management System.mdf";Integrated Security=True" providerName="System.Data.SqlClient" /> <add name="ConnectionString2" connectionString="Data Source=.\SQLEXPRESS;AttachdbFileName="|DataDirectory|\Courier … | |
Hello, Which of the following answer is true and why? Question: Which type of .Net application can be used to automate tasks and does not require a user to login? a. Windows Form b. Windows service c. XML Web Service d. Net remoting object Please explain your answer. Thanks. |
The End.