6,049 Topics

Member Avatar for
Member Avatar for kaharas

Hi, I wrote this little program, that load a flash application, and tries to hook the recv calls made from it. The problem is, The hook works for HTTP request ( xml domain policy file and so on), but completely misses the xmlsocket packets. I'm sure the api called is …

0
69
Member Avatar for XadRav

My XML basically look something like this: [ICODE]<Staff> <Row alphakey="doejohn" building="abc" class="Algebra" /> <Row alphakey="doejohn" building="abc" class="Geometry" /> <Row alphakey="personbob" building="abc" class="Calculus" /> <Row alphakey="personbob" building="abc" class="Precalc" /> ... </Staff>[/ICODE] And my code looks a little like this: [ICODE] <xsl:for-each select="$Rows"> <xsl:if test="not(@alphakey = preceding-sibling::Rows[1]/@alphakey)"> ... [/ICODE] For some reason, …

Member Avatar for Erwan Amoureux
0
85
Member Avatar for XadRav

My xml looks something like this: [ICODE] <Staff> <Row alphakey="doejohn" building="abc" class="Algebra" /> <Row alphakey="doejohn" building="abc" class="Geometry" /> <Row alphakey="personbob" building="abc" class="Calculus" /> <Row alphakey="personbob" building="abc" class="Precalc" /> ... </Staff> [/ICODE] And basically I need it to output like this: [ICODE]Alphakey Classes doejohn Algebra, Geometry personbob Calculus, Precalc[/ICODE] I've searched …

Member Avatar for Erwan Amoureux
0
287
Member Avatar for pilipino93

Hi, I am trying to develop a program to read through this xml file 'config.xml' and I have specific portions of the file that the user can edit and save. I have been searching everywhere for some help on reading to and from and writing to and saving childnodes from …

Member Avatar for pilipino93
0
115
Member Avatar for LianaN

Hi! I would like to read XML file from my SWING application, however [ICODE]list.size()[/ICODE] returns 0. Why does it happen? Thanks! [CODE] private void open() { SAXBuilder builder = new SAXBuilder(); File xmlFile = new File(openedFileName()); try{ Document document = (Document) builder.build(xmlFile); Element rootNode = document.getRootElement(); List list = rootNode.getChildren("Panel"); …

Member Avatar for LianaN
0
848
Member Avatar for Fortinbra

I'm using a silverlight client to consume a custom web service in ASP.NET (.asmx). When running in IIS on my Local Machine (IIS 7.5, Win 7 Enterprise x64), the web service works fine. Trying to connect to my machine from another, I get a cross domain exception. The web service …

0
53
Member Avatar for Witblitz

I am using an XML parser to get product info from a supplier site, I then break it into an array. What I need to be able to do here is to search for a specific model number code and it's accompanying data into a new single array. How do …

Member Avatar for Witblitz
0
103
Member Avatar for KunalPatel

Hello, I'm a newbie to Objective-C & iPhone development, hence please bear with[ICODE][/ICODE] me. I'm working on an app which loads with UITableView and upon selecting one particular cell called "Address Book" it should load with another UITableView containing all the addresses retrieved from a web request. Using NSXMLParser's delegate …

Member Avatar for KunalPatel
0
153
Member Avatar for Arjun_Sarankulu

I have written the code to read the csv file(which include 4 rows) and the application is running sucessfully, while writting to the file it writes 2nd and 4th row to the file I am not getting why its happening. Can anyone help me for the same. following is the …

Member Avatar for Ketsuekiame
0
172
Member Avatar for williamshen25

Hi everyone. I want to create a crawler with perl and run it on crowntab. The program should use DBI and DBD::Oracle to insert data into my database. When crontab runs it, I get the following error in my mail box. Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: libclntsh.so.10.1: cannot open …

Member Avatar for williamshen25
0
112
Member Avatar for Sparky_

Greetings, I am about 4 hours into JAVA and am making a big mess of it. Last night (at home) I installed the latest JAVA and NetBeans and got a "Hello World" Today I installed the 2 at work and am getting errors involving: "NoClassDefFoundError" (even with what worked last …

Member Avatar for ~s.o.s~
0
180
Member Avatar for sam1

Hi, I am trying to output some data from sql db within excel to XML. I am updating the sql db from the excel worksheet and then outputting the records from the db to xml. I have used CDATA to parse html within xml but i can only get one …

Member Avatar for AndreRet
0
187
Member Avatar for cyph3r x3r0

I am developing a LAN messenger in c# using sockets, i want to use XML for entire communication, can you people help me? or give me some link or code snippet? any help will be appreciated thanks in advance

Member Avatar for Ketsuekiame
0
141
Member Avatar for Naut
Member Avatar for sam1

Hi, I am trying to output some data from sql db within excel to XML. I am updating the sql db from the excel worksheet and then outputting the records from the db to xml. I have used CDATA to parse html within xml but i can only get one …

0
70
Member Avatar for samm22

Hi, Am trying to create a multipage (or multitab) user form and each one of page (tab) has several textboxes in it. After user enters the input in the textboxes, the data goes into an xml file. All I wannna know is, what is the syntax for getting inputs from …

Member Avatar for codeorder
0
135
Member Avatar for vijaysachin

Hi All, I have one strange issue, JSP cannot Identify the JS, CSS file path when URL pattern is /*. Let me explain in detail. Irrespective of relative path my application should have to call Home.jsp. So for that I have specified URL pattern as /*. This logic is working …

Member Avatar for code learner
0
351
Member Avatar for anthony5557

I need some help with the javascript code. I have the structure down I need help with the functions. I want to enter the temp in the box and the run the function and replace the number with the converted temperature. Can anyone help me. Here is where I'm at …

Member Avatar for hielo
0
228
Member Avatar for computerbear

My XML class is kickin my behind. I have an assignment that is to combine 3 files, books, movies and music into one called products. I have xml and xsd doc for each. I have gone over the book and a fellow students work and the solution files. I cannot …

Member Avatar for iceandrews
0
150
Member Avatar for tuanpq

Dear all, I'm a newbie Outlook Add-in and I have developed a small Outlook Add-in, but now I have an issue with the Add-in. Sample source code is bellow: [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using Outlook = Microsoft.Office.Interop.Outlook; using Office = Microsoft.Office.Core; using System.Windows.Forms; …

0
107
Member Avatar for brothaofdes

Hello all: I have a small script that will present options to a user, and from those options will export data into an Excel spreadsheet. This seems to work correctly, but the problem is that the user interface page does not get updated after the download. Here is an example: …

Member Avatar for jkon
0
884
Member Avatar for nospryexpert

I've been working on a website for a friend of mine and would like to do either a HTML or XML Spry data set instead of an straight html table. It's nothing real complicated but am looking to learn how to do this with DW CS3 (my version). I can …

0
70
Member Avatar for Tanha Karim

Asalam aliequm Friends Some one can solve my problem when i search any keyword from my site like " kids fashion dresses 2011" or "latest cars 2011" after sometime a another site open but its a data of my site its a problem of vbseo someone inject or whatever he …

0
107
Member Avatar for bennyboy79

please can someone help with the above? here is my hijackthis report: Logfile of Trend Micro HijackThis v2.0.4 Scan saved at 18:43:58, on 22/01/2011 Platform: Windows 7 (WinNT 6.00.3504) MSIE: Internet Explorer v9.00 (9.00.7930.16406) Boot mode: Normal Running processes: C:\Users\Ben\AppData\Local\Audiogalaxy\Audiogalaxy.exe C:\Program Files (x86)\Creative\MediaSource5\Go\CTCMSGoU.exe C:\Program Files\Alwil Software\Avast5\AvastUI.exe C:\Windows\SysWOW64\rundll32.exe C:\Program Files (x86)\iTunes\iTunesHelper.exe …

Member Avatar for PhilliePhan
0
153
Member Avatar for sbutt

I am trying to get xsl comments on my XMLSpy XSLT output console, but the comment is not appearing. My xslt script is: [CODE] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ota="http://www.opentravel.org/OTA/2003/05" exclude-result-prefixes="ota xsl"> <xsl:output encoding="UTF-8" version="2.0" method="xml"/> <xsl:strip-space elements="*"/> <xsl:variable name="no_of_adult_persons" select="count(//ota:PassengerListItems/ota:PassengerListItem[@Code = '10'])"/> <xsl:variable name="adult_persons_prices"> <xsl:call-template name="adult"> <xsl:with-param …

Member Avatar for alfieclinton
0
219
Member Avatar for livermore

Hi! I want to parse data from tables in webpages , there are no problems when I parse regular HTML tables, but it seems to be impossible to get any data from dynamic pages that update themself automatically. Do you have any clue how to extract data from dynamic web …

Member Avatar for Airshow
0
116
Member Avatar for stevenfagan

I'm using ASP to dynamically generate an XML file (for an RSS feed) that pulls information from a SQL DB. Users input the data into the DB using a UI that is a straightforward html form. However, there is a textarea field in that form in which most users seem …

Member Avatar for ArtistScope
0
235
Member Avatar for zylog

I was wondering why this line is being used in all the page of the html , PHP or even pages which was created by any language . <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> is this mandatory or any specific purpose

Member Avatar for mschroeder
0
53
Member Avatar for Ketsuekiame

A while ago, I had a piece of XML you put in the application config file which made .net write all exceptions and traces into a log file, without any modifications to the code. (i.e. I didn't have any trace listeners or manual log files) I cannot for the life …

Member Avatar for Ketsuekiame
0
103
Member Avatar for mokztan

Hi. Im having a difficult time to figure out how to connect all the claass and jsp as well as the .xml. (I am working on a web application project, and these codes are for the registration module oly. Im using ECLIPSE EUROPA for my IDE, Apache Tomcat 6.0 for …

0
92
Member Avatar for Eric Cute

Hello Guys, Im having a bit of a problem here. Im trying to deploy an EJB project that i developed using Eclipse Galileo Version 3.5.2 using JBOSS 6.0.0.Final as server. When I try to deploy my test EJB its giving me an error that it cannot instantiate class [org.jboss.logging.util.OnlyOnceErrorHandler] ClassNotFoundException. …

0
95
Member Avatar for summey

[CODE]Validating against schema: Employee.xsd Error: Element 'Phone': The attribute 'Type' is not allowed. on line 9 Line 1 <?xml version="1.0"?> 2 <?xml-stylesheet href="http://courses.oreillyschool.com/introxml/xsl/PhoneBook.xsl" type="text/xsl"?> 3 <!DOCTYPE Employees> 4 <Employees xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Employee.xsd"> 5 <Employee> 6 <First>John</First> 7 <Last>Smith</Last> 8 <Phone Type="Home">1-800-123-4567</Phone> 9 <Birthday>1960-05-25</Birthday> 10 <HourlyRate>35.85</HourlyRate> 11 </Employee> 12 </Employees> 13 [/CODE] …

Member Avatar for summey
0
254
Member Avatar for k2k

hi, basically i have this function. [code] function showDetail(checkBoxShipmentId) { xmlhttp = GetXmlHttpObject(); // this calls function below if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } var url="detailBackend.php"; url=url+"?shipmentid="+checkBoxShipmentId; //?shipmentid = value of the checkbox, which is the shipmentid url=url+"&ran="+Math.random(); if(xmlhttp.readyState ==4) { xmlhttp.onreadystatechange= displayDetail; xmlhttp.open("GET",url,true); …

Member Avatar for Airshow
0
638
Member Avatar for DragonL

I have a problem whit load of xml file into Oracle using StringBuffer. I get a java.sql.SQLException error “setString can only process strings of less than 32766 characters”. My problem a cure when I try to bind the CLOB with the prepared Statement in the StringBuffer. There are no problem …

Member Avatar for masijade
0
420
Member Avatar for toast4lunch

well I followed the steps before posting and it seemed to solve the problem but here is the logs anyway: GMER 1.0.15.15530 - [url]http://www.gmer.net[/url] Rootkit quick scan 2011-01-15 13:46:00 Windows 6.0.6002 Service Pack 2 Harddisk0\DR0 -> \Device\Ide\IdeDeviceP2T0L0-4 TOSHIBA_MK1637GSX rev.DL032C Running: xrsodq7v.exe; Driver: C:\Users\Owner\AppData\Local\Temp\uwldrpob.sys ---- Devices - GMER 1.0.15 ---- AttachedDevice …

Member Avatar for crunchie
0
565
Member Avatar for Chaster

Hi all! My problem is the following: I'm using Spring MVC, and trying to use several controllers (one for each jsp). My controllers are defined in the xml like: <bean id="/login.htm" class="controllers.LoginController" /> <bean id="/menu.htm" class="controllers.MenuController" /> inside LoginController's onSubmit I do a ModelAndView("menu", ...). That is OK, the menu …

0
83
Member Avatar for f_atencia

Say I have an element <pets animals="dogs, cats, donkey, turtle, rabbit" /> How can I break the long string to when it hits the comma, it separates the animals into substrings? An example output is shown below: dogs cats donkey turtle rabbit Help is appreciated. Thanks

Member Avatar for f_atencia
0
114
Member Avatar for ans2007kumar

My java script of validation is not working don't know why here is the code Header php file [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <link rel="stylesheet" type="text/css" href="c.css" /> <title>simple document</title> <script src="validate.js;cart.js"> </script> <script type=" text/javascript"> <?php session_start(); ?> </script> …

Member Avatar for diafol
0
148
Member Avatar for boshu

Hi all, I have been using a macro definition to copy a set of files to different locations and FTP servers. But copying seems quite slow so I want to compress the bundle using 7z and copy all into FTP as one single file. Can it be done using 7z? …

Member Avatar for Ezzaral
0
211
Member Avatar for Dwiliam

Hi all, I have a proplem when embed shell into C code by Sytem() command. There is my code: [COLOR="Green"]char acCommand[512]; acCommand[0] = '\0'; sprintf(acCommand,"sed 's/\<UDN\>\<\/UDN>/\<UDN\>%s\<\/UDN\>\/g' %s > %s", initParam.UDN, "/tmp/web/dmr.xml", "/tmp/web/dmr.xml.tmp"); printf("[%s]", acCommand); system(acCommand);[/COLOR] and below is output after compiling: sed 's/<UDN></UDN>/<UDN>uuid:b346ee95-93b3-4922-a132-cf72762b9318</UDN>/g' /tmp/web/dmr.xml > /tmp/web/dmr.xml.tmp] [COLOR="Red"]sed: bad option in …

Member Avatar for Dwiliam
0
220
Member Avatar for mahdi68

Hi i try show layout like image 1 (textView and editText in same line) but my out put shown like image 2 ! i try with this code : [CODE]<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:padding="5px" > <TextView android:id="@+id/label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="URL:" android:layout_alignBaseline="@+id/entry" android:layout_alignParentLeft="true"/> /> <EditText android:id="@+id/entry" android:layout_width="fill_parent" …

Member Avatar for shibby
0
160
Member Avatar for macaela

Hi i have a while loop which displaying data from the database but i am trying to style but it doesnt seem to be workin help please. xml script [CODE]<?php // PHP file that renders perfect Dynamic XML for MySQL Database result sets // Script written by Adam Khoury @ …

Member Avatar for hielo
0
130
Member Avatar for anuj_sharma

Hi, I have two XML files namely (1)'message_gen.xml' and (2)'message_user.xml'. The (2) file is correct and the (2) is generated by an application. The (2) file should be same as that of the (1) file i.e. it should have the same elements, the same element content. I am currently using …

0
86
Member Avatar for ans2007kumar

Guys i am trying to create a shopping cart in php + mysql. I have a page with product and one input button for each one of them. I want that when ever the product button is clicked it stores the data of product and amount in the database "cart". …

Member Avatar for chrishea
0
167
Member Avatar for loken

I am currently working on a project (contact IS) built using openlaszlo and I am using mysql as database... I use JSP as the servlet that will handle the connection to the database and present the information to openlaszlo as XML, however when I try to add a new contact …

Member Avatar for cute_adi
0
4K
Member Avatar for katmai539

Hi there, I'll be dropping in quick: I'm trying to pull four <t> nodes from a XML file, eg. [CODE='XML']<?xml version="1.0" encoding="UTF-8"?> <tasks tid="TERMINAL012345"> <t> <reqs>keuringen/bammens3h.xml</reqs> <deadline>200120111600</deadline> <desc>WML keuring BAMMENS-3H</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000001</sn> </t> <t> <reqs></reqs> <deadline>200120111630</deadline> <desc>Vulgraad meting</desc> <loc>Danzigerbocht 87 AMSTERDAM</loc> <ocode>TEST1234567890</ocode> <form>quiz</form> <sn>0000000002</sn> </t> <t> …

0
150
Member Avatar for EagerLearner167

I'm a student. I am trying to make simple project for online borrowing book system. Basically the flow is from Borrow.jsp (The user select which data their want to update) The UpdateBorrowBinder.java will grab the object and pass to sql then bring the result to appear in UpdateBorrow.jsp But the …

0
80
Member Avatar for Dragewood

Hello, For the last couple months I've been having an issue where once in a while I'll be browsing, and when I click on a link, a second instance of Firefox will open up to an ad site. Then just yesterday I noticed another issue where clicking a google result …

Member Avatar for crunchie
0
462
Member Avatar for jamesyrawr

I am fairly new to php but i do have some knowledge of it im justnot sure how to code what i want. if anyone can give me some idea of what code i need i'd really appriciate it :) anyway photo names will be uploaded to database with a …

Member Avatar for AdriftUniform
0
962
Member Avatar for anandv1986

Dear Folks, This is anand, i m new to Tomcat5.5, i have given my directory structure i think nothing wrong with this but it is showing some error. Webapps I anand I WEB-INF, helloworld.jsp I classes,web.xml If i try to run my simple helloworld jsp program it is showing error …

Member Avatar for Qamar_DW
0
147

The End.