6,049 Topics
![]() | |
I feel this is the wrong type of use of this forum but I don't know where else to turn to! My Maths summary booklet which I have been typing up for my exams has an XML error within zip. I have tried to fix it but I don't know … | |
I have this litle problem, which is propably very futile, but still I cant't find the solution. I have this function which scans a directory for all kinds of files and returns all the filenames with the right extention. After that I cut of the directory string, put it into … | |
Dear Buddies, Need your help to make a simple regex to grab all codes from [B]<!-- Begin Code --[/B]> until [B]<!-- End Code -->[/B] I would like capture this code for deleting in Yahoo pipes. code: [code]<!-- Begin Code --> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '132829708015487', status: … | |
I have a terminal that throughout the day I will get the normal window shut down tones for no apparent reason. The computer never actually shuts down. To accompany this the terminal is extermely slow at times. I have swapped out memory and power supply with an identical terminal to … | |
Hi everyone, I'm new to c# ( I've done java before) and I'm having a problem with one of our tutorials. We have to read some data from an XML file. When doing it with a console application it turned out fine, but when doing it with a Windows forms … | |
Hi All I have the following XML (which is generated automatically and cannot be modified): [CODE]<ExportQuery> <ELEC01_SOWaitingParts3> <OrderDtl_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></OrderDtl_PartNum> <JobOper_OprSeq><![CDATA[10]]></JobOper_OprSeq> <Part_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></Part_PartNum> <OrderDtl_OrderNum><![CDATA[18432]]></OrderDtl_OrderNum> <OrderHed_OrderNum><![CDATA[18432]]></OrderHed_OrderNum> <JobHead_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></JobHead_PartNum> <JobHead_JobComplete><![CDATA[Yes]]></JobHead_JobComplete> <JobOper_JobNum><![CDATA[018957]]></JobOper_JobNum> <JobOper_OpCode><![CDATA[GB STORE]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET BATCH STORES]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> <FalseJobNum><![CDATA[18957]]></FalseJobNum> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> … | |
Hi guys, keep getting an error: Cannot find the deceleration of element test when writing the xml. I have declared the element test in the schema but it appears to ignore it. The schema is as follows: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Test"/> <xs:simpleType name="Stringtype"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType … | |
[QUOTE=swathys]Hi, I have a problem to solve this, when the 1st language button clicked it should carry the language that already specified in xml but it seems my code doesn't work in that way. Can you help me please ! Form1 [CODE] Private Sub FlashObj_FSCommand(ByVal sender As Object, ByVal e … | |
Hello, to the forum. I have stuck on a point for my coursework. I have a xml file that containts 4 category tags (but with different attribute name), inside i have 4 item and inside any item i have <name><price>...etc. There is a way to take those tags (<name><price ..etc.>) … | |
Hello ,, How are U ?? I have a problem in creat RSS Sitemap I need it for Arabic .. first I added English threads , its appear without any problem but when I added Arabic threads All of its disappeared !! Just the title appear in Arabic Now this … | |
![]() | I have an XML file that i am parsing using DOM. I dont know why my code is not working. [CODE] <html> <head> <script type="text/javascript"> function loadXMLDoc(dname) { if (window.XMLHttpRequest) xhttp=new XMLHttpRequest(); else xhttp=new ActiveXObject("Microsoft.XMLHTTP"); xhttp.open("GET",dname,false); xhttp.send(); return xhttp.responseXML; } </script> </head> <body style="color:red"> <script type="text/javascript"> xmldoc=loadXMLDoc("food.xml"); document.write(xmldoc.getElementsByTagName("name")[0].childNodes[0].nodeValue); </script> </body> … |
![]() | Hi all. Having more problems with utf-8 and Iñtërnâtiônà lizætiøn. I'm running php (xampp) on Windows 7 (but it's also happening on my remote Linux site) and keep on getting nonsense with non-ASCII chars when they come from include files, e.g. INCLUDE FILE: 'inc.php' [CODE]<?php $simple = "Iñtërnâtiônà lizætiøn"; ?>[/CODE] MAIN FILE … ![]() |
We are replacing our old (dos) accounting system with the MS Nav 2009 and interfacing via webservices, or will be once I can get the NuSoap.php client to recognise that the service has operations. So far I have got the service to recognise the login (via ntlm auth), send the … | |
Good Day All i have a a WCF service , that is checking the login details and its working fine as it should, i decided to add another Function that will display data. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; namespace DAL { // NOTE: … | |
Does anyone know how I would go about extracting data from wikipedia. I am working on a site that requires specific information from articles from wikipedia, and I was wondering whether anyone has any helpful tips on how I would go about the data scraping. Thanks | |
Hi I am trying to call my BMI webservice to a html page which calculates and return the result, I have the following code but it is not working. [CODE] <html> <head> <title>Body Mass Calculator</title> <script language="JavaScript"> function InitializeService(){ service.useService(http://localhost:57955/BMI.asmx, "BMI"); } var doubleFeet, doubleInches, doubleWeight; function GetBMI(){ doubleFeet = … | |
I am working for a company that wants their podcast on iTunes... The thing is that they want a specific URL destination (and not the link from the RSS feed itself) pointing from the iTunes page. I know that the tag to change on the RSS feed is the <link> … | |
Hello. Part of a site i am making requires me to get information from an XML feed. I have a function that checks to make sure it can access the feed then get data from a tag in that feed. However, when i call the function using the code below … | |
Hello all, Currently i'm trying to make an addin for Microsoft Word that i need to get the content in byte[] of currently active document. So here what i'm thinking what i will do, First I'll read the document.xml and get its bytes, then i'll get the byte[] of each … | |
Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using … | |
I'm mostly a former developer, doing small pieces of code in a variety of languages and applications in order to help out my team. I joined DaniWeb to learn new things, be reminded of old things, get help and help out others. I do mostly systems engineering now, processes, quality, … | |
Hi, I have an XPATH expression which works in Firefox but not IE8. "//country/region[text()="London"]/../timeZone" The error message I get from IE8 is " Message: .. may not appear to the right of / or // or be used with |." Thanks, Redrose123 | |
![]() | Hello, I'm new to XSLT and have a basic (probably) question. Instead of transforming from one xml format to another I would like to just modify data in a single xml document. How would one go about that? Regards, Rupert |
HI guys, i have split and xml in two parts, and in the root element element of the second one(which in this case is the output) want to add an attribute...but do not have any idea how to do this... my XML:[CODE]<DataSet> <Input> <Order OrderNo="tesco10" DocumentTYpe="0001"/> </Input> <Output> <Order OrderNo="Order1" … | |
Hi, I have a small problem with a DLL. The code for the solution is split into several projects which are then compiled and deployed to a web server. When the project is within Visual Studio I used a Linked file to get the contents of an app.Config file (XML) … | |
Hi i want to read xml.. i have two combo boxes one is showing Prgorrames Name and 2nd will show Semester No with respected to Programme.. For example if I select Programme BBa so another combobox will show all the semesters of BBa...and when i select semester 5 so data … | |
Please tell me what i am doing wrong, all i want is to print this xml file with the xslt file i have. <?xml version='1.0' encoding='UTF-8'?> <?xml-stylesheet type="text/xsl" href="../App_themes/videoPlayer.xslt"?> <playlist version="1" xmlns="http://xspf.org/ns/0/"> <trackList> <track> <title>Exam Security Whats OK and whats Not</title> <location>https://s3.amazonaws.com/arrtstreaming/ExamSecurity.mp4</location> <images>https://www.arrt.org/svideo/images/movieThumb.jpg</images> <annotation> ARRT takes the confidentiality of its … | |
Hi I have looked around the forum but cant find anything about rss feed links. I have managed to get my rss feed working but i want users to be able to click on the title of the rss to take them bk to the orignal website can anyone tell … | |
Hi all. Learning Java - sorry for my stupidity if you see any. Here is the code: [CODE] private static void readFile() throws Exception { Calendar cal = Calendar.getInstance(); cal.add(Calendar.DATE, DAYS); String fOther = "filename.csv"; String fOtherImp = "filename_imp.csv"; LineNumberReader lineCounter = new LineNumberReader( new InputStreamReader(new FileInputStream(fOther))); String nextLine = … | |
Error 2 'System.Web.HttpApplicationState' does not contain a definition for 'startuppath' and no extension method 'startuppath' accepting a first argument of type 'System.Web.HttpApplicationState' could be found (are you missing a using directive or an assembly reference?) E:\Report1\global\Default.aspx.cs 77 36 E:\Report1\global\ please help me.. i want to override the connection string of … | |
Below is an xpath that works. It returns all the values of the [U][B]value[/B][/U] attribute of the OutputField tag: [CODE] //Satellite/multidataset/file[contains(@name, '311multi')]/Data/DriftAnalysis[contains(@name, '311')]/Metric[@name='Detail' and @type='Overlap']/Element[@metrictype='Overlap']/OutputField[@name='Cleared']/@value [/CODE] But when I try to sum the returned values of the [U][B]value[/B][/U] attribute like the example below I get the error "Expression must evaluate … | |
How should i come about accessing eclipse file folder on another computer using the elicpse software too?? I mean accessing the entire file as a whole with a working solution and not accessing .xml or .java individually. Or is it impossible to access the file as a whole but i … | |
How should i reorient an android application in landscape mode once an apps is started?? I started an app but it does not automatically switch to landscape mode.. I tried writing it to "horizontal" but it does not work.. [CODE]<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" >[/CODE] | |
I am trying to write a simple servlet program. But getting the error [B]The requested resource (/servletexam/LoginServlet) is not available[/B]. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, … | |
Alright, so I'm suppose to be using SAXparser to parse a XML file and output certain parts The assignment asks us to use to classes Course.java and TextBook.java to which we are suppose to create the Course and Textbook objects described in the XML file, making sure they refer to … | |
Hi! An email was opened. At that time, I guess a Trojan was downloaded. My Avast antivirus went nuts; I couldn't open the task manager or other system programs; I couldn't system restore; i couldn't even shut the computer down. I had to do a manual shutdown (held the power … | |
I have a class which stores my camera settings [CODE] public class SaveData { public CameraFreeLookSettings CameraSettings; /// <summary> /// Parameterless constructor for XML Serialization/Deserialization /// </summary> private SaveData() { } public SaveData(CameraFreeLookSettings cameraSettings) { CameraSettings = cameraSettings; } } [/CODE] I'm trying to save those settings using a SaveFileDialog … | |
Hi, currently i created a lucene project and currently having a problem with the codes. Here are my codes (which i also refer to some useful websites explain lucene) [CODE] import org.apache.lucene.document.Document; import org.apache.lucene.document.Field; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.search.IndexSearcher; import org.apache.lucene.search.Query; import org.apache.lucene.queryParser.ParseException; import org.apache.lucene.queryParser.QueryParser; import org.apache.lucene.search.Hits; import org.apache.lucene.index.*; … | |
Hi, I've seen sample vb project. It's a console application. There's a code there like [B]Dim q() As String = Environment.GetCommandLineArgs()[/B] First I try to check it by using message box to print it out: the index-0 of q contain a path project vshost --> q(0)="D:\TestService\sample1.vshost.exe" and the index-1 of … | |
hi, i have a current working registration page, (the code is below), how do i make it so when they click register it checks to see if its a valid email address, if u cannot help me can u give me a link to a website. this registration form creates … | |
Hi All, I have an xml [CODE] <?xml version="1.0" ?> - <Rowsets DateCreated="2011-03-15T16:31:51" EndDate="2011-03-15T16:31:51" StartDate="2011-03-15T15:31:51" Version="12.0.2 Build(88)"> - <Rowset> - <Columns> <Column Description="ProductID" MaxRange="1" MinRange="0" Name="ProductID" SQLDataType="4" SourceColumn="ProductID" /> <Column Description="BatchID" MaxRange="1" MinRange="0" Name="BatchID" SQLDataType="12" SourceColumn="BatchID" /> <Column Description="ReviewVersion" MaxRange="1" MinRange="0" Name="ReviewVersion" SQLDataType="-6" SourceColumn="ReviewVersion" /> <Column Description="DispositionVersion" MaxRange="1" MinRange="0" Name="DispositionVersion" … | |
Hi , Wondering if some one could help me! Im really stuck don't know how to add another page in XML currently website showing two pages for images on portfolio page, got more images but don't know how to add next page>> on "Portfolio page" , for ref pls visit: … | |
Hello people i have a script that will show the days between two dates.Now my problem is The dates are stored in MS Access as text and when I compute it here in my script it always give the wrong value I really appreciate any help i can get also … | |
Hello, My computer has been restarting without a user prompt for some reason. A Comodo notification comes up saying that there is some registry error with a pending file rename operation. Below is the Hijackthis logfile. Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 4:03:57 PM, on 3/14/2011 Platform: … | |
Hello, I have implemented Gchechout in my website. I am successfully able to go for payment at google. I am facing problem will callback. I have used [B]"Notification Serial number" as Callback contents.[/B] My call back code is as below: [CODE] Stream RequestStream = Request.InputStream; StreamReader RequestStreamReader = new StreamReader … | |
I have a script which parses xml feeds, the url's to the feeds that are being parsed are in a table on my database. Below is the query for storing the url's in an array [CODE] $getUrls = "SELECT * FROM sscape_blogroll"; $result = mysql_query($getUrls); $urls = array(); while($row = … | |
[CODE]Is it possible of creation object "Microsoft.XMLHTTP" in windows 2008 server 64 bit?[/CODE] | |
I am trying to validate the fields in the form and trying to POST the input after validating form the server however I am able to validate the fields but not able to POST the data form the field, please help if anyone could. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
I am trying integrate an upload system from YouSendIt.com in to my companies forms. The code they give for integration is basically an iframe with a coded URL set for the source. Their server sends a postback using HTTP Post method but I am not sure how to access the … | |
I'm not entirely new to xPath. I've programmed with the TreeView control in VB.Net extensively, so I have a very good grasp of the concept of trees, nodes, parent, children, siblings, etc. I've read several tutorials on line about using the XmlDocument class in the .Net Framework. All of these … |
The End.