6,049 Topics

Member Avatar for
Member Avatar for veledrom

Hi, I have a XML file and want to put this line it but doesn't work. Is there any way of doing it? Thanks <?php header('location: goback.php'); exit; ?>

Member Avatar for vibhaJ
0
231
Member Avatar for Vanquish39

Hey guys i have a problem and I'm starting to fall short of solutions. Here is the scenario. I created a student registration HTML file and a servlet to answer this file. The problem is the submit button doesn't work on the html form. I have tried dozens and dozens …

Member Avatar for komalikaa
0
463
Member Avatar for abathurst

Hi, I need some help extracting information from a XML file. So far I am able to extract data from elements that look like the following: <element1>Element Information</element1> <element2 attribute=”Element 2 Attribute Information” /> But I have come across an element that has got me stumped: <element3><![CDATA[Information that I need …

Member Avatar for PatSharbaugh
0
279
Member Avatar for shanaka995

**HI** I created a blog on blogger.After creating it I changed its URL to [shanaka95.tk](http://www.shanaka95.tk). Now I want to use [**rss graffiti** app on facebook](http://www.beta.rssgraffiti.com) and see my latest blog posts on facebook account.But that app asking me the **RSS Feed URL** of my blog.I tried using this URL http://www.shanaka95.tk/feeds/posts/default. …

0
306
Member Avatar for shandow

hey guys, im new in web services. Recently i develop a project in netbean 7.1 which provide rest web services and which is done in pretty way, i tested it with test restful in netbean and its work. But now i have no idea how to consume it. My idea …

0
102
Member Avatar for s7mo

Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not …

Member Avatar for diafol
0
2K
Member Avatar for Ronene

Hello , I'm trying to solve a "known problem" in XPath 1.0 . From [msdn](http://msdn.microsoft.com/en-us/library/bb341675.aspx) : "***Although the ordering of returned collections is not specified in the XML XPath Language 1.0 Recommendation, this extension method returns nodes in document order. Note that nodes are returned in document order even when …

0
125
Member Avatar for kalz

HI I am developing a web service client using netbeans ide . I have used the code completion feature to implement the submit message method : import javax.xml.bind.JAXBElement; import uk.co.csoft.www2.dtd.sendsms5.Message; import uk.co.csoft.www2.dtd.sendsms5.ObjectFactory; import uk.co.csoft.www2.dtd.sendsms5.Recipient; public class Main { public static void main(String args[]) { //Recipient r = new Recipient(); //Message …

Member Avatar for kalz
0
2K
Member Avatar for justapimp

I recently been assigned a project to develop an internal web service that makes use of an outside service from Sprint. the only thing I have is a .wsdl file web reference from Sprint. When I add the web reference to the project and compile my code, I get a …

Member Avatar for Hung D.
0
436
Member Avatar for johndoe444

Here is the code copied from w3schools ([url]http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_suggest):[/url] [CODE]<html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState == 4) { …

Member Avatar for bharathivkmani
0
12K
Member Avatar for buster2209

I have an xml file that looks like this; <?xml version="1.0" encoding="utf-8"?> <!--This file is generated by the program.--> <Product ID="23" Name="Soap" test="one"> <Price>10.00</Price> <OtherDetails> <BrandName>X Soap</BrandName> <Manufacturer>X Company</Manufacturer> </OtherDetails> </Product> I can use the following code to read the 'ID', 'Name', and 'test; XmlReader reader = XmlReader.Create("Products.xml"); while (reader.Read()) …

Member Avatar for thines01
0
192
Member Avatar for s7mo

Hello all I am attempting to use PHP programming to execute a scripts to this link... http://ws.geonames.org/postalCodeSearch?postalcode=VARIABLE_ZIP&country=US. The VARIABLE_ZIP is the actual zip code entered into the form that will submit the information in the link above. The output of that link creates an XML page that i do not …

0
84
Member Avatar for marleyB

<?xml version="1.0" encoding="ISO-8859-1"?> <project name="ant_template_core_java" basedir="." default="info"> <!-- Properties files --> <import file="../masterbuild/masterbuildproperties.xml"/> <import file="../lib/libproperties.xml"/> <import file="../implementation/implementationproperties.xml"/> <import file="../api/apiproperties.xml"/> <import file="../junittest/junittestproperties.xml"/> <import file="../javadocs/javadocproperties.xml"/> <!-- Ant task files --> <import file="../implementation/implementation.xml"/> <import file="../api/api.xml"/> <import file="../junittest/junittest.xml"/> <import file="../javadocs/javadoc.xml"/> <import file="../masterbuild/masterbuild.xml"/> <import file="../log4j/log4j.xml"/> <!-- Make directory files --> <import file="../masterbuild/masterbuildmakedir.xml"/> <import file="../implementation/implementationmakedir.xml"/> <import …

0
41
Member Avatar for PatSharbaugh

Earlier today, a colleague of mine came to me with a question. He was writing Unit Tests for a serialization utility and needed to compare the generated xml with the hand written xml file which was the expected result. By eye inspection, the xml seemed to be the same, but …

Member Avatar for PatSharbaugh
0
2K
Member Avatar for surferxo3

I am getting garbage even I am delete an char pointer array.. Please help me to prevent this garbage... Here you can find my code. Link :http://www.upload.pk/files/XKGioMek1335637669.html

0
84
Member Avatar for kaleem_ullah

I have created a page om Tumblr and subscribe to tumblr RSS to import my Rss feed. But still my RSS Feed is not show. How can i show my RSS FEED to tumblr. Do i need to enter each link of my post manually.

0
114
Member Avatar for vizz
Member Avatar for vizz
0
147
Member Avatar for def6054

I am trying to create a webpage that grabs the rss feed from http://www.paintballtree.com/rss/videos/newest. I have the code that gets the page and I can access all parts of the items using getElementsByTagName(' element ')[0].firstChild.nodeValue; however, I cannot access `getElementsByTagName(' description ')[0].firstChild.nodeValue;` which is the most important part. It keeps …

0
160
Member Avatar for doctorphp

Hey everyone, Parsing RSS is not my strong point and I am making a news feed for a client and they want me to use the Yahoo News RSS feed. I am using the following code. <?php $url = "http://news.yahoo.com/rss/europe"; $xml = simplexml_load_file( $url ); ?> <h3 id="ln">Latest News</h3> <?php …

Member Avatar for mschroeder
0
377
Member Avatar for riahc3

Hey What is the easiest way to read and write XML file to my C# program? Im looking for Localiziation Configuration I imagine that the only difference is that I have to load the localization as soon as I load the program.... Thanks! :)

Member Avatar for skatamatic
0
744
Member Avatar for gogs85

How to some div value export to xml with tag in php code. I search my site and from div value export to external xml file. ?php $some_link = 'http://www.popusti.rs/'; $tagName = 'div'; $attrName = 'class'; $attrValue = 'offer-list-item'; $dom = new DOMDocument; $dom->preserveWhiteSpace = false; @$dom->loadHTMLFile($some_link); $html = getTags( …

Member Avatar for diafol
0
366
Member Avatar for roboxslt

|Input :::: <gtdt> <name>Construction 2012</name> <edition>120</edition> <ISSN>1473-0065</ISSN> <jurisdictions> <jurisdiction name="Albania"> <topics> <topic> <name>All Questions</name> <questions> <question> <number>1</number> <title>Joint ventures</title> <full>Must foreign designers or contractors enter into a joint venture with a local contractor to design, build and be paid for their work? Does the law require that the local contractor …

Member Avatar for Mike Askew
0
102
Member Avatar for Pamilerin

Any way I can populate a datagrid in vb.net with the ff xml data. ` <?xml version="1.0" encoding="utf-8"?> <pricelist> <item> <symbol>7UP</symbol> <security>7-UP BOTTLING PLC</security> <opening price>41.75</opening price> <closing price>41.75</closing price> <description>Symbol:7UP, Security:7-UP BOTTLING PLC, Opening price:41.75, Closing price:41.75</description> <pubDate>Sun, 15 Apr 2012 01:00:10 GMT</pubDate> </item> <item> <symbol>AGLEVENT</symbol> <security>A.G.LEVENTIS(NIGERIA) PLC</security> <opening …

Member Avatar for thines01
0
355
Member Avatar for nyfan68

I have an assignment which is two parts. The first part I have solved. It calls for me to write a program that can read an XML file which then creates a purse a purse object and then prints the total value of the coins in the purse. The second …

Member Avatar for nyfan68
0
330
Member Avatar for muralibobby2015

Hello, I am getting response as xml from curl request. so i am sending these into an array. but after execution of code i am getting this warning 1)Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:\wamp\www\newlivebackup\admin\subscribers.php on line 65 2)Warning: simplexml_load_string() …

Member Avatar for veedeoo
0
1K
Member Avatar for super-duper

Hi, I am trying to learn some XML. I am getting confused, or should I say, getting lost while trying to understand the DTD, SCHEMA, PCDATA and CDATA. Can someone, please, explain them the simpler way...if there is any? :) I think I am having hard time understanding especially the …

0
69
Member Avatar for c.pentasuglia

In a nutshell i have a java program that takes parameters from an XML file. I made a .jar file from my java project. Within the java project i have the XML file set to a static directory, i'd like to be able to change that so the jar would …

Member Avatar for c.pentasuglia
0
247
Member Avatar for eshwari_ramaiah

Hai.. When i try to set up SOAP environment and access RPCRouter Servlet from browser im getting the following exception.Please do help me out to solve this: ------------------------------------------------------------------------------------------------------------------------------------ type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error …

0
120
Member Avatar for theMediator

Here is the code in question: [CODE] filePath = "..\authors.xml" dsAuthors.ReadXml(filePath) With DataGrid1 .DataSource = dsAuthors .DataMember = "authors" End With [/CODE] However, it will not allow me to reference .DataMember, it keeps popping up with the error text "'DataMember' is not a member of 'System.Windows.Forms.DataGrid'". What can I do …

Member Avatar for thines01
0
73
Member Avatar for Pamilerin

hello daniweb please I woiuld like help on how to convert rss feeds to datagrid in this fomat <Row> <Cell><Data ss:Type="String">Symbol</Data></Cell> <Cell><Data ss:Type="String">Close</Data></Cell> <Cell><Data ss:Type="String">Prev</Data></Cell> <Cell><Data ss:Type="String">Chg</Data></Cell> <Cell><Data ss:Type="String">% Chg</Data></Cell> <Cell><Data ss:Type="String">Open</Data></Cell> <Cell><Data ss:Type="String">High</Data></Cell> <Cell><Data ss:Type="String">Low</Data></Cell> <Cell><Data ss:Type="String">Avg</Data></Cell> <Cell><Data ss:Type="String">Deals</Data></Cell> <Cell><Data ss:Type="String">Vol</Data></Cell> <Cell><Data ss:Type="String">Value</Data></Cell> </Row> <Row> <Cell><Data ss:Type="String">7UP</Data></Cell> <Cell><Data ss:Type="Number">41.75</Data></Cell> …

Member Avatar for thines01
0
384
Member Avatar for ilovejava

So I want to parse a .dae collada file which is stored xml. Now to parse the file should I use the SAX or DOM parser. THe file size of the collada file ranges from 200kb-40mb files. Is the file too large for a DOM parser?

0
80
Member Avatar for NoIdea.Net

I am trying to get TenderTyp, TypeCode, AuthorizationCode and then all the info from: <arts:TenderCreditDebit> <arts:IssuerIdentificationNumber>999=99</arts:IssuerIdentificationNumber> <arts:ExpirationDate>1970-01</arts:ExpirationDate> <arts:ReconcilliationCode>19</arts:ReconcilliationCode> <arts:PrimaryAccountNumber>OTk5OTk5KioqKioqMDM1MQ==</arts:PrimaryAccountNumber> </arts:TenderCreditDebit> Which is buried in the XML shown below.... I seem to get so close the correct element but just cannot get the correct value! Could anyone help please? Thanks <?xml …

Member Avatar for thines01
0
145
Member Avatar for DaveyboyPurcell

I have the following xslt which copies selected element of xml but omits the root node how do i get the root node output as well? <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > <xsl:output method="xml" indent="yes" version="1.0" encoding="iso-8859-1" /> <xsl:template match="/"> <!--<xsl:copy-of select="itemList" />--> <xsl:for-each select="itemList/saleItem"> <xsl:variable name="status"> <xsl:value-of select="status"/> …

0
117
Member Avatar for TheFearful

Hey everyone, I am working on this project and do not know where to start. Can anyone lead me in the right direction? I am very poor in this background and could use all the help I can get. So, any help would be very much appreciated. Here are the …

Member Avatar for histrungalot
0
245
Member Avatar for trady

Hi, I have a problem with a nestled "for-each". I want information from every orditem. Every orderitem have one "orderitem id" and could have several "job id". The sample belove do not work,any suggestions? XML <order orderid="20"> <workflows> <workflow id="97" <items> <orderitem id="1"> <jobs> <job id="150"/> <job id="151"/> </jobs> </orderitem> …

Member Avatar for xml_looser
0
141
Member Avatar for YodaMerlin

This might be a very simple answer but it's been stumping me. I need to load an xml file so Ican parse in in javascript. But the file is located on a different server entirely. Can I download it to disc with javascript, so I can load it later? Thanks …

Member Avatar for emclondon
0
198
Member Avatar for vt123

I am trying to merge 2 xml files in to one. They simply need to one another. Any help would be appreciated. [CODE] File 1: <?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <data> <title>Title1</title> <description>Description1</description> </data> <data> <title>Title2</title> <description>Description2</description> </data> </catalog> File 2: <?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <data> <title>Title3</title> <description>Description1</description> </data> <data> <title>Title4</title> …

Member Avatar for fikreyes
0
99
Member Avatar for rdhoggan

Hey all, I have built a Perl script for parsing XML in an email message attachmen. Essentially the script works when there is one email message in the inbox but breaks when there are 2+. The "unblessed reference" error is on the line that uses XMLin. I am not sure …

0
76
Member Avatar for sbutt

Hi Folks, I am looking for a solution as to how I can mask some data that is part of a CDATA element. My currently implemented xslt-1 script works fine when my xml element/attribute is not placed inside cdata, for example, in the following xml snippet, I masked <CreditCardNumber> element's …

Member Avatar for sbutt
0
897
Member Avatar for Farhad.idrees

I have two Combo Boxes..1-Programme 2-Semester I want to bind Semester combo box with Programme combo box.. i m reading file from Xml.... after binding i have to show data on datagrid view... but i m not able to do it...... i hope someone will help me... Regards.. Farhad

Member Avatar for robea
0
153
Member Avatar for noamwegner

i wrote a paging script for HTML table that suppose to hold up to 5000 result rows and i am displaying for each page 100 rows what makes it ugly to see 50 page navigators so what i did was to display 5 each time the idea is like this …

Member Avatar for flexibleres
0
86
Member Avatar for acfalcon2001

I'm trying to do an XSLT transformation that requires that I copy certain parts of the document multiple times and concatenate it to other individual parts. I'm working with xsl:copy and wildcards characters and coming up short on the output (I'm really trying to limit how many elements/attributes I have …

Member Avatar for Mike Askew
0
113
Member Avatar for loserspearl

I can't see where the error in my CSS document is, it says location is -1, -1 which isn't inside the document, tried different ways of defining the column and "up" and "down" images and neither seem to work. [Xerces-J 2.9.1] Checking "nasdaq.css" for Well-formedness ... Ln -1 Col -1 …

Member Avatar for pritaeas
0
124
Member Avatar for TheFearful

Hey guys, I don't know where to get started in this. I pretty much only have the header file and I don't even know if that is correct. I don't know what the question is asking other than it is asking me to open up a text file. Any suggestions? …

Member Avatar for rubberman
0
173
Member Avatar for mnbv

Hi , I am totally new to XSLs, trying to write an xsl(JDeveloper) to validate XML against a given schema. I have been trying with the following but getting a syntax not supported error for "instance of schema-element" Can someone provide a sample xsl to validate xml against the schema? …

0
76
Member Avatar for infinitus

Hello there guys, im having little problem and help would be appreciated :) I have few tags <name> <capacity> <lectureslot> <tutorialslot> and so on, and i want to read each tag separatly into separate field(label), or listbox. Here is part of my XML <?xml version="1.0" encoding="utf-8"?> <timetable> <module code="3SFE504"> <name>Algorithms …

Member Avatar for thines01
0
214
Member Avatar for ZMike

If I hard code something into the conatins it works just fine valstring = "[contains(title,'Test')]"; However if I try and use contains against the xpath title and then use what was entered into a text box I haven't figured out how to do that. I'm sure it's something very simple …

Member Avatar for ZMike
0
136
Member Avatar for DarkMonarch

hey guys, sorry for my noobness, i'm still a jr and the boss ask me to learn xml because i'll have to work on a ticket selling site. oke no problem there, i luv learning. so i read all the xml tut on w3school. it's not that hard, but more …

Member Avatar for DarkMonarch
0
161
Member Avatar for muthukumar46

i have to receive a mail when compare 2 xml files difference i have 2 xml file 1 st xml file: <?xml version="1.0" encoding="utf-8" ?> <Books> <Book bookId="100" name="Asp.Net" price = "230" /> <Book bookId="101" name="C#" price = "200" /> <Book bookId="102" name="Silverlight" price = "300" /> <Book bookId="103" name="MFC …

Member Avatar for thines01
0
257
Member Avatar for dfetter88

I am trying to create clickable textviews in Android. I'm a complete noob when it comes to java and the Android platform, so please take it easy on me. Here's what I have right now: [code=java] public class Hypertension extends Activity { /** Called when the activity is first created. …

Member Avatar for php_noob
0
743

The End.