6,049 Topics

Member Avatar for
Member Avatar for s0bigg

I am using MySQL database to download various RSS feeds every few hours. The feeds are then displayed on my website that shows a direct link to the original website where the feed is coming from. I want to change this such that the link would show my website that …

Member Avatar for pritaeas
0
130
Member Avatar for riahc3

Hey I want to open the Apache Tomcat server that is installed in MyEclipse but without having to open MyEclipse; as a standalone application of sorts. How do I do this? Thank you

0
84
Member Avatar for ritesh0104

i wish to post a xml data using php ; but wihtout cURL? what are the options available.

Member Avatar for pritaeas
0
70
Member Avatar for 1bung100

I have an xml having same tags (<value> tag) as given below: [CODE]<number> <type>decimal</type> <value>12</value> <value>14</value> </number>[/CODE] I am trying to parse using either Digester or JAXB (without Schema). What I have done is I have created a java class that will map with the given xml. For this I …

Member Avatar for 1bung100
0
2K
Member Avatar for zackh123

Hello, I am currently helping my BI team convert a Cognos Tree Object into a Javascript tree object. The part where I am stuck is using javascript to parse the XML data file that would normally fill up the Cognos tree. Here is an example of the XML data file... …

Member Avatar for Troy III
0
508
Member Avatar for dr3ex

Hi, I have problem with evaluating XPath with query. When I use this in xpath_tester script: [B]URL: [url]http://www.seznam.cz[/url][/B] [B]XPath: //*[@id='gadget-6']/div/div/h3/span[1][/B] Works fine, but this: [B]URL: [url]http://www.seznam.cz[/url][/B] [B]XPath: //*[@id='gadget-1']/div/div/div/div/table/tbody/tr[1]/td/div/div/strong/a[/B] Result: "ERROR 2: No result!", because there are no items in $nodeList I'm 100% sure XPath is OK. (using XPath checker extension …

0
127
Member Avatar for kutchbhi

user types text in a text box, the text is sent to a php script with ajax. The response is used to populate a select menu. I am getting a xmlResponse is null error with some browsers. Steps to recreate problem: 1. Goto [url=http://kutchbhi.x10.mx/choose.php]Example page[/url] , in firefox/chrome. 2. type …

Member Avatar for kutchbhi
0
153
Member Avatar for softDeveloper

I'm getting xmlHttp.readyState 1 when sending these parameters and it only happens when parameter 'text' is very big. [CODE] var url="replaceText4.jsp"; url=url+"version="+version+"&work="+actualWork+"&secName="+secName+"&text="+text; xmlHttp.open("POST",url,true); xmlHttp.send(url); [/CODE] Could you help me on this?

Member Avatar for softDeveloper
0
142
Member Avatar for Mike Askew

Firstly I will say im a complete and total novice when it comes to XSLT and XML so this could be a very obvious mistake on my behalf. [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="TestNode"> <RenamedNode> <xsl:copy-of select="."/> </RenamedNode> </xsl:template> </xsl:stylesheet> [/CODE] When …

Member Avatar for StephNicolaou
0
203
Member Avatar for rich2710

Hello, I'm hoping if someone could help me with this, I don't think it's to complicated but I'm still having some problems. I have the following code which takes the keywords 'oxford' and 'oxfordshire' for $query and ultimately searches for items with these words in on eBay(UK). I have another …

Member Avatar for diafol
1
220
Member Avatar for emclondon

Hello guys, I am trying to learn working with Web services using PHP. I have found many methods to access and consume these services, but I've come to know Soap Client and cURL are the best way to do it. I decided to work on an API provided by a …

Member Avatar for diafol
0
307
Member Avatar for kenhans

I have an XML that looks something like this. It contains Subscriptions with some attributes. There are about 50 attributes to one subscription (only 3 listed here) and I'm trying to find out if there is a difference between one of the <cell>-elements in <values> and <oldValues>. If there is …

0
60
Member Avatar for n3red

Hi. I have a small dilema. I have 1 Picassa .ini file a contacts.xml file and a few images all in the same folder. On the images there are certian people, picassa.ini file holds the image name and id's of people included on that image in such format: [CODE][img_8538.jpg] faces=rect64(4ac022d1820c8624),d5a2d2f6f0d7ccbc …

Member Avatar for wortelkoek
0
233
Member Avatar for fusionking

In an XSLT file, I am calling a function to a javascript file (.ascx) and trying to pass parameters. One parameter is a Date() object. The only way I've found to successfully pass it is to pass it as a string. Here's the code from the XSLT file. [CODE]<script> grouping("<xsl:value-of …

Member Avatar for Troy III
0
243
Member Avatar for tomhack

Hi all, I need to transform xml --><xslt> -->xml I have flat xml file(source file) , Need to code Xslt file to get target file. (Files are given below) [B]This is source file(flat)[/B] [CODE] <CV:Hot> <CV:Aaa style="Title"> <b type="Aaa">Curriculum Vitae</b> </CV:Aaa> <CV:Aaa style="Subtitle"> <b>Personal Details</b> </CV:Aaa> <CV:Aaa style="Name">Tom Hack</CV:Aaa> <CV:Aaa …

0
67
Member Avatar for 1bung100

I know there are 3 different ways to parse xml - using API - DOM - SAX But i found that in Digester related examples xml parsing is also performed. So I want to know whether Digester is also an xml parser or not? If not what is the main …

Member Avatar for DavidKroukamp
0
144
Member Avatar for kobi

[COLOR=green]Hello there![/COLOR] [COLOR=green]I have the following xml File[/COLOR] [COLOR=green]<books>[/COLOR] [COLOR=green]<A >[/COLOR] [COLOR=green]<B>text</B>[/COLOR] [COLOR=green]<C>gggg</C>[/COLOR] [COLOR=green]<D>99999</D>[/COLOR] [COLOR=green]</A>[/COLOR] [COLOR=green]</books>[/COLOR] [COLOR=green]Im using the treeview control(i need to insert 2 different images.[/COLOR] [COLOR=green]How can i add ia certain image to the node it self and another image to the inertext.[/COLOR] [COLOR=green]So the nodes will represented …

Member Avatar for Folk007
0
681
Member Avatar for s_mostafa_h

Hi All ! I want to save or Export the content(Row And Column Cell) of a DatGridView To a XML file .how can i do it ? there is [B]No DataSet Or DataTable[/B] for DataGridView . thanks in advance for any Help !

Member Avatar for s_mostafa_h
0
2K
Member Avatar for raul8

Hello, I want to fetch the rest of the XML stored inside SOAP body, but with the below simple code, I'm not able to: [CODE]public class AttributeScanner { protected String getEnvOject(InputStream iStream) throws Exception { String xml = null; // First create the connection SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance(); SOAPConnection connection …

0
117
Member Avatar for ryma

Hi! I'm load file XML to listbox It have old value in new line how to edit it. [CODE]<?xml version="1.0"?> <catalog> <book id="bk101"> <author>Gambardella, Matthew</author> <title>XML Developer's Guide</title> <genre>Computer</genre> <price>44.95</price> <publish_date>2000-10-01</publish_date> <description>An in-depth look at creating applications with XML.</description> </book> <book id="bk102"> <author>Ralls, Kim</author> <title>Midnight Rain</title> <genre>Fantasy</genre> <price>5.95</price> <publish_date>2000-12-16</publish_date> <description>A …

Member Avatar for codeorder
0
156
Member Avatar for vijiraghs

My requirement is to parse through a HTML document ( which will be an article) and come up with a few keywords which describe what the document is about. For example, if a professor writes an essay about say, information security; i want to parse this HTML document and come …

Member Avatar for vijiraghs
0
207
Member Avatar for breakid

Hi, I have an XML file looks like this <node> <node2><node3>1</node3></node2> <node2><node3>2</node3></node2> <node2><node3>3</node3></node2> </node> I am trying to read one child into a string I want my string to look like that : <node2><node3>1</node3></node2> [CODE] File xml = new File("json.txt"); SAXReader reader = new SAXReader(); Document doc = reader.read(xml); Element …

Member Avatar for stultuske
0
135
Member Avatar for ajcoder

I can't seem to get my code to work. What am I missing? I want to be able to call the xml information and put it into a div I created in an html page. I was able to get one of them to show up with similar code to …

0
80
Member Avatar for aals

I am new to XML and need headstart for a car hire website which requires XML connectivity with its partners. So please help understand what do I need to know to start it? Thanks for help!

Member Avatar for aals
0
143
Member Avatar for MikeFL

I'm still kinda new to php and have been getting this error: PHP Parse error: syntax error, unexpected T_STRING in /var/www/index.php on line 33 It's all running on a LAMP server in a local VM. Been looking at it for the last 2 days and can't find what is wrong, …

Member Avatar for MikeFL
0
3K
Member Avatar for nova37

[CODE]$book = simplexml_load_string($data);[/CODE] i have parsed xml string ($data) with simplexml_load_string function i get below output by printing $book now i want to assign this data to php variables like $ip_address, $ip_type;$organization etc .. .. so how to assign [ICODE]SimpleXMLElement Object ( [ip_address] => 69.72.129.3 [ip_type] => Mapped [Network] => …

Member Avatar for jkon
0
116
Member Avatar for ryma

I can't load data to show error at xeProduct = XElement.Load(strLoadSource) I want data to compare if username or password wrong have messagebox if true exit sub [CODE]Private Sub login() Dim postData As String Dim strLoadSource As String Dim xeProduct As XElement postData = "username=" & user & "&password=" & …

Member Avatar for hericles
0
131
Member Avatar for M.Waqas Aslam

hello ! i want to make a xml file to store my Settings such as server name , user name , and password , etc , i try to search how to read and write xml file i found this code for writing an xml file it works fine for …

Member Avatar for M.Waqas Aslam
0
608
Member Avatar for ginG3R

Hey guys, I just started a hosting company and I wanted to know which is the best Client management program/plugin script to go with. Something that gives the ability to create invoices, links to make payments (maybe paypal), notifications, messages...something pretty basic. If you have a link to scripts that …

0
120
Member Avatar for nova37

[CODE] <?php // initiate curl and set options $ipin = '69.72.129.3'; $ch = curl_init(); $ver = 'v1/'; $method = 'ipinfo/'; $apikey = '100.hva7qa7893wzcsc3x8dk'; $secret = 'uHZVvYK5'; $timestamp = gmdate('U'); // 1200603038 // echo $timestamp; $sig = md5($apikey . $secret . $timestamp); $service = 'http://api.quova.com/'; curl_setopt($ch, CURLOPT_URL, $service . $ver. $method. …

Member Avatar for nova37
0
232
Member Avatar for adarshcu

Hi All, I've the following scenario which i am not sure can be implemented. I have my Client Side Objects, which have been defined at an earlier stage. Now i need to send the data in the form of XML to the server side who have given me XSD's. Now …

0
98
Member Avatar for ryma

I have problem to read XML source to datagrid.I can't put data subject and subsec to column and click at row show data all_topic in textbox .I try code but not show. I want result show Principles of Programming Languages 800 and when click Principles of Programming Languages show Topic …

-1
66
Member Avatar for nore

Anybody know how to use RSS to gain some information/data then do some code in JSP (processing data), thanks before :) to make clear, example : [url]www.facebook.com[/url] , how to get the word "Sign Up"?

0
93
Member Avatar for Naggelos

Hi, I created an XML file that will hold the latest news and stories, and trying to display it now in my HTML file using Javscript (I scrapped XSLT, as it altered the CSS styling and alignments compared to the other pages and couldn't work my way around that). So, …

Member Avatar for ajcoder
0
220
Member Avatar for sreecareer

Hi, I am writing a web service in ASP.net which will call another host's web services over SSL. I have both the server & client certificates (.cer) with me. The host guys are saying to use DUAL authentication (using both certificates). The web service call is not SOAP, it is …

0
82
Member Avatar for mani-hellboy

Hi friends., Actually I use datagrid to show my result from XML file.I load my data from XML file easily.But i need Sorting method for that and i don`t know how to solve it Please give me solution for that My code is [CODE] Imports System.Data Imports System.Xml Imports System.IO.StringReader …

Member Avatar for mani-hellboy
-1
124
Member Avatar for PixelatedKarma

Hey I am trying to have a combo box read the first child node in my xml file and formulate a list on that. Everything I keep seeing relates to C# and thus doesn't work very well. I was originally thinking of doing this by doing an event on the …

Member Avatar for thines01
0
223
Member Avatar for srikanth2321

Hi all, I'm currently using SAX to parse an xml file. Recenlty I have encountered a problem where, one of the element consist of more than 50,000 characters (a DNA sequence ) and the SAX results nothing as an output. The code which I'm using is [CODE] public void getCommand() …

Member Avatar for srikanth2321
0
380
Member Avatar for learner guy

Hi i am learning xml , in a very simple code i got an error saying [B]"Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"[/B] i am getting this in all browsers ,i have tried to look for solution on google but could not find ,Plz help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Troy III
0
1K
Member Avatar for aidanmack

Hi, I'm trying to load some xml in using ajax. But my xmlhttp status is always 0. The status never comes through as 200. I dont actually no what 0 is equal to. I could find anything when I looked that status up. My script looks like this... Could someone …

Member Avatar for aidanmack
0
340
Member Avatar for kained

This is annoying me. I have made a simple RSS feed but i need some of the links to open in a new window But i can't find a way to do this. All i want is the same functionality you get in html when you specify target-"_blank" How is …

Member Avatar for ShailRathore
0
1K
Member Avatar for riahc3

Hey Does anyone know a good tutorial to understand web services under Java using WSDL? Most are pretty confusing and at the end offer no source sample code to test it out. Thanks

0
87
Member Avatar for Mike Askew

I currently need to be able to read through an XML document, find certain nodes and either delete them (and child nodes) or edit the nodes name and possibly value. What would be the best way of going about this? XPath? XSLT? XMLReader/XMLWriter? My Code/XML contents cannot be posted though.

Member Avatar for Mike Askew
0
160
Member Avatar for ttback

This thread is related to my thread on Java's forum: [url]http://www.daniweb.com/software-development/java/threads/408377[/url] I don't mean to make multiple posts but I wasn't sure which of these forums this problem belongs to. I will focus on asking about the XPath part here. I have a problem to understand XPath when it comes …

0
98
Member Avatar for vivek4020

Hi, I am trying to get data from GetListItems in chunks of 100 so that processing them can be easier. i can specify the row limit like this. <rowLimit>100</rowLimit> But how do i get the next 100 items? Is there any way to skip over the first 100 items? Vivek

0
140
Member Avatar for ttback

I spent about 4 hours trying to make PMD being able to validate my Java code but XPath proved to be very painful to work with when developing fairly original custom rules. My rule requires me to apply them only to methods without 'get' as part of their name. In …

0
295
Member Avatar for asif49

Hi, I am reading from an XML file where the structure of the file is like this: [CODE] <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> <media:content width="150" height="80" url="http://www.someurl.com"/> </item> <item> <title>This is a title</title> <description>Description.</description> <link>Link</link> <media:content width="60" height="50" url="http://www.someurl.com"/> </item> [/CODE] I am attempting …

Member Avatar for asif49
0
157
Member Avatar for altarek

i have mysql xml field like this [CODE]<?xml version="1.0" encoding="UTF-8"?> <record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.loc.gov/MARC21/slim"> <leader>00764nas </leader> <controlfield tag="221">011258</controlfield> <datafield tag="578" ind1=" " ind2=" "> <subfield code="a">jaun</subfield> </datafield> <datafield tag="356" ind1=" " ind2=" "> <subfield code="a"></subfield> <subfield code="c"></subfield> </datafield> <datafield tag="333" ind1=" " ind2=" "> <subfield code="d">ali</subfield> <subfield code="p">22</subfield> </datafield> <datafield tag="222" …

0
66
Member Avatar for jsparger

Hi guys, I'm looking for a little help with Apache Xerces. I am currently trying to use Xerces-C++, but I'll soon be using Xerces-Java. As I look the the C++ programming guide and the DOM programming guide, a lot of my questions remain unanswered. The sample codes lack comments on …

0
100
Member Avatar for Tom_Krajci

Please see attached XML file. I am using the XPATH expression getValueXPath() in JavaScript to extract one value from an XML alert message - to control a robotic telescope. I need to extract the value for Dec, a coordinate location in the sky that is a child of <WhereWhen> The …

Member Avatar for Tom_Krajci
0
101

The End.