6,049 Topics

Member Avatar for
Member Avatar for joeyfm

So I am working on a java project for a college asssignment (im a student ...) and dont know what I have done... but my sub menu (when create, delete find or update is clicked) wont display. what should happen is create is clicked and the sub menu displays with …

0
68
Member Avatar for lit108

I have a script that is parsing rss feeds and the xml to a webpage, this is part of a blog aggregator system. However there are areas throughout the web system where I would like to only display a set number of posts, 10 for example I have tried a …

Member Avatar for lit108
0
129
Member Avatar for denizen08

I have been trying to mimic GoogleReader's Json output, particularly the subscription listing. I started out creating classes for deserialization but I don't have a full grasp of the concepts. It crashes when I really try to consume the Json file, but when I generate my own serialized file it …

Member Avatar for denizen08
0
111
Member Avatar for standa333

Hello, i´m beginer in XSL and i need help. In attachment, is source xml and my xsl. I have problem with filtering element date. Because, when i run transform result is duplicate. Can you help me? thx Stan

Member Avatar for standa333
0
134
Member Avatar for bhanu1607

Hi, I need to concatenate 3 strings to make URL dynamically. [CODE] <xsl:variable name="userurl"> <xsl:choose> <xsl:when test="currentUser/first != ''"> <xsl:value-of select="currentUser/first"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="currentUser/userid"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="url"> <xsl:value-of select="concat('http://localhost:8080/xsl-portal/site/~',$userurl,'/page/487d2e0a-ca50-440b-a8c2-e98a2cee632c')"/> </xsl:variable> <xsl:text>|</xsl:text> <a href="{$url}" target="_blank"> <xsl:text>Search</xsl:text> </a> [/CODE] Here i am not able to get the link, The …

Member Avatar for mrame
1
95
Member Avatar for Srinivasrajan

How to find errors in a given xml file, for e.g., in the following xml file.... <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book category="cooking"> <title lang="en">Everyday Italian</title> <author>Giada De Laurentiis</author> <year>2005</year> <price>30.00</price> </book> <book category="children"> <title lang="en">Harry Potter</title> <author>J K. Rowling</author> <year>2005</year> <price>29.99</price> </book> <book category="web"> <title lang="en">XQuery Kick Start</title> <author>James McGovern</author> …

Member Avatar for mrame
1
164
Member Avatar for suther

I need one help.. I have faced problem, while sending XML request to Message Queue. Message has posted to Message Queue(body), but with dot between characters.eg: (T.e.s.t.M.e.s.s.a.g.e) Is there any message format to send plain text? sub sendInbox() { my $Body = shift; #my $Queue = "DIRECT=OS:tandbpc137\\private\$\\testqueue"; my $Queue = …

0
71
Member Avatar for Hakoo

Hello, I have installed DB2 Everyplace, it installed successfully but not able to configure. Getting Error while try to configure it. The error is like this : [CODE] [exec] UPDATE DATABASE CONFIGURATION FOR DSYMSGDB USING MAXLOCKS 50 [exec] SQL1032N No start database manager command was issued. SQLSTATE=57019 [exec] SQL1032N No …

0
132
Member Avatar for maofree

Hi to all I use a cms and I want to modify an its module. I need to pass a variable to a xml file (this xml is necessary for a flash slideshow), like the value of a folder like '/example' If I create a system variable in php and …

Member Avatar for maofree
0
338
Member Avatar for samarinder

I am displaying the results by iterating the list in div tag say "results" in my case.For refining of search i am using ajax call. But when i am getting response back from this below snippet [CODE] document.getElementById("results").innerHTML=xmlHttp.responseText;[/CODE] . Its showing me content of JSP in which i am refining …

0
93
Member Avatar for bluetoot

Hello good ITz This is my last resort,I've checked threads but saw no answer to my question,I blieve you good people will help me out This are my existing forms, i want to add a multiple file upload system to it for each user that signs up as shown below …

Member Avatar for smantscheff
-1
178
Member Avatar for triumphost

Note: I program in C++ Not C#. In visual studio 2010, Where u press release or debug, next to it has a box with win32.. How can I change it to x86.. I tried pressing New and edit and stuff and configuration manager but it doesnt have the x86 choice... …

Member Avatar for Ancient Dragon
0
384
Member Avatar for bluetoot

Hello good ITz This is my last resort,I've checked threads but saw no answer to my question,I blieve you good people will help me out This are my existing forms, i want to add a multiple file upload system to it for each user that signs up as shown below …

0
62
Member Avatar for achava

I am trying to extract the important text, and only the important text from an RSS feed. I have determimed that all of the items in the feed have the important text underneath a tag that starts <div id="important text"> ... In some of the files the important text is …

Member Avatar for achava
0
159
Member Avatar for tombliboo

Hi Please help this is driving me insane, I've simplified my XML and stylesheet below for explaining what I'm trying to achieve. My stylesheet is successfully generating a HTML file for each of my categories using title i.e. This Category.html That Category.html It also generates a simple index.html at the …

Member Avatar for tombliboo
0
174
Member Avatar for SuPrAiCeR69

How can I perform the following with this API? Form is setup in PHP for registered user to enter domain name On submit.. Check if domain is available > - If NO > output to XML > run the loop again in 5 minutes - If YES > output to …

Member Avatar for HemantPHP
0
200
Member Avatar for Gobytza

Hi,I am new in c# development and I have some problems in my smart device application.I have 3 forms: Orders, Add_orders, Add_client. Orders is the mainform. What I want is that when I click 'Save' on Add_orders form, to navigate back to Orders form but not to close the Add_orders …

Member Avatar for lolafuertes
0
130
Member Avatar for Ignatius88

[CODE] <script> var xhr = null; function createRequest() { if(window.ActiveXObject) { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } else { xhr = new XMLHttpRequest(); } } function sendRequest(url, param, callback, method) { createRequest(); var httpMethod = (method!='POST' && method!='post') ? 'GET' : 'POST'; var httpParam = (param==null || param=='') ? null : …

0
74
Member Avatar for paramveer

HEllo Everybody..... feels nice to be part of daniweb..community..joined only today...... i am quite ignorant of XML.....but now i have to develop a c/c++ program which reads a XML file......stored on LAN.....retreives the content of the file...and do necesarry manipulation with the retreived data......actually the xml file contains the name …

Member Avatar for giskumar
0
3K
Member Avatar for bluesheeva

Hi, I created a new web service and a client that request for this web service by using SOAP message. Before consuming the web service, I created a class that implements SOAPHandler to intercept the soap message and authenticate the client. I would like to redirect the page to registration …

Member Avatar for Daisy_S
0
150
Member Avatar for mad_pierrot

Hello everyone, I'm trying to create a PHP cURL script that does two main things. 1) Login to website (works) 2) Export table as CSV (doesn't work) To export the table as a CSV, two things need to be selected. Which table I want to export, in this case customers, …

0
138
Member Avatar for myrto1412

Sorry if the question is naive, I am new at this. I am trying to transform an xml document using xslt, with saxon. When I try to run my code I get this error: SERE0014: Illegal HTML character: decimal 153 After searching for a bit I discovered that the error …

Member Avatar for rduke15
0
490
Member Avatar for bhartiweb

As we know off-page work always does great to enhance any website traffic. But before starting off-page we must have complete all on-page changes and the visitor or crawler/spider can understand our sites quality easily. Below are some check list we must do before starting off-page work:- 1. Title Update …

Member Avatar for cizzlingeast
0
170
Member Avatar for gakusya

Xampp is telling me that apache and php are up and running properly, but viewing html pages with <?php ?> tags in the apache doc root folder is not doing anything with the php code, i can see the php code when viewing source via firefox. I've experimented with every …

Member Avatar for nicksontinko
0
577
Member Avatar for kdesu

Hi, My issue with xml is, I have an xml like <a><b><c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> <d3 value="z" weight="30"/> </c></b></a> I need to conver this xml to, <a><b> <c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> </c> <d3 value="z" weight="30"/> </b> </a> I need move specific "d3" element (with all attributes) …

Member Avatar for kdesu
0
2K
Member Avatar for Bizarre

Hello need help and I saw this forum and was hoping someone could. I keep getting reidirected to different websites so I google that and found a thread on this site that helped but I am a novice and don't know exactly how to fix my problem. Another problem I …

Member Avatar for Bizarre
0
601
Member Avatar for nenana

Hi, I have just started to learn php.I wrote a php code to list/add/edit/delete values of a mysql table which is already created and filled.I can print existing values in the table.However,when I want to delete one of them,the code doesn't work.I get errors for switch case.If you can give …

Member Avatar for nenana
0
109
Member Avatar for amit.hak50

I have this pdf search engine script [url]http://pdfsearchmachine.com[/url] and when you type "g" it give some suggestions ,my problem is that why I am getting some ? marks in search suggestions beloa is the code [CODE] <? $search = $_GET["search"]; $replace = " "; $with = "+"; $search = str_replace($replace, …

Member Avatar for diafol
0
168
Member Avatar for yaakhi

hi there web masters, i have a simple script in php which shows users online with their ip and browser can you please modify it to show country flag or name or both here is the code [code]<?php error_reporting(0); include("cnfg.php"); $ms=mysql_connect($host,$login,$pass) or exit; mysql_select_db($db) or exit; $res=mysql_query("Select * From `online` …

0
75
Member Avatar for changeco

I have the following code in my xsl file... [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy "©"> <!ENTITY reg "®"> <!ENTITY trade "™"> <!ENTITY mdash "—"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY pound "£"> <!ENTITY yen "¥"> <!ENTITY euro "€"> <!ENTITY amp "&"> ]> <xsl:stylesheet …

Member Avatar for changeco
0
380
Member Avatar for kained

Hi, I am trying to get a Javascript working in an XSL document and i can't seem to make it work for some reason. I have placed the following code within the head of my document. [CODE] <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function popup(mylink, windowname) { if (! window.focus)return true; var …

Member Avatar for kained
0
161
Member Avatar for charlybones

Hello all, I'm writing a small "robot" application that has to process a list of sequentially numbered MDB files. This has to be done between different executions, ie: today I process files 1,2 and 3. Tomorrow I might process 4 and 5. It's totally random, but sequential. My question is …

Member Avatar for charlybones
0
700
Member Avatar for Delrode

Hallo every body, i am a student in Germany and have problems abouhow to use crystal reports or how can I generated a Reports(.pdf) in VS2010. If I can get some solutions for my problems I'll be glad. I have to genarate Reports by using Crystal Reports under VS2010. This …

Member Avatar for kvprajapati
0
152
Member Avatar for Fasola

Could somebody give me a basic network and list how the OSI model was used, I would appreciated it???? I've studied on my own, in theory i know what it is, but I am clueless as to how I am suppose to apply it. This is what I know... Layer …

Member Avatar for smferoz
0
1K
Member Avatar for jintujacob

file transfer can be easily done with python xmlrpc. it is very simple and spans a very few lines of code.. :) pls [URL="http://1024bitez.blogspot.com/2011/02/simple-ftp-program-with-python-xmlrpc.html"]check this link to see how i done it...[/URL]

Member Avatar for TrustyTony
0
104
Member Avatar for Naggelos

Hi, stuck and haven't been able to find a solution. Problem is pretty simple, I'm importing XML content using Javascript in an HTML page. I managed to display the XML elements and positioned it correctly using a table. Now I wanted to style the fonts of each element extracted specifically. …

Member Avatar for Naggelos
0
118
Member Avatar for JD69

Is there a program where i can launch a website, click on a button or textfield and it will give me the getElementByID? I searched around for this and i have found nothing? Why doesn't this exist? I am writing a program that will enter information into a copiers web …

Member Avatar for codeorder
0
186
Member Avatar for somedude3488

Hello, I have been working on a php/xml/ajax chat program which requires no database for the last few days and was wondering if anyone could test it out for me. It has a few bugs that I would love to have someone help me fix (I am running out of …

Member Avatar for joeidee
3
901
Member Avatar for MasterGberry

I read something online about being able to make my patch run as an administrator by default by using XML code? How would i put this into my program? This patcher is going to be put into a larger source code of a client, and will just be called by …

Member Avatar for MasterGberry
0
61
Member Avatar for click_Apply

I am new to XSLT Please help, Cannot use XSLT 2.0 The group priority level lowest(Public-1) TO Highest (PRIVATE-3) Public-1 Public-2 Public-3 CONFID-1 CONFID-2 CONFID-3 PRIVATE-1 PRIVATE-2 PRIVATE-3 For example a user LDAP query gives a file <result> <DN>CN=Test User ID Priv-2,CN=Users,DC=Lab,DC=acme,DC=com</DN> <attribute-value name="memberOf">CN=CONFID-2,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> <attribute-value name="memberOf">CN=PRIVATE-2,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> <attribute-value name="memberOf">CN=Public-3,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> </result> The …

Member Avatar for click_Apply
0
413
Member Avatar for faust6785

studying with sessions college and when i loaded the page to my domain I got this error: Parse error: syntax error, unexpected T_STRING in /home/a8556423/public_html/adverstising.html on line 1 here is my code: (can anyone help please?) <?xml version="1.0" encoding="UTF-8"?> <!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" …

Member Avatar for shaya4207
0
167
Member Avatar for achava

Suppose you have an xml file that has a portion that looks like: <div id="California">The cat is in the house <p>The horse is also in the house</p> <div><a href="wwww.whatever.com" /><p>Another pigeon?</p></div> </div> Since the top div here is buried somewhere within the file, I am trying to isolate it with …

Member Avatar for achava
0
110
Member Avatar for Naggelos

Hi, I'm using JavaScript to parse the XML onto HTML. I was wondering if there is a way that I can limit the words output on a certain XML tag. For example, for the JavaScript to only display 50 letters (or characters) of the <content> tag in XML Thank you …

Member Avatar for iceandrews
0
55
Member Avatar for kardo

Hi, I'm about to develope a little application in C# where I need to save some data in an XML file. I'm viewing data from XML file in a DataGridView, but I would like to make changes and save it in the same XML file. I can't get it to …

Member Avatar for kardo
0
2K
Member Avatar for whitestream6

I am trying to serve up some PHP files as extension-less or as custom extensions (e.g. test.myfile1). This is my current .htaccess: [CODE]#AddHandler application/x-httpd-php .$ RewriteRule ^([^\.]+)$ $1 [T=application/x-httpd-php-source] [/CODE] Previously it was: [CODE] AddHandler application/x-httpd-php .$ [/CODE] Which is better, and how should I go about this? Thanks

Member Avatar for pritaeas
0
110
Member Avatar for javacelibate

I got the below exception when I deployed my application in tomcat 5.The same was working fine in tomcat 6 too. [code=text]java.lang.NoClassDefFoundError: javax/el/ELException java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Class.java:2395) java.lang.Class.getDeclaredMethods(Class.java:1763) java.beans.Introspector$1.run(Introspector.java:1265) [/code] As per the investigation I found.. The ELEvaluator.class of the provided jstl1.2.jar was not compatible with the jsp-api.jar of tomcat 5 …

0
73
Member Avatar for phouse512

Hello all, Today I received this as my error: Parse error: syntax error, unexpected T_STRING in /home/a8712935/public_html/admin_members.php on line 60 I've looked all over the internet but I can't find a solution to my problem. There is nothing wrong with that line, but I think it is a problem with …

Member Avatar for Shanti C
0
155
Member Avatar for ITemplate

Hi, Looking at this xml: [CODE]<root> <nodeA /> <nodeB /> </root>[/CODE] Is it then possible to set the value of nodeB when inside nodeA? For example: [CODE]<xsl:template match="nodeA"> <!-- Here do something like nodeB.Text = "hi" --> </<xsl:template>[/CODE] So that the output of matching nodeA could be (the thing to …

Member Avatar for ITemplate
0
113
Member Avatar for newprogrammer14

Hi guys I'm new to XSLT programming and the question I ask may appear very easy to you guys. Please help me out. This is the XML code : [CODE]<book id="12345"> <title>A<caps>New Voyage</caps>:Africa</title> <desc>abcdefgh ijklmnop</desc> </book> <book id="12346"> <title>A<caps>New Voyage</caps></title> <see id="12345">ANV</see> </book>[/CODE] I have to display the title and …

Member Avatar for iceandrews
0
207
Member Avatar for minamo99

Hello, I have a large XML i am recovering data from. However,i cant seem to get more then 2 parameters out,whatever i type. i tried the following things already(without succes) -Made a substring-between -Made an extra call to a template and clarified additional parameters -Changed the values of the xpath …

Member Avatar for Erwan Amoureux
0
145

The End.