6,049 Topics
![]() | |
I have a site hosted by zymic and everying has been running fine until the file manager went down so i've bin trying the FTP and i edited my site and when i re uploaded it i found this message Parse error: syntax error, unexpected ',' in /www/zzl.org/a/b/s/absolutelydoctorwho/htdocs/index.php on line … | |
Hello, I have the following code: [CODE] if (cboxCategory.SelectedIndex == 1) { cboxSubcategory.IsEnabled = true; XmlDataProvider agriculture = new XmlDataProvider(); agriculture.Source = new Uri(@"Data\Lists\agriculture.xml", UriKind.Relative); agriculture.XPath = "/AGRICULTURE"; System.Windows.Data.Binding binding = new Binding(); binding.Source = agriculture; binding.XPath = "Category"; cboxSubcategory.SetBinding(ItemsControl.ItemsSourceProperty, binding); cboxSubcategory.SelectedIndex = 0; } [/CODE] basically, I have two … | |
[code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0233)[url]http://employer.dice.com/talentmatch/servlet/TalentmatchSearch?op=201&dockey=xml/5/8/588dc5c2940163a08ac76fd58199497b@endecaindex&cskr=1&ranking=0&FREE_TEXT=oracle%2Boracles%2B&DESIRED_POSITION=%2B&RECENT_EMPLOYER=%2B&SCHOOL_NAME=%2B[/url] --> <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>About Steve Peters </title> <style type="text/css"> #wrapper { width: 318px; } #btnHeader { background-image: url( /assets/images/notes_head.gif ); width: 318px; height: 36px; padding: 0; margin: 0; font-size: 11px; font-family: Arial, Helvetica, sans-serif; … | |
I want to retrieve the autogenerated primary key after inserting a record in database.I am using IBatis for my database connectivity. Please review my xml code and tell whether it is correct or not. Also, please tell me how can I retrive that value in my java code.. [code=xml] <insert … | |
Hi All I am building a web and desktop application where the user fills in a web form that is posted to a MySQL database. The database info is then collected by a desktop application for easy retreival. I know that my clients will want to have a web form … ![]() | |
I'm having trouble with nodeValue property. No matter what..it gives me value null. All other propeties are executing fine. XML file: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <details> <player> <name>MSchu</name> <poles>91</poles> </player> <player> <name>Alonso</name> <poles>25</poles> </player> </details>[/CODE] And I'm running this code: [CODE]<html> <head> <script> function loadXMLDoc(){ if (window.XMLHttpRequest){ xhttp=new XMLHttpRequest(); } else{ … | |
Hi I am new to xslt and i was trying to generate a generic xml from the plmxml. Following is the plmxml.xml file [code] <?xml version="1.0" encoding="utf-8"?> <PLMXML xmlns="http://www.plmxml.org/Schemas/PLMXMLSchema" schemaVersion="6" date="2008-12-02" time="15:33:22" author="Teamcenter V2007.1.3.20080417.00 - PLM@TCLICSRV(498908465)"> <Product id="id2" name="Test" accessRefs="#id3" subType="Item" productId="000019"></Product> </PLMXML> [/code] ------------------------------------------------------- And in the output i … | |
![]() | Hi everyone. I am starting to learn AJAX and JavaScript and I am trying to make a popup login form and I am having trouble posting the data entered in the textboxes. It is fine when I post one piece of data but when I try to post two I … |
Hello, I am trying to recall the $username in the private page (e.g. Welcome $username to your private page) and I think I'm having some difficulties. Actually I made working once before Christmas but now It drives me crazy. It's an assignment for the college. this the URL: http://www.dcs.bbk.ac.uk/~pparod01/index.php if … | |
Say I have an XML file as such: <contacts> <contact id="1"> <name>Steven</name> <address>Here</address> <phone>11111111</phone> </contact> <contact id="2"> <name>John</name> <address>There</address> <phone>22222222</phone> </contact> </contacts> ...etc. How can I transform that to HTML with XSLT so that it can be a collapsable/expandable tree? For example, If I click a button that shows contact{@id="1"] … | |
I cant seem to find the problem with this program I am building as a learning exercise. I am getting errors referenced to extremely simple pieces of code. In the output the first thing that should be printed is the random double number that the program selects then it should … | |
![]() | I am trying to image my 250 GB C: drive to my external 500GB D: drive. The drive is empty and formatted with FAT32. However DriveImage works for about 10-15 mins then reports not enough free space. What is wrong? |
Having looked at several tutorials I can't help but think data binding seems unnecessarily complicated... Let's say I want a label to show whether a user is logged in or not. The obvious way to me is in the login code put something like: lb_LoggedIn.Content = User + " Logged … | |
SOBA11009_1_1.xml SOBA11009_1_2.xml SOBA11009_1_3.xml SOBA11009_1_4.xml SOBA11009_1_5.xml SOBA11009_2_1.xml SOBA11009_2_1.xml SOBA11009_2_2.xml SOBA11009_2_3.xml SOBA11009_3_1.xml SOBA11009_3_2.xml SOBA11009_3_3.xml 978-0-387-98595-4 Is it possible that I want to create a batch file that overwrites the SOBA1109 with 978-0-387-98595-4? output: 978-0-387-98595-4_1_1.xml 978-0-387-98595-4_1_2.xml 978-0-387-98595-4_1_3.xml 978-0-387-98595-4_1_4.xml 978-0-387-98595-4_1_5.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_2.xml 978-0-387-98595-4_2_3.xml 978-0-387-98595-4_3_1.xml 978-0-387-98595-4_3_2.xml 978-0-387-98595-4_3_3.xml | |
Hello, I have folder on remote FTP server that is updated with more than XML file with different names in asynchronous (not scheduled time), I want to make a PHP application that fetch any new XML file arrives at the FTP automatically, so how can I make the PHP application … | |
I use Visual Basic 2008 I have this code : [CODE] ' this picture i want enclose in the URL '========================================================== Dim PicBuffer() As Byte PicBuffer = IO.File.ReadAllBytes("c:\picture1.png") ' ========================================================== Dim Request As HttpWebRequest Dim Response As HttpWebResponse Request = WebRequest.Create("http://api.online....nl/update.xml?type=add&tabel=groups&name=test") Request.Method = "GET" Response = Request.GetResponse Dim reader As … | |
Hi. I am trying to run an EJB through bea weblogic 8.1 server. I am trying to create a Stateless Session bean. I have created two jars and when I try to do a hot deployment, I get a server error. please see the error description below: [COLOR="Red"]Exception:weblogic.management.ApplicationException: prepare failed … | |
<comment> <content> This is a really long string. It is really long because it contains plenty of characters. The purpose of this exercise is to separate this content element into blocks containing one hundred each </content> </comment> I have the XML file above and I need to use XSLT to … | |
I need to create a web service for sharepoint whose methods are accessible to outside world.Please let me know how can i achieve this. I am a novice. Please help! Thanks in Advance | |
I want to convert an XML file into SOAP. And then i have to send that SOAP messgae to server. How can i do this. Thanks in advance | |
Basically, I am trying to grab data from an XML file, and set it as a var or int. I cannot for the life of me get it to work. It seems to be copying a string of "System.IEnumerated..." or something like that instead of what the actual value of … | |
Hi all, I am in fruit industry and dealing with stock inventory of fruits. I got 2 files, one file got fruit names (fruit.txt) and other file got the inventory status (status.txt). Task for me was to check the fruit list and update the inventory status: Contents of the files: … | |
I'm working on scraping HTML pages and transforming the selected content from them into XML and I've been seeing a few errors here and there thrown by the Saxon XSLT parser: WARN [2011-01-07 14:44:35 EST] (SaxonTranslator#429473) improper java log: XPTY0004: A sequence of more than one item is not allowed … | |
I am using Soap [code=xml]<ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI="#id-4453123"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>'.$ssDigest.'</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>...How to calculate Signature Value.....</ds:SignatureValue>[/code] .............. Thanks in advance | |
Friend dropped this off for a helping hand. Computer after clean ups is still very sluggish but it seems pop ups and IE registry pop up(virus i assume) have stopped. Mba-m log: Malwarebytes' Anti-Malware 1.50.1.1100 [url]www.malwarebytes.org[/url] Database version: 5481 Windows 5.1.2600 Service Pack 3 Internet Explorer 8.0.6001.18702 1/7/2011 8:06:19 PM … | |
Hi There! Our company became a reseller, and we didnt get the product info's in normal way (cd, email, xml, etc). So we have to go to their website and download all of the product infos (name, description, price, pictures) one by one. This could be fun if you have … | |
In soap header part [code=xml]<soapenv:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:BinarySecurityToken EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-9502902" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">....data....</wsse:BinarySecurityToken> <ds:Signature Id="Signature-12345678" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI="#id-4453123"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>'.$ssDigest.'</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>.......</ds:SignatureValue> <ds:KeyInfo Id="KeyId-98765432"><wsse:SecurityTokenReference wsu:Id="STRId-33454994" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> <wsse:Reference URI="#CertId-9502902" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/> </wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature> </wsse:Security> </soapenv:Header>[/code] Thanks in advance | |
Hello friends, I am new in J2ME,..I create new project in Netbeans 7 by selecting new project. When I try to run this project I am getting error...dont know how to fix, plz help me [IMG]http://i52.tinypic.com/259d5d3.jpg[/IMG] [B][U]Output Window:[/U][/B] [CODE]pre-init: pre-load-properties: exists.config.active: exists.netbeans.user: exists.user.properties.file: load-properties: exists.platform.active: exists.platform.configuration: exists.platform.profile: basic-init: cldc-pre-init: cldc-init: … | |
I'm retrieving data pulled from SQL via an XML feed from my website, and each item has an id, name, description which is stuck into an ArrayList, which is then added to an overall ArrayList - this basically represents the rows retrieved from my database. i.e. [CODE] catArray = new … | |
Hello , um using xpath into jsp . According to what I know that the following : [CODE]<xpath:set var="channel_name" select="channelName" />[/CODE] returns a string . Let's assume that the value of this string is "foo" I need to compare this string with other string !! like if (var1=="foo") then do … | |
[code]<?xml version="1.0" encoding="ISO-8859-1" ?> <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page import="javax.servlet.http.*" %> <%@ page import="org.apache.commons.fileupload.*" %> <%@ page import="org.apache.commons.fileupload.disk.*" %> <%@ page import="org.apache.commons.fileupload.servlet.*" %> <%@ page import="org.apache.commons.io.output.*" %> <%@ page import="java.io.*,java.util.*,javax.mail.*"%> <%@ page import="javax.activation.*"%> <%@ page import="javax.servlet.http.*,javax.servlet.*" %> <%@ page import="javax.mail.internet.*"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
Hi Community, As the Title indicates, I'm having trouble trying to bulk insert records using a GridiView. I have searched for tutorials for a about a few weeks and the simplest one I could find was this: [URL="http://weblogs.asp.net/manojkdotnet/archive/2010/01/26/bulk-insert-using-gridview-and-sql-server-xml.aspx"]http://weblogs.asp.net/manojkdotnet/archive/2010/01/26/bulk-insert-using-gridview-and-sql-server-xml.aspx[/URL]. What I'm trying to achieve is that for every Site Name that … | |
I'm trying to adapt the opensource code from the page [url=http://tlrobinson.net/iphone/lighttable/]Drag and Drop in MobileSafari[/url], here is a snippet of the code I've changed from: [code] function jsonFlickrApi(data) { for (var i = 0; i < data.photos.photo.length; i++) { var p = data.photos.photo[i], img = document.createElement("img"); img.src = 'http://farm'+p.farm+'.static.flickr.com/'+p.server+'/'+p.id+'_'+p.secret+'_m.jpg'; img.className … | |
Hi, I have a window (Window1) with a ListBox (list1) bound to an xml file and a button that calls another page (Page1). Page1 implements methods to append to or alter the xml file however the control list1 is not recognized on Page1. So far I have referenced Window1 in … | |
Hello All, This is the first time I am using XSLT transform to transform an XML file.However, I am using a large XSLT(~2000 lines) written by someone else for the purpose of transformation.When I try to use XslCompiledTransform I get an error:The variable or parameter 'resourcetitle' is either not defined … | |
I am developing my knowledge base files these days and also I am trying to make an interface to update the templates in the knowledge base. Say I have the following AIML file. [code] <?xml version=“1.0” encoding=“ISO-8859-1”?> <aiml version=“1.0”> <category> <pattern> WHERE</pattern> <template>Where the heart is.</template> </category> <category> <category> <pattern>Hi</pattern> … | |
[B]Hi i am reciving XML File and trying to send a rspone to it my code is:[/B] [CODE] string sProcess = ""; XmlDocument objXML = new XmlDocument(); DateTime NowD = DateTime.Now; String DateD = NowD.ToString("yyyy-MM-ddThhmmss"); try { sProcess = "Load XML"; objXML.Load(Page.Request.InputStream); objXML.Save(@"D:\Payment-" + DateD + ".xml"); objXML.Load(Request.InputStream); XmlNode rootNode … | |
I'm trying to add a way to create scenes for my raytracer without having to recompile it every time. So far i've gotten the irrXML parser up and working. My xml file declares all the scene properties I need and i can get them into my raytracer, but my problem … | |
Hi Guys, I am doing a web based jsp project. Here we primarily read an image and store it to a relative folder.This image is then called in a jsp page. The previous image is loaded instead of the recent one. I need help from you guys regarding this, So … | |
Hi guys, I have a problem with this rule in .htaccess [ICODE]#RewriteRule ^(.*).xml $1.php?%{QUERY_STRING}[/ICODE] I need this rule transfer to Lighttpd web-server system. Very big thanks. | |
Hi, I would like to set my application to show [COLOR="Green"]system under maintenance[/COLOR] if it hit the [COLOR="Red"]start time[/COLOR] until the [COLOR="Red"]end time[/COLOR] which i set in the xml (24 hrs). How do i code it. Please anyone can guide me.Thank You! [B]XML[/B] [CODE] <Value Name="StartTime">22.45</Value> <Value Name="EndTime">00.00</Value>[/CODE] ![]() | |
So I have Vista Ultimate running on my HP Pavilion Notebook which I know has multiple problems on it. I have run Microsoft® Windows® Malicious Software Removal Tool and ATF Cleaner, and then a GMER scan and a Hijack This. I am trying to better understand what you look for … | |
how import header, footer xml into another main xml file for design layout in android with main as dynamic menu ? | |
How i use dynamic buttons with static buttons at bottom of screen only in java code without xml file? | |
A. Write a java program to do the following 1. Read text files from Directory 2. Use the xml tags on the text files to i. determine field names ii. extract actual value 3.write details of i and ii above into a database (eg. mysql) table. B. i. Read the … | |
Description: ------------ Doing the following SimpleXML text comparison does not give the expected results. Reproduce code: --------------- [CODE] <?php $sxe = simplexml_load_string('<root a="123" />'); echo $sxe['a']."\n"; if ($sxe['a'] == '123') { echo 'They are equal.'."\n"; } else { echo 'They are not equal.'."\n"; } [/CODE] ?> Expected result: ---------------- 123 … | |
Hallo @all my problem is XMLHTTP by Mozilla Browser is an example W3SCHOOL [URL="http://www.w3schools.com/xsl/xsl_client.asp"]http://www.w3schools.com/xsl/xsl_client.asp[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>html work with xml and xsl</title> <meta content="text/html; charset=us-ascii" http-equiv="Content-Type"> <script type="text/javascript"> var xsltProcessor; var xml; var xsl; var xhttp; var ex; function checkBrowserName(name){ var agent = … | |
I started learning AJAX recently and I must say that it is very interesting. But I have a little problem understanding why [B]nodeValue[/B] is not returning any value. But when I change the [B]nodeValu[/B]e to [B]nodeName[/B] I get the right result. I am currently accessing the individual elements manually because … | |
this is a question about this thread: [url]http://www.daniweb.com/forums/thread331447-3.html[/url] there is an option to delete item from the XML FILE? because i have 'Delete item button from the listView' and i want that will be delete it also from the XML file.. and if there's no way to do that. maybe … |
The End.