6,049 Topics
![]() | |
Hello, I've started work on building a 2d tile based platform game, and have just been wondering about how to store/distribute the games levels. this game allows you to load a 'World' which is made up of potentially up to 10000 map files (A 100x100 grid, though most of the … | |
Hi all, I need some help on parsing latin character, when i am applying stylesheet(XSLT) on source xml file this will give some target xml file but when transforming file those latin characters converting into "?"(Question mark). Please help me how to solve this problem... | |
When I enter the integer, I'm not getting the prompt that states if it is odd or even. I am new to this, so this stupid thing has taken me a week to do, but now I am just frustrated. Can someone help me out. [code=html]<?xml version = "1.0" encoding … | |
I'm a beginner. I'm learning XPath. This is the sample structure: [code] <AAA> <BBB/> <CCC/> <DDD/> <AAA/> <BBB/> </DDD> <div class="some"> <AAA/> <BBB/> <div id="special"> <AAA/> </div> <div style="clear: both;"/> <hr/> <div> text </div> <div> text </div> <div> text </div> <hr/> <div> text </div> <div> text </div> <DDD/> <EEE/> </div> … | |
hello guyz, i am new here thought might be helpful to post here. so here it goes i have classic asp page who will call web services and display results now the problem is that i can login into the web service and logout as well which does not give … | |
Hello, i'm a beginner and i'm creating a guestbook in asp.net with XML. i have the following: my aspx page: [code=asp.net] Name: <%#DataBinder.Eval(Container.DataItem, "name")%><br /> E-mail: <a href="mailto:<%# DataBinder.Eval(Container.DataItem, "email") %>"><%# DataBinder.Eval(Container.DataItem, "email") %></a><br /> Location: <%# DataBinder.Eval(Container.DataItem, "location") %><br /> Date: <%# DataBinder.Eval(Container.DataItem, "date") %><br /> <i><%# DataBinder.Eval(Container.DataItem, "entry_Text") … | |
hi i am trying to collect the database of books from the devloper area of isbndb.com. this site provide us a passkey with the help of that we can collect the xml data from database depending upon criterias. .[url]http://isbndb.com/api/books.xml?access_key=6XEB6RTL&index1=publisher_id&value1=oreilly[/url] this link collect the xml data of books publisher of oreilly. … | |
I build a new Site. In that i want to add Stocks, Weather, News, Sports, some kind of Entertainment things through RSS. I want to know the procedure what is RSS Reader, Where i can best RSS feeds of the above mentioned topics. What is the difference between RSS Reader … | |
Hi Folks, I have two questions: 1). How to escape CDATA in your xslt script? [code] <xsl:template match="/"> <![CDATA[ <xsl:apply-templates select="node()"/> ]]> </xsl:template> [/code] In the above code, the template inside CDATA does not get executed. What I actually want is the result from this template (<xsl:apply-templates select="node()"/>) to be … | |
Hi all. I'm struggling to come to grips with parsing an XML file because I need to implement a very simple example of the Namecheap API. The API requires me to submit a very long URL (see the variable 'filepath' in my example code further down). When I drop the … | |
Hi, I don't know if this is the right area to post this, but it seems to be related. I am interested to know how an URL-based api key restriction works, such as the one used by Google to protect its Google Maps service. From what I understand from this … | |
Hello People.. I am using cURL to open up a web page from my page. I am giving my password and email.. but on LIVE HTTP headers a plugin by FF..it shows error 404.. it says so because the new page has a css file named "io.css" and error 404 … | |
My code reads an Excel file and outputs XML. For one value I need to evaluate 2 spreadsheet values to set the XML as in (dr being a datarow): [code] if (String.IsNullOrEmpty(dr[5].ToString().Trim()) == true) strPrimeTaxid = dr[6].ToString().Trim(); else strPrimeTaxid = dr[5].ToString().Trim(); [/code] This works fine for data such as "123456" … | |
hello I am new to DOM Parser. I tried alot to write a XML file but not getting any result. I want to create one xml file then create all the nodes at run time. I am using xerces C++. Please give me some code snippets if possible or suggest … | |
Ive got the email program itself working fine. It interacts with a database to get the "subscriber list" as the people it sends it too. My problem now is i need to fix it to be able to send .pdf files. I have found a couple of scripts that work … | |
Hi, There is this link -> [url]http://data.giub.uni-bonn.de/openrouteservice/php/DetermineRoute_rajan.php?Start=7.0892567,50.7265543&Via=&End=7.0986258,50.7323634&lang=en&distunit=YD&routepref=Fastest&avoidAreas=&useTMC=false&noMotorways=false&noTollways=false&instructions=true[/url] ! where I need to extract text, perhaps -> <xls:Instruction>[B]Drive half left on Kaiserstraße[/B]</xls:Instruction> <xls:distance value="[B]284[/B]" uom="YD"/> (bold text). On using something like this : [code] $url="url_just_shown_above"; $output = file_get_contents($url); $xml = simplexml_load_string($output); echo $xml->xls:RouteInstruction->xls:Instruction."<br />"; [/code] I am getting error -> Parse … | |
I'm having a problem parsing a webpage to extract data from a table. Ideally I'm trying to extract the table with id="ctl00_ctl00_MainContent_PM_MainContent_gv_Portfolio" (see html below) I don't have a problem entering the website and downloading the html, it's beautiful soup that's tripping me up. My python code and downloaded html … | |
Hi Folks, I'm new to xslt transofrmation so need a little help in transforming the following example. Input: [CODE]<Persons>12</Persons>[/CODE] Output: [CODE]<PassengerRPHs ListOfPassengerRPH="1 2"/>[/CODE] The main thing above is to put a space between digits, 123 -> 1 2 3. It would be perfect if the transformation also handles 9101112 -> … | |
Hello, I have a xml file below from which I want to extract the data using xslt. I trying to create the xslt but no results , I have some hard coated values in the xslt which I want in the output xml. I also need the other values from … | |
I have this feed of classifieds that I need to convert to an .xml doc. I explode each string into an array (separated by a "|"). Everything work just fine except the string cuts off if there are any line breaks in the 5th section and everything after the break … | |
1 [icode]<%@page import = “java.util.*” %>[/icode] 2 [code=JSP]<% String s1= request.getParameter(“str1”); String s2= request.getParameter(“str2”); str = concatenateStr(s1, s2); %>[/code] 3 ) [code=JSP] <%! String str ; public String concatenateStr(String s1, String s2){ return s1+s2 ; } %>[/code] | |
Question 1 You are required to write the code for sevlet which will take username and password from the html file and matches with database which contains two columns; one for username and other for password. Providing correct information leads to welcome page otherwise to a login page again. You … | |
Hello, I am am trying to get a ListView to populate based on an xml file. to acheive this I would like to use the DataTable. this is my XML file: [CODE]<?xml version="1.0"?> <main> <person> <id>1</id> <name><first>Joe</first><last>Blow</last></name> </person> </main>[/CODE] And the C# that I am using to read it: [CODE]public … | |
Hey all, I'm trying to insert a bunch of rows from an xml document into an SQL database. I have a stored procedure that I'm calling from my program after I generate the XML string and pass it into the SP. It runs with no (visible) errors, but when I … | |
Hey everybody! I'm new to this forum & I'd like to get some help with a 'flash xml menu with sub menus' that I already have. The problem is that main menu labels are short: HOME PORTFOLIO CONTACT US ABOUT US but the sub menus are longer: Transcend Music Publishing … | |
Hi I am not sure whether this is the right forum to post, sorry if this the wrong form.... I am trying to create a jboss cluster of 2 nodes. Here is the setup required. 1. NodeA is on server1 on VLAN1 2. NodeB is on server2 on VLAN2. 3. … | |
Hey guys, I used to keep getting a screen of death error in XP and I got a new PSU (advice of novatech) and it seemed to have done the trick. However I was installing SP2 for Vista and on the restart to do Step 3 I got a blue … | |
Hello All! First thanks for viewing this thread. My issue is I have a class below that I want to call and the constructor requires a File variable and I do not understand how to declare this so I can call it from my main class. My last issue is … | |
I am new to AJAX. I'm trying to write code that will extract from an XML file and then display the results. Keep getting a syntax error. HTML: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Extract Data from an XML file</title> <script type="text/javascript" language="javascript"> <!--The object … | |
Windows Vista Home Premium, 2GB RAM, BitDefender Internet Security 2009. I have had my computer on all day doing various things and no problems. Suddenly when I went to my RoboForm and selected the Logins I got the blue screen. I shut down, restarted and everything was fine. I was … | |
In Visual Studio 2008, I received the below error message while trying to add a web reference to my Web Application. "There was an error downloading '.....asmx'. " I had no issues when I tried the same in Visual Studio 2003. What would be the problem? Please help me, It's … | |
I am trying to parse a XML document but can not seem to parse both Childnodes and Attributes in the same Foreach statement. ===================== PHP CODE ===================== [CODE] <?PHP $webResults = $response->getElementsByTagName($prnt0); if ($webResults->length<>0) { foreach($webResults as $value){ $title = $value->childNodes->item($child1)->nodeValue; } } ?> [/CODE] Need the title childnode and … | |
Hi I created a main project (called the Portal) that has the sitemap and master page in it. I created a virtual path provider so that other projects/site can use the master page. I created a project called WebTest that uses the virtual path provider to get the master page … | |
Well im trying to get my form to post data to a php file and get back the result. For some reason its not calling mail.php, but instead it just puts all the post data in the current url like [code]somesite.com/index.php?id=value&id=value..etc[/code] instead of [code]somesite.com/[B]mail.php[/B]?id=value&id=value..etc[/code] here is the ajax code [code=javascript] … | |
Hi I read that a vb.net application can make use of a .manifest file to allow the programs to get through the user account permissions when installing to ms Vista. I understand this code was offered for vb.net, does anyone know if the same thing can be applied to vb6, … | |
Hi, Im new to C# and need help with my program that im writing i need to let it read an XML in the first window and when i press add program a second window opens (both windows i have) i want it to write the XML so something like … | |
I have a SQLDataSource that has an XML string as its data value. I want to blast out the raw XML to the webpage. How do I do that? Thanks in advance for any help or assistance. | |
is it possible to use the xmlHTTP.responseText in any other java function, after execuation of stateChanged() function??? example in ajax... [ICODE] function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { var result = xmlHttp.responseText if (result.length=="0"){ var task = "do"; //i want to use "task" in other js function return task; } … | |
hi, i am picking up js for form validation. does anybody know how i can add a little check (a tiny image) to the textbox if the content is passed ... and a cross mark maybe if the textbox content failed. it would be great if someone may just shoot … | |
Hi all, I have a piece of xml+html which I'm trying to cleanup using xslt. Here's a sample; [CODE]<body> <TEXT>A few bright spots are emerging in the small to medium-size enterprises landscape, but funding issues remain as much a problem for those who want to expand overseas as for those … | |
Hi folks, I have a Client (A Till) and a server which I am developing in C#. I wish to implement some sort of network queuing system. So basically, when a method wants to send some data to the server, it will try first and if it fails, then add … | |
Hey guys, I've been developing an application which transforms files generated by an aircraft transponder into KML files that will be loaded on Google earth. As these KML files are more or less XML files I'm trying to parse XML files. I have downloaded and the xerces library. According to … | |
so im really getting into the ajax crowd, though i dont strictly use ajax (no xml) i like the functionality of calling server side scripts for dynamic php functions... anyway i have a few images in this form ive made that i would like to be placed correctly let me … | |
Hi all, With your help I have a perfectly working console application. Now I need to do it a bit more flexible. So far I have the file paths for all files involved in the applications execution hardcoded.I need to be able to execute the console application from anywhere. i.e … | |
Hi folks, I'm currently trying to send data from a client to a server. It is an xml file. The client has this code: [CODE] public void sendXML(XmlDocument xdoc) { try { //Using the network stream to send data NetworkStream nts = new NetworkStream(Network.m_clientSocket); xdoc.Save(nts); nts.Flush(); } catch { Connected … | |
Im am using serialization and deserialisation to read and store settings in a xml file. I have het created a generic class because I want to store different kind of settings in different kind of xml files. Is it possible to instantiate the type of the generic class within that … | |
How would I read XML data into an array? I have an XML sheet, and I want to read each of the values of a specific element into an array. So for each element in each data group I would have an array holding that data. The idea is to … | |
Hello everyone, I have been trying to launch my JSP web application using Tomcat using my laptop as the server, with little success. I have registered a DNS at dynDNS.com ( free DNS, anyone!), made my IP static, forwarded port 8080 and port 80. The only problem I believe is … | |
Hey, i have a simple, almost 3 columns layout, (2 and one empty which will just display images for the sake of the layout) the left div, containing the menu is float left, the wrapper for the left div and the content (second middle div) has clear:both, now i'm not … | |
So, this is my hello world program for python and I have been able to solve all the problems except 1. When I grab the page data from WoWArmory in python, non-ascii characters like "ø" are printing as "ø" and "é" as "é" and so on. So, I went over … |
The End.