6,049 Topics
![]() | |
Hi I hope this is the correct place to ask this question, if not then would certainly appreciate any help in pointing me in the right direction. I am looking to make/have made some simple software for a college project. I need to use DTMF (from a mobile/cellphone or digital … | |
Hi, I have made a working program that collects data from a server then puts it into an array. I decided its time to move away from text files and on to XML. [CODE] Dim sr As StreamReader = File.OpenText(frm_Loader.jokes_dic) Dim input As String input = sr.ReadLine() frm_Loader.counter = 0 … | |
Ok, This is just annoying me now, i need to [QUOTE]Create a webpage with embedded JavaScript code that loads one of two files depending on whether the user presses the A key or the B key on the keyboard without refreshing the page. Is it necessary to use the XMLHttpRequest … | |
Dear All, I am trying to resize a page using jQuery but its not working for whole page it just resizes itself rather then whole content of website, anyone can please help me. Here is the code that I am using [CODE] <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE … | |
I didnt knew where to post, so I randomly posted here ^^ please forgive me :twisted: Ok, ill make it short: nhn websites: e.g.: [URL="http://www2.ijji.com/downloads.nhn"]Ijji download[/URL] What is that??? i wonder if its an own language or something copied (e.g. php files with an other extension) | |
Hi all, As a learning project I'm rewriting a spider i have in php to c++. One part of the spider is a multi-threaded downloader, all this downloader does is read urls from a text file download the page and save it. I would like the downloader to strip out … | |
Hello sir, I have problem in getting values of textbox which in .ascx file (user control). at aspx file(the file at which control is added). code is as below. code in .ascx file [CODE]<%@ Control Language="C#" AutoEventWireup="true" CodeFile="attachfile.ascx.cs" Inherits="attachfile" %> <asp:TextBox ID="TextBox1" runat="server" meta:resourcekey="TextBox1Resource1"></asp:TextBox> <br /> [/CODE] code in .ascx.cs … | |
I am trying to do the following in an xsl file: [CODE]ANSWER[@id = concat(local-name(),'_STYLE')]/@valueSrc[/CODE] The xml I am transforming is as follows: [CODE]<DECK desc="Deck" id="DECK1"> <ANSWER id="DECK_STYLE" valueSrc="USER" /> </DECK>[/CODE] The result of this gives me an empty string. However if I make a variable and use it like this: … | |
hello , I am creating a map format for a game I'm making and I'm hoping to use xml. Can anyone tell me how to access elements using tinyxml ? or at least how create some sort of pain text parser ? Thanks in advance ! A Novice C++ Programmer | |
For reading from an xml file, [CODE] char s[6]; ifstream x("output.xml"); x.getline(s,34); [/CODE] char s[6]; I don't want to specify the maximum number of characters in 's'.So,I tried to use string s instead,but getline only takes character arrays. When I used char*,it said,The variable 's' is being used without being … | |
| |
Hi All, I am working on application where i need to read flatfile and then i need to transform using XSLT to another flatfile.How can i achieve this. I am also thinking when we use XSLT 1.0 we can load XML in DOM and validate in SOM aganist schema and … | |
[b]Thread Split - [url]http://www.daniweb.com/forums/thread162300.html[/url] [/b] [QUOTE=alc6379;828001]What are you trying to load from? If you're trying to load the values from a database or an XML file, then you can use Databinding to bind the combobox to a data source, where you've added all of the choices in advance. [/QUOTE] I'm … | |
Does anyone know how I can get this script to show all the entries in atom.xml? It only shows the top four right now. [CODE] google.load("feeds", "1"); function initialize() { var feed = new google.feeds.Feed("http://thedosblogger.blogspot.com/atom.xml"); feed.load(function(result) { if (!result.error) { var container = document.getElementById("feed"); for (var i = 0; i … | |
Hi all I've been doing some research on RSS and have managed to find out how to create a feed and where to submit it (feedburner.com) but I'm yet to find out how the visitors to my site receive my RSS feed automatically. Feedburner.com doesn't explain this and for the … | |
Hi all, I am working on a very simple EJB application in Netbeans 6.8 and EJB 3.0. Somethng wierd with the deployment.. I created a new Enterprise Application. But apparantly Build works fine but when i deploy it i get MODULE HAS NOT BEEN DEPLOYED MESSAGE and It Fails.. Am … | |
Hi, I'm trying to connect to a web service using excel. I have currently no issues logging into the web service and also fetching data using one of the methods. But the two other methods, I get the error that states that it had run into an error restoring data. … | |
Hi, I'm taking texts from other page. In my page I use utf-8 encoding. When I print texts in my page, I get [COLOR="Red"]� [/COLOR]for some symbols, for example for [COLOR="Red"]ö[/COLOR] in German, or [COLOR="Red"]è[/COLOR] in French. I tried use file_get_contents, curl, but in these two ways output have [COLOR="Red"]�[/COLOR] … | |
Firstly - I'm a complete noob when it comes to Python. I'm currently trying to launch an external program called Dazzle from Python with a the path to an xml file as a parameter. I've tried a few different options and can get Dazzle to launch - but the xml … | |
I'm working with Google API trying to plot multiple points on a map. I can't find really good documentation on how I need to do this so I'm sort of winging it at this point. Obviously what I have is not working. The map is displaying and centered where I … | |
dear all .. **default.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %> <!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 runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <br /> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <cc1:AutoCompleteExtender ID="TextBox1_AutoCompleteExtender" runat="server" DelimiterCharacters="1" … | |
Hello all! I am making a site for a club on campus and we need to show the presidents quotes on the site. He has some lengthy ones so I want to save space (can't tell him to KISS) so I'm using a little code I learned to do so. … | |
Hello. I am building a XML reader class DOM. Does anyone have a link that has some code where the text from a JComboBox.selectedItem()("text") for example or any text is used to find a Node in a the DOM document and then work with that nodes siblings? | |
I’m finding it very difficult to elaborately describe the page flows in a lengthy XML format which is very complex , does any software provide XML transformation to mould results suitable for user s to view? | |
Ok I'm trying use scrapy (python module) to get stats off [URL="http://www.nfl.com/stats/categorystats?archive=false&seasonType=REG&statisticPositionCategory=RUNNING_BACK&d-447263-o=2&conference=null&d-447263-s=RUSHING_40PLUS_YARDS_EACH&experience=null&d-447263-n=1&season=2009&qualified=true&Submit=Go&tabSeq=1&d-447263-p=1"]Here[/URL] and I got the Xpath using Xpather plugin. [CODE]/html/body[@id='com-nfl']/div[@id='doc']/div[@id='doc-wrap']/div[@id='main-content']/div[1]/div[2]/div[1]/form/table[@id='result']/tbody[2]/tr[1]/td[2][/CODE] The prob is that the TRs contains all the players and TD inside TR contain all the stats. What Xpath do I use or how do I loop through … | |
Hi All, I am testing our product(Which is basically a rule engine) web application using WPF controls. For that i require to create Constraint rule and selection rule and following is the tree structure: Workspace->Model-> Folder->Entity and rules. After creating rules we export Model.xml and store it to disk. And … | |
hey, I'm not exactly new here ... I like programming challenges i can be categorized as a "rookie" :p , but doing our best JAVA, VB.NET, HASKELL, HTML, XHTML, XML, PHP, JavaScript, CSS and a bit of Ajax anything to help me get to the top will be nice ... | |
Hello all, I have a weird issue here. This chunk of code used to work, but no matter what I try, I just can't get it to work again. Basically, the AJAX response receives a string, the following is an example: [CODE]"1,5,5,1;2,5,5,1;3,5,5,1"[/CODE] So then I split the string by ";" … | |
im new to php why is this rss feed not working. all i get i a blank page. [code =php] $rss = simplexml_load_file('http://feeds.feedburner.com/linuxtoday/linux?format=xml'); foreach($rss->item as $item) { echo "<b>$item->title</b>" , "<br />",$item->description, "<br /><br />"; echo sprintf("<a href='%s' target='_blank'>Read more</a>", $item->link), "<br /><br /><br />"; } [/code] | |
I have read about AJAX for a while now, and tryed to use GET and POST, but with not so good results. Code in index.html: [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Sending data to the maaan and back!</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> //var val = … | |
Hi, I'm searching for an XML streamming parser, but I dont know wich one I must use. I have to parse very large files, and i need to use threads because i need to do some things before the parsing of all the file has finished (that's what a streamming … | |
![]() | Does anyone know how to set the reference points on a movieclip programatically? Im loading images (xml driven) but was wondering how to set the reference points through code in actionscript 3. Any ideas? |
Hi there my first post :), i've started a project that transforms a table from SQL to XML, works like a charm.Now i want to transform from a XML file to database: 1)search if there is a database created(i've done that using try catch) if not create a database XMLReader … | |
Hi, I,m using clickAndWait to click on a button. But I got an error that says the button was not found. I guess this is because there is more than one button at the same level of the html code. selenium.clickAndWait("//input[@value='Réserver']"); The number of buttons is generated dynamically and the … | |
Hi Everyone, I am interested in finding out how to "Create an Online Database with a Monthly Activity Report", more specifically: 1) User would register with us, assigned password (or they choose) 2) User would log-in into a section of the site 3) User would download file OR 2) User … | |
Hello sir.. I am talking about the skype password. Actually I have made some accounts on skype... I have got the location of password stored in the encrypted form. And that location is..at a credential2 tag in xml file which is C:\Documents and Settings\Administrator\Application Data\Skype\skype_username\config.xml. As far as I know … | |
hi pls give me the full solution for this one. tnx | |
hi, i'm trying to run a servlet code, but i get "HTTP Status 404 - Servlet Update2 is not available" error. i checked code, its perfect, web.xml is correct. but i did not find any .class files in my web-inf/classes directory. how could i get servlet .class files in web-inf/classes … | |
Hi All, I am trying to get the maximum no of column in a table through XSLT code. Below i had placed the sample table format. Here column tagged as 'th' and 'td'. Some of the column having 'colspan' attribute. I am struggling how to add colspan value in a … | |
Hi: Yesterday I got hit with a trojan. I am running windows XP Pro SP3, using ZoneAlarm version:8.0.298.000 (free) and Symantec-Endpoint Protection AV. Also have SpywareDoctor (free version), WinPatrol (free), AdAware and SuperAntiSpyware (free). I cannot visit websites like windows update, malwarebytes.com or uninstall-spyware.com, and cannot update any anti-spyware. All … | |
Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [CODE] <users> <user> <fullname>PC1</fullname> <floor>4</floor> </user> <user> <fullname>PC2</fullname> <floor>3</floor> </user> </users> [/CODE] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; … | |
Hi, I am creating a Web Service from a top down approach (WSDL first) and I am using a datetime element as part of a complex type. The XML Schema definition states that the format of the datetime element should be "YYYY-MM-DDThh:mm:ss", however my costumer has requested that we change … | |
Hi, How can i pass an xml file from python to flex 3..? Any one can help me...... with example code | |
How would I go about passing a user agent when requesting an external xml feed from a 3rd party web service. Need to pass the user agent or else the feed produces an error. I am using DOM [code] <?php $request1 = 'http://www.abc123.com/webservice/this.xml'; $requestIT1 = $request1; $response1 = new DOMDocument(); … | |
How to develop a highly available Web service community using Asp.net and mysql as Database server? | |
I have a std::string (char *, std::string::size_t ) constructor failing and I am not sure why. For my small test file there was no problem, but when using ifstream::read() with an unsigned int sz of 1Gb (1073741824) (I think that I used a pos_type 1st time) and the resulting char* … | |
<validate> <keyword> <id>1</id> <name>Priya</name> <qulification>MSC</qulification> </keyword> <keyword> <id>2</id> <name>ram</name> <qulification>BSC</qulification> </keyword> <keyword> <id>3</id> <name>Roja</name> <qulification>MSC</qulification> </keyword> </validate> i need some php sample code that retrieve datas from above xml file for the particular id. please help me. | |
Greetings everyone!! First of all, I'm a python newbie; my apology in advance if I'm being silly with my question but I really hope some one can help me on this. I got myself a project (just to start) to read iTunes library .xml file - iTunes Music Library.xml - … | |
I'm using the below code to create an html file using fopen and fwrite. In the html source code I trying to add carriage returns using \n, but I'm not having any luck [CODE] $filename = 'textfile.html'; $newstring = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' $newstring .= '<html … | |
Can somebody help me with the following problem, here is inputxml, xslt i'm using and expected output . actually i know it is because of unique generateid not getting generated this xslt failing to generate desired output but i don't know where that code should be inserted. InputXML [CODE=XML]<?xml version="1.0" … |
The End.