3,634 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 ! | |
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 … | |
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 … | |
| 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 … |
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 … | |
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 … | |
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! | |
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, … | |
| [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] => … |
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=" & … | |
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 … | |
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 … | |
| [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. … |
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 … | |
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 … | |
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"? | |
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, … | |
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 … | |
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 … | |
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 … | |
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() … | |
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 … | |
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 … |
The End.