6,049 Topics

Member Avatar for
Member Avatar for azucena_fs

Hi! How can I print XML files on a printer that's XMLReady? When an XMLCompatible application (like SAP) sends a xml file, the printer automatically gives it format (previously charged in the printer). I cannot use PrintDocument class because I don't need to give text a format. Also, the printer …

0
42
Member Avatar for blacknred

I'm trying to parse xml file and convert all the unix timestamps in it to datetime... [QUOTE]<Sample> <TimeStamp>1291052077</TimeStamp> blah blah blah blah </Sample> <Sample> <TimeStamp>1291052077</TimeStamp> blah blah blah blah </Sample> </Content>[/QUOTE] [CODE]import fileinput file = raw_input("Enter file: ") file = open(file, "wb+") for line in fileinput.FileInput(file,inplace=1): if "TimeStamp" in line: …

Member Avatar for richieking
0
187
Member Avatar for bangaram9

need an xslt for a collection control that produces the below: <ul> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> </ul> <ul> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> <li>{quicklink}</li> </ul> The key here is to have a count on the items. After the 7th item, it needs to start …

Member Avatar for iceandrews
0
85
Member Avatar for zahnsoftware

What are some practical ways to resolve legacy code in an n-tier architecture where all of the code is written in self-referencing web services? So far, much of the code is undocumented, uses old VB6 conventions, and there are very long procedures. What's the best way to approach, let's say, …

Member Avatar for jlego
0
191
Member Avatar for wickedsunny

Hello, i am running a site consisting mainly of images . the problem im facing is high traffic loads sometimes from social networks on image links directly like : /i/image_123232.jpg instead of the image page. I have developed teh site in a way to use same image name as teh …

Member Avatar for pritaeas
0
125
Member Avatar for trippinz

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Diagnostics; using System.Xml; namespace Shortcuts { public partial class Form1 : Form { public Form1() { InitializeComponent(); } public string FileLocationToRun; private void button1_Click(object sender, EventArgs e) { OpenFileDialog fdlg = new …

Member Avatar for crishjeny
0
169
Member Avatar for dinasavta

when I tried to open Retrovision to continue the film I was seeing yesterday there was a caption saying that I am denied accessto the site and additionally there is an arror 403

0
64
Member Avatar for Venugopal Ravi

Hi I want to download a zip file (xml file in zip - size more than 50mb) which is in another website to my server using PHP scripting. That particular file is updating daily in that site, so i need it to download and use it daily basis. any help …

Member Avatar for nonshatter
0
215
Member Avatar for Finki

This are some exercises for my exam. Need some help ASAP. Program for 9 or 10 points would be the best, because I only need that for exam. [B]6 points:[/B] Write a program that reads a file .picasa.ini and copies pictures in new files, whose names are the same as …

Member Avatar for woooee
-2
199
Member Avatar for khaled_jawaher

pls i want to know what i must use to read xml file in remote machine in java. is it possible using saaj,or other.i have jdk 1.6 installed on window 7 os machine. what also suitable softwares for this task. apreciate any ideas

Member Avatar for khaled_jawaher
0
236
Member Avatar for jorgejennings

Hi, I work on windows vista and want to install a file named "msxml4.dll".One of my program needs this file and so I tried to get it from other computer but it does not worked.... pls suggest some solution that is free of cost...!! Thanks.

Member Avatar for robertpark
0
77
Member Avatar for iamchuckb

Hi all, I'm new here and a little flummoxed by this problem. I am working through the process of creating a notepad type program in java to get a little more experience with the language. My save functionality is not working. This is not unexpected; the part that is really …

Member Avatar for iamchuckb
0
4K
Member Avatar for nanderv

Hi, I'm creating an rts game. I'm looking for a way to store unit data. I thought, I'll make a struct for all the required data, and make a multidemensional array of them (one dimension is the different players, the other is the units). The length in both direction is …

Member Avatar for nanderv
0
173
Member Avatar for rudz

I am facing a problem , i cant delete or update or insert in my cms because there is no permission to the folder how i can do it?im working in a local server wwwroot ,please can someone tell me how i can make the permission .thank you

Member Avatar for rajeesh_rsn
0
62
Member Avatar for newuser17

I want to store data that user inputs [form based using xml] into a postgres database, so i would like to know is it wise to develop a web service or just it is better to use a jdbc connection As I am new to this environment please help me …

0
70
Member Avatar for newuser17

I want to store data that user inputs [form based in form of xml] into a postgres database, so I would like to know is it wise to develop a web service or how do I transfer data. I am completely clueless how to head on with the problem

0
135
Member Avatar for Mexxman

Hi to all. Please help me add xml file to jquery slider. I want to show image from xml file. For example I have Nivo slider because they have a good transition effect. I'm a noob in Javascript and because I here. And xml file should look like this: [CODE] …

Member Avatar for naive_kumar
0
96
Member Avatar for Hell Bomb

ok, whenever i make my browser smaller then like 900px wide it will push the footer image to the right but when the browser is nice and big it will display perfectly fine, any ideas? I only put in the css that you should need, but if you want all …

Member Avatar for drjohn
0
426
Member Avatar for TheMightySpud

Hi all, I'm hoping someone can help out with this one. I'm reading in an xml file, which is working fine with no problems, but I want to re-format one of the elements data attributes slightly. The XML attribute output is currently [code]Wind: NW at 6 mph[/code] What I want …

Member Avatar for GeekByChoiCe
0
117
Member Avatar for weloki

I'm using XSLT to try to grab content from an html page. I want to select all the <p> tags but exclude all the <li> tags. There is one page where the li tags are not within any of the p tags. For this page, how can I select all …

Member Avatar for weloki
0
73
Member Avatar for Member 784374

Hi all, I was wondering if any of you could tell me how to convert a date format that is being returned in my XML. The element content is being returned as a string of form "2010-11-16T09:00:00Z". The XML is a copy of some metadata of an object in my …

Member Avatar for JamesCherrill
0
94
Member Avatar for sri.k

Hi all, This is sri. I've done some program to read xml elements in java.But i didnt get them in a structured way like root element and its name and child elements and their names.I am getting end tag names after tag value also.so pls help me in getting elements …

Member Avatar for sri.k
0
182
Member Avatar for zela

i have this .xml file read and display at runtime by vb.net2003. the .xml file is the database which contain various data and its not for adding more data or edited by user so i need to protect the file so that my code can read and display those data. …

Member Avatar for Luc001
0
95
Member Avatar for zeeshan_kust

hi all i am working on a php web service i read the data from mysql into xml format and from .xml file into php file reference link is [URL="http://www.daniweb.com/forums/thread326721.html"]http://www.daniweb.com/forums/thread326721.html[/URL] my question is how can i read the request from client into php script and then update the data into …

0
63
Member Avatar for lili.edryana

[icode]18830042010000000000010000010.00 300420101004301512210344 881114065677 john smith 0000010.00 18801062010000000000010000435.20 010620101006011143170683 841208925437 luna barbara 0000435.20 18830062010000000000010001881.00 300620101006302037530018 872420036243 micheal jordan 0001881.00 [/icode] [COLOR="Green"]I have a text file contains information shown above. I would like to produce a php code where it can read the text file and then insert the extracted data into …

Member Avatar for lili.edryana
0
463
Member Avatar for TJVR

Hi Please help with the following. This is my code: [CODE]<%@ Page Language="C#" Debug="true" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Configuration" %> <%@ Import Namespace="System.Xml.Linq" %> <%@ Import Namespace="System.Data.SqlClient"%> <%@ Import Namespace="System.Data.OleDb"%> <html> <head> <title>Session Page 2</title> </head> <body><p>ASP.NET C# session page 2</p> <p>first name: …

Member Avatar for catherine sea
0
206
Member Avatar for swathiseshan

how can i extractthe value of a javascript variable and use it in a xml stylesheet??

0
40
Member Avatar for daviddoria

I have recently taken over as a volunteer webmaster for this website: [url]http://www.ewh.ieee.org/r1/schenectady/newsletter.html[/url] Under the "Schenectady Section News" heading, you can see that there are a bunch of simple pages that all look the same. The current process to add a new one is to copy and paste an old …

Member Avatar for daviddoria
0
120
Member Avatar for jpgonc

Hello everyone. This is my first post at daniweb and I hope I can contribute to ellucidate doubts and problems and everybody here could help me out to bail out my "perverse" errors. I am making a website and I am trying to load info from a .XML file into …

Member Avatar for Gerbiler
0
82
Member Avatar for TheBrenda

What to create XPath(s) that I can can use in a FOR loop to retrieve each of the <app> and <coapp> fname & mname. Want my result to be "1 - Danny L", "2 - Wendy R", "3 - Brenda", "4 - Tim G". I have played with this XPath …

Member Avatar for iceandrews
0
334
Member Avatar for niki_97

Hi all, I've been trying to use a lookup table in order to find a text prompt according to the key(@name) that is retrieved from the source xml. Here follows snippets of my xml and xsl. It all looks to be correct, but it's not displaying the prompt text... I …

Member Avatar for iceandrews
0
705
Member Avatar for mementomori

Hi all I'm new to JMS, im setting up a pilot project, and I'm making use of this tutorial - [url]http://javadude.wordpress.com/2009/01/03/tutorial-starting-with-glassfish-and-jms/[/url] The tutorial is for Glassfish version 2 and JEE version 5, but im using Glassfish version 3, and JEE version 6 now when i try to deploy the project …

Member Avatar for ~s.o.s~
0
286
Member Avatar for zeeshan_kust

Hi all i have an xml file e.g [CODE]<?xml version="1.0"?> <recipes> <recipe> <rec_id>14</rec_id> <name>Spaghetti with Crab and Arugula</name> <overview>http://www</overview><time>2010-11-11 14:35:11</time> <image>localhost/pics/SpaghettiWithCrabAndArugula.jpg</image> <instructions> <instruction> <instruction_id>14</instruction_id> <instruction_text>Cook spaghetti according to directions on package. Drain and set aside.</instruction_text> </instruction> <instruction> <instruction_id>15</instruction_id> <instruction_text>In a large saucepan, heat olive oil. Add garlic and chili and …

Member Avatar for Stefano Mtangoo
0
248
Member Avatar for mini programmer

Hi to all . I write the JS code : [CODE]<?xml version = "1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml"> <head> <title>TemperaturE</title> <script type = "text/javascript"> function temperature() { var temperatureValue = myForm.TemperatureField.value; if ( temperatureValue < 20) {document.body.style.backgroundColor = "Blue";} if (temperatureValue <40) {document.body.style.backgroundColor …

Member Avatar for mini programmer
0
113
Member Avatar for icarium

O.K. I've been agonizing over this for some time now, in this website i'm building, every registered user is gonna have some data that he can review add update delete. what would be the best way to store this data? in sql?, so that we have this one huge table …

Member Avatar for mstrans
0
415
Member Avatar for ceyesuma

Hello. I going to write fames.xml with my app. I need to know the best way to handle adding a block of XML but not at the end because I need to have the root element at the end. Any ideas. 1.never end it but when I use it add …

Member Avatar for ceyesuma
0
105
Member Avatar for ceyesuma

Hello. Can anyone bring me up to speed to use XML to manage adding and removing tabs from a JTabbedPane? I am adding tabs and I Would like some code or links that could show me how to serialize any changes I make to a JTabbedPane. Thanks

Member Avatar for ceyesuma
0
138
Member Avatar for nssltd

Hi During my Web browser program i have got a bookmarks bar running but when ever i add a bookmark to it the name is the URL, which is bad if you are adding a Google search page. When i try and add document title into the equation apparently i …

Member Avatar for nssltd
0
143
Member Avatar for trpsjt2008

My Problem is Text is not wrapping when it at the end of the line it break through the border of the div [B]My CSS:[/B] [CODE] html,body { margin:0; padding:0; height:100%; background:gray; font-family:arial,sans-serif; font-size:small; color:#666; } h1 { font:1.5em georgia,serif; margin:0.5em 0; } h2 { font:1.25em georgia,serif; margin:0 0 0.5em; …

Member Avatar for Kraai
0
137
Member Avatar for anupam.j2ee

Hello Everybody, I am a beginner, I am got stuck with following error at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1089) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) …

0
100
Member Avatar for Waldek

Hi All, I have a problem with a datagridview (7 columns) of which last 2 columns are combo boxes. The datagrid view was set in design view with column names same as a table called OccRecStaff but without a datasource. Although the datagrid view works perfectly for the first 5 …

Member Avatar for Waldek
0
162
Member Avatar for furianera

Hi everyone, i'm following this guide [url]http://code.google.com/intl/it-IT/apis/maps/articles/phpsqlajax.html[/url] to parsing MySql data to google maps. Every step until creating XML file are good, the problem i found was when i use this code (edited with my variable) [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" …

Member Avatar for hielo
0
164
Member Avatar for srdva59

hi, i use ireport to creat my report, i use the PHPJasperXML to load into a pdf. i need to know is any one know a alternative because this class don“t work with many functions that we have in the ireport. thanks a lot for your help :)

Member Avatar for sudeepjd
0
51
Member Avatar for tomccabe

I have an XML file like such: [CODE]<spice> <sections> <contact></contact> <products></products> <people></people> <homes></homes> <harvest></harvest> <contactCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </contactCopy> <homesCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and <i>other</i> markup.]]></banners> </homesCopy> <productsCopy> <banners><![CDATA[Lots of <u>text</u> with tons of <a href="#">links</a> and …

Member Avatar for hielo
0
318
Member Avatar for himmat.m4

I hav done Ajax code for dynamically select destination city according to user selected source city. My issue is this code work properly on my pc but whenever copied on other pc its not working. I can't understand so please help me. Ajax code is [CODE] <script type="text/javascript"> //window.onload="hideReturn()" function …

Member Avatar for hielo
0
140
Member Avatar for 101domain

I have seen lots of websites that use Google Snippets to attract the users. What is the correct way to use them and in which part of website these are applied?

Member Avatar for maneetpuri
0
217
Member Avatar for sri.k

Hi this is sri and i am new to java.Here is a xml file. My task is to parse all the xml elements in java without using any parser like dom,sax. So pls help me[U] how to parse xml elements without parsers[/U].I have to get same out put as when …

Member Avatar for sri.k
0
200
Member Avatar for eat@moes

Hi, I am pretty new to HTML and brand new to PHP. I am trying to put together a simple internal website on a Linux box to keep track of some inventory. I would like to be able to click a link in the sidebar and have it display that …

Member Avatar for eat@moes
0
120
Member Avatar for achava

This one ought to be extremely easy for experienced xslt-ers. I have an html file, and in it are things like <div class="ghoul"></div> <div class="vampire></div> and so on. In my stylesheet, I have different things to do with the div's depending on the class. So I have <xsl:template match="div"> <xsl:choose> …

Member Avatar for achava
0
542
Member Avatar for Kingcoder210

I have created my program there in vb.net(visual studio 2008). I have used crystal report to show reports. However after creating setup file by advance installer I have tried to install it there in my client`s pc. Everything is working but crystal reports are not working. When I am trying …

Member Avatar for Naveed_786
0
475

The End.