6,049 Topics
![]() | |
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 … | |
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: … | |
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 … | |
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, … | |
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 … | |
[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 … | |
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 | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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 … | |
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 | |
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 … | |
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 | |
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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
[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 … | |
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: … | |
how can i extractthe value of a javascript variable and use it in a xml stylesheet?? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
![]() | 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 … ![]() |
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; … | |
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) … | |
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 … | |
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" … | |
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 :) | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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> … | |
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 … |
The End.