6,049 Topics
![]() | |
I am attempting to merge two XML documents (using Pentaho Kettle), and I'm having trouble with my XPATH statement. In the first XML, I have a list of users and their user id's. In the second XML, I have a list of projects, each with an id that corresponds to … | |
Hi! I have a PHP script I've downloaded from somewhere (don't remember where, but the developers link is dead) and I want to modify it. Actually I want an extra page. The script has 2 files, tw.php and parse.php. In tw.php you should enter your twitter account (user+pass) and the … | |
I wrote a code to send file as below: [CODE]Dim objXMLDoc As New XmlDocument objXMLDoc.Load("C:\Inetpub\wwwroot\XMLSchema_Test\XML\1773777.xml") Dim blnResponse As Boolean Dim objURI As Uri = New Uri("https://172.16.17.2/XMLSchema_Tests1/Web%20Forms/frmXML_Receive.aspx") Dim objWR As HttpWebRequest = HttpWebRequest.Create(objURI) blnResponse = objWR.HaveResponse Dim strXML As String = objXMLDoc.OuterXml objWR.Method = "POST" Dim encoding As New System.Text.ASCIIEncoding Dim … | |
Hi guys, Just a quick intro of myself; I am a student and I am here for others to do my homework (jk). :twisted: Actually I am a student and came across this site when looking for a definition about a programming term and decided to sign up. I am … | |
I'm using simplexml_load_string to extract a node from an xml filen xml file. It works most of the time, but not all, and when it fails, it gives the error: "call to a member function xpath() on a non-object" I suspect it's because the $menuXML isn't fully loaded? It is … | |
i m very new to html. infact dont know anything about html. i just learn flash, so the only thing i know about html is (publish to HTML). so when i create a index.html file by exporting a flash file, it gives me following coadeing... [CODE]<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> … | |
Hi all, I have a problem concerning my project which is Persoanlised Agent for hotels. In fact, i am creating an interface using java swing for entering the details so as to be able to search for available hotels in a specific country.. the different search criteria is 1) Price … | |
Hello, I've recently encountered the Antivirus Plus malware and have had trouble getting rid of it completely. Here's what I've done so far: First I did a system restore to a date before the malware appeared. The only remaining symptoms I could see were that IE and Firefox were still … | |
Hey everyone, I'm trying to import a table using xml file into my access project. First I exported the table the easy way and saved it on my desktop, and now I'm trying to write a vb code for a button on a form that will import it. I have … | |
Hi every one I have been given a task to investigate and come up with an integrated all-in-one mobile student information system where students can be informed of class changes by text, and inform their lecturer that they will be absent. Question 1 what would be the necessary hardware and … | |
Hi! I want to find the xpath of an xml doument along with its index value in java. I'm using DOM parser to parse the xml document. Suppose if i consider this xml document, [CODE]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE folks SYSTEM "sample.dtd"> <folks> <person> <name>abi</name> <phone>999555-8888</phone> <email>b@xyz.net</email> </person> <person> <name>saran</name> <phone>213545697</phone> … | |
Hi, I just start using Linux Ubuntu 8. I need a PHP development software like Dreamweaver with good features to use under Ubuntu. What do you prefer? It is to use PHP, HTML, XHTML, Javascript, CSS, XML etc. Thanks | |
Hi, How to edit the following xml file without losing elements. eg: [code=xml] <book id="b1"> <bookbegin id="bb1"> <para id="p1">This is<b>first</b>line</para> <para id="p2">This is<b>second</b>line</para> <para id="p3">This is<b>third</b>line</para> </bookbegin> </book>[/code] I try to edit the above xml file using dtd using jsp,servlet. but while i read the textvalue from xml, it return … | |
Hello all, I'm having an issue with getting the ip address of a client accessing an xmlrpcserver, some of the time the code will work and then when I go to transfer the classes/methods (copy and paste) into my other file neither work and both have the same error: Server: … | |
I am new at xml but have a little php/html/javascript knowledge. My question: how do I get my xml data to automatically refresh? I believe it's somewhere in the xhttp commands, but am lost. Any help would be appreciated. [CODE] <html> <meta http-equiv="refresh" content="15"> <body> <h1>Test</h1> <b></b> <span id="audio"></span><br /> … | |
Hi, I have this code working perfectly fine with the cool subwai stuff on the left side and the Reset All button below it. And the menu summary box towards the right handside of the cool subwai stuff. And the pictures come on almost the center of the page. But … | |
I downloaded spydoctor and ran it. it scanned my computer and found 55 infections. of course after the scan it said to clean please register which cost $$ :( but I saved the log. and was wondering if that is a good spyware remover? here is the log. <?xml version="1.0"?> … | |
Hi - can somebody pls. tell me how to use 'Span Tags' to increase Font size of TEXT in Red below ? Below is the original XML code. <?xml version="1.0" encoding="utf-8"?> <news> <settings linesColor = "0x424646" backGroundAlpha = "50" backGroundColor = "0x363B3D" thumbsBackGroundColor = "0x404546" thumbsPreloaderColor = "0xCCFF33" listItemIconColor = … | |
Hi all, How to be professional in web development? any web technologies that we can use? Lists: Web Service, Web Cache, JSON, Ajax, Web Security, ... any thing else ? What books teach about these technologies all in one ? Thanks in advance! | |
Hi, I am developing xml editor using jsp and servlet. In this case i am using DOM parser. using that i getting all the element, text, xpath form xml file with help of DTD. Upto this it will be working, and it save back into xml file. While save into … | |
Hi there everyone, I really need some help. I have a load of PHP pages that generate XML feeds that need to run hourly for my site to function. Problem is I have run out of cron jobs with my hosting. I wondered if there was a way of creating … | |
Hi, I am currently learning AJAX, and I want to write an simple example program (it is only for practice, it has no real meaning). The program sends request to to PHP and gets response from it, then it should write the response using message box, all should happen on … | |
Hi, I have the following xml and I want an xsl that the out put should be only part of the input xml including all attributes, text everything. Input xml [code] <a> <b> <c id="k">test</c> <d id="y">test</d> </b> </a> [/code] Output [code] <b> <c id="k">test</c> <d id="y">test</d> </b> [/code] In … | |
As mentioned is this [URL="http://www.daniweb.com/forums/thread255320.html"]thread[/URL] I intend to create a collection of functions that use only core functions (as the [URL="http://www.php.net/manual/en/ref.strings.php"]String[/URL] functions) to maximal compatibility. (See the [URL="http://sites.google.com/site/xmlxslt4php/"]website[/URL] - anyone is invited to participate.) The first task will be to parse a string (containing the XML data), break it down … | |
Hi All, I'am having trouble passing image take from j2me application to asp.net C# webservice. I tried converting the image in byte[] to base64 string and pass to webmethod that receive a string and received the following error. Please help! javax.xml.rpc.JAXRPCException: error 0 during TCP write at com.sun.j2mews.xml.rpc.SOAPEncoder.encode(+248) at com.sun.j2mews.xml.rpc.OperationImpl.invoke(+40) … | |
Hi Im working on an Actionscript 3 program where i will click through a tree structure of buttons and use the values of the particular set of buttons, to access its corresponding value in an XML file. As i click each button, I start forming a string eg. Click1 = … | |
Hello, I have a project where I am using a listview to display a data received through XML. One of the columns called "STATUS" display only 2 text data, either "ON" or "OFF". I would like to know how to count how many times the word "ON" it is apearing … | |
I want to remove the JOB node with JOBNAME "One" from the following file: <SETTINGS> <SYSTEM> <VERSION>3.1<VERSION> </SYSTEM> <JOB> <JOBNAME>One</JOBNAME> </JOB> <JOB> <JOBNAME>Two</JOBNAME> </JOB> </SETTING> The code that is supposed to remove it looks like this: [CODE]try { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = factory.newDocumentBuilder(); Document doc = docBuilder.parse(new … | |
This is the python code from a file 'legend.py' that prints the contents of variable 'doc' to console: [CODE=python]print '\n'.join (doc)[/CODE] Now through the above code, whatever is inside doc gets written to the console, if I run python legend.py description.xml Below is a shell script : [QUOTE][B]for z in … | |
Hi! i need to insert a new element in an existing xml document. for example, [code=xml] <details> <person> <name>Anu</name> <email>abc@yahoo.com</email> </person> <person> <name>thara</name> <email>xyz@gmail.com</email> </person> </details> [/code] In this document if i want to insert another element using Xpath, say,<publisher> in <book> node, how to insert it. I'm using DOM … | |
Hello all, I am trying to read value from a XML message fragment using C# and I am unable to load and read the document mainly because I don't enough experience working with xml data. I don't have the raw xml document on hard drive, so it is generated from … | |
Hello, I wants to know that what are the ways to bring Google Bot fast to visit my site. I am doing SEO of a Website and I have made changes in pages but my changes are still not live after 30 days. I am submitting sitemap.xml everyday but still … | |
Hello Python community, I've just finished building an app with Python and I'd like to share my experiences and get some feedback. This was from scratch (no code templates) all the way to compile and distribution on a Windows environment. Now all my colleagues at work are using the app … | |
Hi, I would like to do mass SLES installation in my lab. Each server machine contain 2 DVD driver and one floppy drive. I have SLES 11 dvd, plan to install all the server using autoyast. I tried following way: 1. created a mini boot CD, edited isolinux.cfg file like … | |
Let's start with the problem: I am creating a XML-based CMS that has to run on the servers of French internet service provider and web host Free.fr. So I can't use SimpleXML as only a handul of [URL="http://wiki.free.fr/wiki/index.php/Fonction_php_active_free"]functions[/URL] are activated. I can only assume that it is the old [URL="http://fr.php.net/manual/en/book.xslt.php"]XSLT[/URL] … | |
Site is working fine in mozilla and safari but not in Internet explorer. I am also trying to figure out how to put a picture next to the name on the other side. [B]Below is the css and the xhtml codes[/B] [B]CSS [/B][CODE]/* layoutstyles.css */ /* Background color of box … | |
Hi, I have the following XML <ext-link xlink:href="http://....com">www....com</ext-link> in my xslt, when I have ... <ext-link xlink:href="{@xlink:href}"> .... When I ran it, it gave me error " namesapce error : namespace prefix xlink for href on ext-link is not defined. I tried to use "xlink\:href", it didn't work. How to … | |
Hi.. I'm trying to study jQuery and I've got a question in some parts of a code.. Here is the code.. [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> <link rel="stylesheet" herf=".css" type="text/css"></link> <script src="jquery.js" type="text/javascript"></script> <script src=".js" type="text/javascript"></script> </head> <body> <div id="switcher"> <div … | |
I'm new to this forum, and these programs, but I've installed the hijackthis and malware programs. i'm getting popups even if i have no applications opened from internet explorer every so often. i dont even use internet explorer, i have been using firefox for a long long time. here are … | |
I am currently doing a college project and I can not get a certain area to work. I want to call values from my SQL DB to my asp web screen. I want the values to correspond with a Date and a Staff Number Dropdown List. I have tried several … | |
[code] Dim Briggs As New Z_SCART_CREATE_SALES_ORDER Dim P1 As New Briggs_N_Stratton.Zvscartordhdrin Dim P2 As New Briggs_N_Stratton.Zvscartorditmin Dim P2arr(1) As Briggs_N_Stratton.Zvscartorditmin Dim P3 As New Briggs_N_Stratton.Zvscartorditmout Dim P3Arr(1) As Briggs_N_Stratton.Zvscartorditmout Dim P4 As New Briggs_N_Stratton.Zvscartordtxt Dim P4ARR(1) As Briggs_N_Stratton.Zvscartordtxt Dim p5 As New Briggs_N_Stratton.Zvscartordmsgs Dim p5Arr(1) As Briggs_N_Stratton.Zvscartordmsgs Dim P6 As … | |
Hi, I tried searching it up but I can't see to find an answer. What is type[B] xhtml:flow[/B] in an XML document? If anyone could also provide an example, that would be awesome - thanks!! | |
Hi. I'm new to ASP.net and I'm having a bit of trouble with loading information in from web.config. I've stored my database connection in the web.config and the rest of the code is in my code behind file. Here is the code behind file followed by the web.config extract. The … | |
can you kindly help me load my gridview with data from appsetings.xml . the gridview must have the following three columns(key,value and description) here is my appsettings.xml. [code] <?xml version="1.0"?> <configuration> <Global> <FromEmail value="test@uiplay.com" description="From Email Address Name" /> <AdminEmail value="cmckowen@gmail.com" description="Admin Email Used for Admin Test and Unsubscribe Comments" … | |
I'm having difficulty writing my xml schema (.xsd) file. My xml file contains a recursive element para which in turn has mixed elements within. The element para contains either text only or it contains 0 or more sub-elements para and/or it contains 0 or more element footnotes or/and it contains … | |
Hi, I'm trying to generate an XML file with the following lines looking like: [CODE=XML]<?xml version="1.0" encoding="UTF-8"?> <Platform xmlns:xsi="http://www.w3.ord/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="theschema.xsd">[/CODE] Platform is the root node. I need xsi:noNamespaceSchemaLocation for XML validation against the schema. I've tried the following code (where xmlDoc is of type XmlDocument): [CODE=C#]XmlElement Platform = xmlDoc.CreateElement("Platform"); Platform.SetAttribute("xmlns:xsi", … | |
Hi All, I'am having great trouble with the db design (MS SQL Express 2005)of a Facility Booking System DB Design and its urgent. Please help! I'am currently building this web application for a organising committee which is responsible to book facility (tennis court or squash court) at a particular location … | |
In a button click event I need to send 5 different commands recieve each output one by one. My code for only one command is (its works): [CODE]TcpClient socketForServer; socketForServer = new TcpClient("127.0.0.1", 2211); NetworkStream networkStream = socketForServer.GetStream(); System.IO.StreamReader streamReader = new System.IO.StreamReader(networkStream); System.IO.StreamWriter streamWriter = new System.IO.StreamWriter(networkStream); string command … | |
Hi All, First time post :) I am having a problem with sorting a for-each loop. I need to sort the data based upon a date given by a child element that has a certain attribute, confused ill show the code: XML FILE: [CODE]<?xml version="1.0" encoding="utf-8"?> <IssueViewXMLExport xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" … | |
Hi, Need some guidance as this is new territory for me. I have an XML/XMI file representing a UML diagram. I need to transform it into a file with a different XML structure. I believe I can use either XSLT, XPath, or XQuery to achieve this... or maybe something else … |
The End.