3,634 Topics
| |
Need an xslt to convert xml into json. I have a xml file which is having 3 attributes. The value in the 3rd attribute is another xml file. I need an xslt which can read the value of the 3rd attribute as another xml (not just a value) and can … | |
l am working on a USSD service. The USSD gateway will send XML to my PHP script. My problem is how do l read the XML and how do l send back XML. Thank you in advance | |
Hello guys I have an xslt file I want to extract data from. I am new to xslt but at the moment I can perform basic operations like looping through the nodes and creating element and attributes. My problem is that I want to select a particular value from a … | |
Hello guys, I have a problem convrting to an int in xslt. My xslt is: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tem="http://tempuri.org/"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <xsl:call-template name="ConnectConsumer"/> </xsl:template> <xsl:template name="ConnectConsumer"> <tem:callRule> <xsl:for-each select="/"> <xsl:for-each select="ConsumerDetails"> <xsl:for-each select="Score"> <xsl:element name="tem:arg0"> <xsl:value-of select='format-number(Score,"#" )'/> </xsl:element> </xsl:for-each> </xsl:for-each> </xsl:for-each> </tem:callRule> </xsl:template> </xsl:stylesheet> … | |
Hi, I see some website URLs have hash values attached to them. Is this for security reasons? If so, how do we benefit from that approach? example: h-t-t-p://w-w-w.mysite.com/forums/search/results/3400faebf7f6e0b549751ca029026a61/ Thanks | |
I am attempting to create a live search using php/javascript to read from an XML file of student names, as the user types a search it shows results live Any tutorials, hints or tips? All my attempts have been futile | |
Hello, I have a simple xml file online, all I want to do is read 2 things, the song name and song artist. I searched for a simple php script that does that with no luck. I really appreciate the help. This is what the xml file looks like <stwcue … | |
Hi I am new to XSLT and I need help on following XML conversion. I have following xml input and need to convert to another XML structure using XSLT . Please can somebody provide me the XSLT for this conversion. <?xml version = "1.0" encoding = "UTF-8"?> <Inputs xmlns = … | |
Hi all, Does anyone have a good rss class? i am looking to use one where i have a list of feeds in a database and you can select which feed to display via CMS | |
Hi, I am doing xml serialization using TextWriter and I am able to get the string of data, however I need to convert the string of data from TextWriter object to XMLDocument format. Does anyone have any idea on doing this? My Code as shown below: XmlSerializer xml = new … | |
Hey When I try to interpret thru PHP, a Java web service that returns a boolean type, this error (more like a warning) pops up: Notice: Object of class stdClass could not be converted to int in C:\testing\page.php on line 29 How can I make the PHP page understand true … | |
Hi, I'm probably missing something really simple or trying too much at once but it's 16:30 on a Friday afternoon and my head is wrecked!! Basically, I'm trying to build an application that takes out put from a database query as XML and uses XSL to transform it into HTML … | |
I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside … | |
What I'm doing is making a game and I need to do this for my items: - Have an "Item" Class - Have other superclasses such as:Weapon,Armor,Food - Read XML file with items on it. - Create appropriate Item classes with the correct extended class. - Fill the fields with … | |
Hello, Basically, I am trying to loop though an OPF document which is an XML document to link 2 children of different nodes together. If I do not use an if statement in the second for each loop, I can display all children from <manifest>, however I need the if … | |
Hi. I have been working on a project that displays data in an XML file. (It's kind of like an API). I know how to parse XML with PHP, and how to make an XML file in PHP, but they don't work together. :) Basically, I have two files: `parse.php` … | |
Hi, I am writing some data to a particular xml file .There is one element for which the attribute value contains & , eg : XmlAttribute value=doc.CreateAttribute("Value"); Element1.SetAttributeNode(Value1); Value1.Value="""; Output: <Element1 Value="&quot;"> What is the escape sequence for printing an & in an xml file ?? | |
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; ?> | |
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 … | |
**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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) { … | |
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()) … | |
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 … | |
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 … | |
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 |
The End.