3,634 Topics

Member Avatar for
Member Avatar for Clodan

Hi guys, well my question is the following: I am using XPATH in php. Let me say I have the following in a HTML file: <p>This part I want but not this part</p> I want to have the text "This part I want". I did research and have the following …

0
77
Member Avatar for rakesh1021

hi..i was learning xml parsing in php and my question is that in the php manual i found a bunch of Xml Parser Functions under the heading **XML Parser**(http://php.net/manual/en/book.xml.php). Are these functions applicable to all kinds of parsers in php like SAX, SimpleXml and others?

Member Avatar for LastMitch
0
208
Member Avatar for jjackie

Can any one suggest me what is the major difference between **XML & HTML Site Map** ?

Member Avatar for WebDoubts
0
106
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Member Avatar for Dazza2
0
1K
Member Avatar for vasu1486

I want to delete An Xml Element book for authors matching J K. Rowling. My code below file1 = File("C:\\books.xml") docFactory = DocumentBuilderFactory.newInstance() docBuilder = docFactory.newDocumentBuilder() doc = docBuilder.parse(file1) list = doc.getElementsByTagName("*") for i in range(list.getLength()): node = list.item(i) #print node.getNodeName() if node.getNodeName() == "book": children = node.getChildNodes() for j …

0
36
Member Avatar for joshl_1995

Helllo Community, I was wondering if there is a way to get all the second nodes from an xml file example: <?xml version="1.0" encoding="utf-8"?> <!--XML Comment--> <Main-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> </Main-Node> Please Help...

Member Avatar for Begginnerdev
0
188
Member Avatar for aldm

Hi, is there any API for historical dates on web that returns data in xml or json format. For example, I need to get importants events in history on todays day and show that events in my app. Is there any good place to do it? And if you know …

Member Avatar for pritaeas
0
232
Member Avatar for dilip.biswas.9404

Hallo, How can I connect with the multiple XML files (100 XML file) together from a folder. Example : C:\ Drive has a folder called XML, which belongs to 100 XML file. How can i load these XML files together in PHP. Please Help, thanks in advance. Dilip

Member Avatar for diafol
0
285
Member Avatar for anirban1087

I am trying to get some xml data into my web page using php. When I am placeing the url into a web browser it is showing some xml data. But when I am doing that from inside a php page it is returning some empty data. The link is …

Member Avatar for R0bb0b
0
291
Member Avatar for Mikey12345

Hi I have a datatable which i can save easily as xml using the following code. My problem is that i also have a textbox which i would like to save with this datatable. How can i save a datatable + textbox value as one XML file. Many thank for …

Member Avatar for TnTinMN
0
424
Member Avatar for erum

I am accessing webservices through following .aspx code <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Params.aspx.cs" Inherits="JQueryAjax.Params" %> <!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"> <style type="text/css"> .loading { background-image: url('ajax-loader.gif'); background-repeat: no-repeat; } </style> <title></title> <script src="jquery.js" type="text/javascript"></script> <script type="text/javascript"> function CallService() { $("#lblResult").addClass("loading"); $.ajax({ type: …

Member Avatar for erum
0
183
Member Avatar for f_atencia

Say I have the following XML: <People> <Group id="1"> <Person FirstName="Bob" Surname="The Builder"/> <Person FirstName="Jane" Surname="Doe"/> </Group> <Group id="2"> <Person FirstName="Billie" Surname="Jean"/> </Group> </People> How can I update Group 1 dynamically by replacing it from an imported xml file (for this sake, we'll store it in a variable called $ImportXML)? …

0
92
Member Avatar for Siberian

I want to first off say, I don't know Visual Basic. I have a XML script that for a program that can only accept VB Scripts. I want a simple script to check whether, on it's own or if it can, from the XML file to see if a USB …

Member Avatar for Siberian
0
153
Member Avatar for Naut

An educational institute wants to implement online result system. The student can feed its rollno and course on the web site to see it marks details in order of various subjects. More ever administrator of the web site can edit and add marks through web interface of the site. Write …

Member Avatar for ratan mani
0
131
Member Avatar for giovannitao

Hello, My weather station software produce an XML file with live info about temperature, Wind, etc. It is possible grab this info to mysql db every 5 minutes and organize for day, month and year? Thanks

Member Avatar for pritaeas
0
63
Member Avatar for Gribouillis

This small python script invokes the [Treeline](http://treeline.bellz.org/index.html) tree visualizer to display xml files in a pleasant way. ![viewxml](/attachments/large/1/viewxml.png "viewxml")

0
2K
Member Avatar for Lyfe

**Please how can i get only one element data from this xml soap web service response? (for example: <location>). Thank you** <string><?xml version="1.0" encoding="utf-16"?> <CurrentWeather> <Location>Madrid / Cuatro Vientos, Spain (LEVS) 40-23N 003-47W 687M</Location> <Time>Dec 22, 2012 - 03:00 AM EST / 2012.12.22 0800 UTC</Time> <Wind> Calm:0</Wind> <Visibility> less than …

Member Avatar for kvprajapati
0
305
Member Avatar for Lyfe

**i have consumed a webservice (shown below) from webservicex.net into my client C#.NET application but it is returning this whole bunch of XML. Please, how do i get values of only <wind> and <temperature> elements into my application's textbox? Thanks** <string><?xml version="1.0" encoding="utf-16"?> <CurrentWeather> <Location>Madrid / Cuatro Vientos, Spain (LEVS) …

Member Avatar for tinstaafl
0
310
Member Avatar for chris99

I know the code, but not the tags to enclose it within. Current HTML: <!DOCTYPE html> <html> <head> <script language="JavaScript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#Reindeer').sortable(); }); </script> <script> if (window.XMLHttpRequest) { xmlHttp=new XMLHttpRequest(); } else { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlHttp.open("GET","xmlExample.xml",false); xmlHttp.send(); xmlDoc=xmlHttp.responseXML; function displayComments() { content=(x[i].getElementsByTagName("content")[0].childNodes[0].nodeValue); txt="Comment: …

Member Avatar for chris99
0
235
Member Avatar for subramanya.vl

I need the algorithm not the code . I am on a project where I should not use any third party libraries other than java sdk. I am supposed to convert a text file to an xml file. I know that there are SAX parsers and DOM parsers available and …

Member Avatar for peter_budo
0
128
Member Avatar for opticaltim

I'm creating a XML-viewer which should be able to read **every** XML file and put it in a treeview. My goal is to create a XMLViewer control, an user should be able to change certain routines in his own implementations. I provide default implementations that offer a basic functionality so …

Member Avatar for tinstaafl
0
1K
Member Avatar for sritech97

# Converting data XML sequential rows of data to tables in another XML # Hi I have following xml which I want to convert them into different tables when it find a row with header and all following rows as table data until it finds another row with header. the …

Member Avatar for FakeTales
0
276
Member Avatar for varma51

<html> <title>Student Registration(1.html) </title> <body> <form name="fin" action="2.php" Method="post"> <table> <Caption> Student Registration </Caption> <tr> <td> Student Name: <input type='text' name='Sname' /> </td></tr> <tr> <td> Student id: <input type='number' name='Sid' /> </td></tr> <tr> <td> Student Class: <input type='text' name='Sclass' /> </td></tr> <tr> <td> <input type='submit' value='Next" /> </td></tr> </table> </form> …

Member Avatar for FakeTales
0
180
Member Avatar for carljung

I have used XSLTProcessor to receive XML data: $atb = new XSLTProcessor(); Often it takes a few seconds the data to load. I understood that there is a faster way to load the information. The current speed is like this: http://time-time.net/time/new-york-new-york-usa.php which is in most of the cases too slow. …

Member Avatar for LastMitch
0
174
Member Avatar for kaur.reinjarv

I need to transform E-DOC XML INSDES (instruction to dispatch – document sent from Seller to Logistics company) to Edo XML INSDES using XSLT transformation and verify final by XSD scheme. Here is the E-DOC XML <PickingRequest> <Order No="C3710177"> <OrderDate> 2012.11.15 </OrderDate> <ShipFrom> 4771459000007 </ShipFrom> <ShipTo> 9854485652622 </ShipTo> <Lines> <Line …

0
99
Member Avatar for andreea.mihaela.90475

i have a code writen for a domain, i want to modify for another domain (http://www.apbspeakers.com/speakers) scraping, but i dont know css elements from new domain to start i think: `__doPostBack('ctl00$pid-speakers');` and `var nodes = __utils__.getElementsByXPath("//a[ 'pid-speakers']");` ???? , here is the code: var utils = require('utils'); var casper = …

0
94
Member Avatar for FakeTales

i have this xml file <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> </CATALOG> with my php code i am able to get the parent node <CATALOG> then all the other data such as <TITLE> etc etc , how would i go about getting the <CD> tag?? …

Member Avatar for FakeTales
0
222
Member Avatar for Dani

I'm trying to get PubSubHubbub set up but I'm rather confused. I understand the concept but the implementation is troubling me. To get my feet wet, instead of starting my own hub, I decided to use Superfeedr. I *think* I have it set up correctly, but I want to test …

Member Avatar for Dani
0
97
Member Avatar for davy_yg

I get this error: Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 23: parser error : Premature end of data in tag catalog line 2 in C:\xampp\htdocs\php_exercise\exercise3_1.php on line 7 Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in C:\xampp\htdocs\php_exercise\exercise3_1.php on line 7 Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in C:\xampp\htdocs\php_exercise\exercise3_1.php on line 7 Fatal error: Uncaught exception 'Exception' with …

Member Avatar for Atli
0
1K
Member Avatar for duffman69

Hi I have been reading so many tutorials but can't seem to get anywhere, with what I thought would be a simple task. I have an xml file outputted from some software in the vague format: <root> <one>data</one> <two>more data</two> <three> even more data</three> </root> Fairly straight forward data, nothing …

Member Avatar for raihan.ikbal
0
209

The End.