6,049 Topics

Member Avatar for
Member Avatar for metalla_nz

Hi everyone. Here is my first app, [url]http://code.google.com/p/snippet/[/url] Its a code snippet management program. Would love for people to check it out, offer any suggestions etc. and see if you can break it. Each language is controlled by an XML file in the languages folder, see the included c Sharp.xml …

Member Avatar for metalla_nz
0
78
Member Avatar for jake88

Hello, I've parsed, read and edited an xml file. But when I write the output file I get a mashed up xml output. I would like to know if there is anyway to pretty print and output .xml file, like the DOMPrint example does on the cmd prmpt. Thanks

Member Avatar for jake88
0
217
Member Avatar for jedimatt

Hello, How can i produce the following output from a query: <group1> <value="100"> <-- This value is in a table <value=""> <--The null ones are not in a table <value=""> <value=""> <group2> <value=""> <value="230"> <value=""> <value=""> <group3> <value=""> <value=""> <value="154"> <value=""> <group4> <value=""> <value=""> <value=""> <value="300"> We always no how …

Member Avatar for arrgh
0
198
Member Avatar for stefan_nieuwinc

I am building an Ajax-application that functions as a 'formserver'. A php-script is generating HTML-code for a form that is packed in XML that is sent to the browser via an XHTML-request. There a Javascript-script makes the HTML-code part of the document tree. I have problems with inputs of the …

0
46
Member Avatar for userliz

Hi, my name is Liz, I'm a freelance web designer and front end developer in California. I joined this community specifically so I could access a tutorial on building an xml flash menu, but I'm sure I'll find future needs for this community and maybe be able to answer some …

0
9
Member Avatar for sureshchinta

I have the following xml file and wanted to generate another xml file. While using the xml:element to create elements on the fly, the xslt debugger is throwing an error saying expected Qname. How can I get away with this. xsl code: [code] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output …

Member Avatar for sureshchinta
0
242
Member Avatar for ahihihi...

[URL="http:///www.personality100.com/page/registration/userreg.xml?sessionid=sid20090129150949634"]personality test[/URL]

Member Avatar for vicio
0
183
Member Avatar for superchris

Hi! My name is Chris, I'm new here :D I'm 20, from the UK. I'm interested in web development, and I have a pretty good grip on web design, HTML/XHTML, CSS, PHP, and a not-quite-so-good grip on Javascript (I have also used Mootools and JQuery), MySQL, and Flash Actionscript. I …

Member Avatar for jbennet
0
90
Member Avatar for lahiru17

I am new to java. im trying to create a report from a table called users, in the database called userDatabase. I dnt know how to connect and get the required output! If u can please give a an example coding that can be used to connect this with my …

Member Avatar for lahiru17
0
93
Member Avatar for alternat1

Hi, I am trying to get a count of the number of times the word "Development" appears in the column - this is a multi - choice column which means the word "Development" can appear along with other words. When I do the below, <xsl:variable name="Development" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Project_x0020_Type) = 'Development'])" /> …

Member Avatar for fpmurphy
0
93
Member Avatar for pushparaju

Hi Guys, How can I convert XPath without namespace and prefix to the XPath with namespace and prefix. For Eg: I have a XML file like this <?xml version="1.0" encoding="UTF-8"?> <ns0:mt_test xmlns:ns0="http://hvpar"> <RECORD1> <FIELD1>1</FIELD1> <FIELD2>2</FIELD2> </RECORD1> </ns0:mt_test> and I need to write XPath Expression to check whether FIELD1 contains value …

Member Avatar for fpmurphy
0
94
Member Avatar for love_dude1984

hello frendz.. Well, im a beginner in Asp.Net.. im using a win vista home premium & also installed IIS,Visual studio 05. I created a new web site using a Location as HTTP. my prob is whenever i try to run the website, it gives me the error shown in the …

Member Avatar for love_dude1984
0
118
Member Avatar for Gizmo89

Hello Everyone, At the moment i'm look for some software that will help me document my code using xml comments and the integrate these help files in to VS 2008. I've had a certain degree of success with Doc-O-Matic which seems to work well, but there it one small catch, …

Member Avatar for Gizmo89
0
77
Member Avatar for MrMark

G'day I'm currently using socketserver to build a simple XMLSocket (an XML based protocol used for communication between flash and the outside world) server. I've got flash establishing a connection, sending a request and my python server responding. However at this point socketserver terminates the connection. Which is bad, since …

0
45
Member Avatar for aneeshmm

i use the following code to write sql data to xml file. [code]SqlDataAdapter ad = new SqlDataAdapter("SELECT name AS [@label], salary AS [@value] FROM Employee FOR XML PATH('set'),ROOT('chart')", cnn); cnn.Close(); DataSet ds = new DataSet("chart"); ad.Fill(ds,"set"); XmlDataDocument doc = new XmlDataDocument(ds); doc.Save(Server.MapPath(Request.ApplicationPath)+"\\t.xml");[/code] i get the file as [code=xml]<chart> <set> <xml> …

0
42
Member Avatar for winky

Hey everyone, relatively new to C#, and completely new to the C# forums. Just have a quick question.... I'm making a web service oriented browser, and am trying to use a service that updates a 5-day forecast. Anyways... I am wondering why my code below does not work: [code] groupBoxes …

Member Avatar for LizR
0
228
Member Avatar for Andyyy

Hello Developers, [code] <p class="abc-srch-Metadata"><span class="abc-srch-URL"><a href="http://www.abc.ac.uk/pub/xyz.aspx?e=20" id="CSR_U_2" title="http://www.abclondon.ac.uk/pub/xyz.aspx?e=20" dir="ltr">http://www.abclondon.ac.uk/pub/xyz.aspx?e=20</a></span> - 13KB </p><span class="abc-srch-Icon"><a href="http://www.abclondon.ac.uk/pub/pqr.aspx" id="CSR_IMG_3" title="http://www.abclondon.ac.uk/pub/pqr.aspx"><img align="absmiddle" src="/_layouts/images/html16.gif" border="0" alt="File with extension: aspx"></a></span><span class="abc-srch-Title"><a href="http://www.abclondon.ac.uk/pub/xyz.aspx" title="http://www.abclondon.ac.uk/pub/xyz.aspx">ABC Publications Listing </a><br></span><div class="abc-srch-Description">Alcohol and the <b>lime</b> in perspective [/code] Can any one help me out with the xpath for retreiving title "ABC …

Member Avatar for mlohokare
0
151
Member Avatar for jake88

I've parsed an XML and now I'm trying to write into some elements that are text nodes. What is the best way to go about writing into these text nodes? Ex. <tag>insert texty text here </tag>

0
63
Member Avatar for seebharath

How do i read an xml file with unmanaged c++?? is there any built in classes with VS 6.0 i.e with unmanaged code.. Please help..

Member Avatar for jake88
0
114
Member Avatar for shers

Hi, I have done some code to display a form with a treeview. The initial folder in the treeview is given in the Project Properties Settings. I did this with the help of some brilliants here in this site like LizR. [URL="http://www.daniweb.com/forums/showthread.php?t=159402&highlight=file+path+in+xml"]http://www.daniweb.com/forums/showthread.php?t=159402&highlight=file+path+in+xml[/URL] My intention is to allow the client or …

Member Avatar for shers
0
211
Member Avatar for bookworm619

I need help with validing the xhtml code from [url]http://validator.w3.org/[/url] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>:.Favorite Sites.:</title> </head> <body style="background-color: black; background-image: url(images/bluebackground.jpg)"> <h1 style="color: white; text-align: center">Favorite Sites</h1> <p style="text-align: center; color: white"> <a href="#social">Social Utility</a> …

Member Avatar for DeViAnT\gAmEr
0
181
Member Avatar for Andyyy

Hi all, My first post here and looking forward to learn a lot from other experienced developers in daniweb. Is there any way i can copy a image from the html web page and then change its dimmension to thumbnail and place it with a search result. For instance, you …

Member Avatar for Andyyy
0
84
Member Avatar for adam291086

I am trying to construct a class and call upon some functions within that class, but nothing is returned, somehting should definitely be returned [CODE] #!/usr/bin/python import cElementTree as ET import urllib2 import MySQLdb print "Content-type: text/html\n" class xml: @staticmethod def find_text(element): if element.text: yield element for subelement in element: …

Member Avatar for adam291086
0
172
Member Avatar for DoubleSh0t

My friend's PC is infected with some kind of trojan that is spamming out AIM messages to users on her buddy list - but I can't seem to find any trace of Virtumonde on her system. I'll be running other utilities this evening, but I wanted to post the Malwarebytes …

Member Avatar for DoubleSh0t
0
176
Member Avatar for bullockpasha

I created a courses.xml file and I want to find the answers for following queries.I am new to xml so I want to know how I can do it.I want to use Xpath or Xquery. Here is the queries i want to find: 1-How can I find find the TA …

Member Avatar for bullockpasha
0
111
Member Avatar for suprakash444

Hi, I am trying to transform an XML string to HTML page using xslt. But I am getting the following exception : The stylesheet doesn't contain a document element. The stylesheet may be empty, or it may not be a well-formed XML document. My code is as below : Test.html …

Member Avatar for fpmurphy
0
155
Member Avatar for luckyads

Can I make a dynamic XMl which looks like this? [code=xml]<?xml version="1.0" standalone="yes"?> <CMS> <Episode1> <partOne>1</partOne> <partTwo>1</partTwo> </Episode1> <Episode2> <partOne>0</partOne> <partTwo>0</partTwo> </Episode2> <Episode3> <partOne>0</partOne> <partTwo>0</partTwo> </Episode3> </CMS>[/code] If yes please guide as I am using Datatable as node. Thanks, Aditi

0
60
Member Avatar for tyop

I'm having a problem with newline characters and nl2br(), Basically I have a form with a textarea, it reads from a XML file and puts the contents into the text area. Then changes can be made to the text, button clicked, XML updated. Viewing the XML after it gets updated …

Member Avatar for mschroeder
0
118
Member Avatar for viiids

I am trying to send a request to a server and expecting to get back XML script. Will it be saved in response text only ? if yes its somehow not working [code] <html> <head> </head> <body> <script type = "text/javascript"> var name=""; function note() { name=first.query.value; } document.write(name); function …

0
43
Member Avatar for Nicklorion

Hi peeps i've got an problem with space and tabs in a text file. i've build an app that reads a file and creates an array out of every line. this works just fine but then I noticed that the array is cut of after every space and/or tabular. it …

Member Avatar for Nicklorion
0
143
Member Avatar for luckyads

Hi Folks, I have this XML which looks like this I have to pull this XML on the datagrid and should be able to insert, update and delete data from the datagrid. [code=xml]<?xml version="1.0" encoding="utf-8"?> <CMS> <episodes> <episode eNumber="1" ptOne="1" ptTwo="1" /> <episode eNumber="2" ptOne="1" ptTwo="0" /> <episode eNumber="3" ptOne="1" …

0
55
Member Avatar for adam291086

I have this script and it was working a couple of weeks ago. Now when i run it nothing is printed out other than white space. WHY??? [CODE]#!/usr/bin/env python from xml.etree import ElementTree as ET import os import urllib def find_text(element): if element.text is None: for subelement in element: for …

Member Avatar for adam291086
0
106
Member Avatar for jake88

Hey, I have a template xml file that i am passing a pointer to into a function. In that function i need to read and write into the template and pass it as the output file. What is the best way to go about reading and writing in the template? …

Member Avatar for jake88
0
289
Member Avatar for MidiMagic

I posted a question about this several months ago, but the search function is so bad that I can't find it again. I again have an image that is being overlapped by a table below it in Firefox. This happens whenever the following is true: - The image file is …

Member Avatar for kanaku
0
289
Member Avatar for probedb

Hi all, I've just joined but have been coding a while longer :) I'm having trouble migrating a webapp that works fine under Tomcat 5.0.28 to 5.5. I've done several others without any problem. This one, however uses SingleSignOn. I can't see anything wrong with my setup (config below) from …

0
65
Member Avatar for Nicklorion

[QUOTE=abrou;542794]save the file as a .txt file or a .CSV (comma separated value) file. I disagree that this is the easiest though, but that's a matter of opinion.[/QUOTE] What would you do? I'm building a application that evaluates data comming out of an excel sheet. there is no other way …

0
66
Member Avatar for isotope

Hi everybody, I know I'm still a noob with php, but I feel so sad I couldn't manage such a simple (at least apparently) issue. Here's what I want to achieve, in general: - I'm reading XML files via simple_xml - while reading I would populate an array with some …

Member Avatar for isotope
0
145
Member Avatar for Barryz

I have used a number of tools to clean my PC but each time the problem returns. In order to install MalwareBytes I had to rename the install file and rename the .exe file. Otherwise neither would start. Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 1:45:57 PM, on …

Member Avatar for crunchie
0
163
Member Avatar for ronjustincase

is there any tool which will generate XSLT for converting from XML to fixed length Text format.I mean is there any IDE(which work on MAC) which will let us drag and drop the contents of XML and set some properties and give us the XSLT code. iam not lazy to …

Member Avatar for fpmurphy
0
115
Member Avatar for emiola

I have been finding it difficult to understand the error statement I recieved from my php file using the code below. I keep on getting this result: [COLOR="Red"]Parse error: syntax error, unexpected T_STRING, expecting '(' in /home/username/public_html/application_form.php on line 28[/COLOR] [code]<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for mschroeder
0
138
Member Avatar for isotope

Hi everybody, I'm trying to read a Microsoft Word file, exported as microsoft xml, with PHP and simple_xml but I can't figure out how to do it exactly. Only things I managed to do are: [CODE] $tempXml = simplexml_load_file(file.xml); $xml = $tempXml->asXML(); print $xml; [/CODE] If I print before the …

Member Avatar for isotope
0
174
Member Avatar for ub_old

Hi all. I have string contains xml content. I use dom xml parser. Below is my parse code. DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document doc=builder.parse(new InputSource(new StringReader(xmlText))); It works but very slow. too slow. If i write xml to file and parse from file like builder.parse(filePath) then …

Member Avatar for sillyboy
0
135
Member Avatar for assgar

Sticky note refresh not working Hello I am trying to create a sticky form. I would like to use javascript to refresh the page using drop down selection to trigger the refresh. The problem is I cannot get it to work. See test3. I tried two other example that worked …

Member Avatar for assgar
0
140
Member Avatar for freshfitz

I am pulling info from zillow and google maps my problem is if a person enters their streert number with out the street I get an error cause google does not have the coordinates in the xml. How can i first search the xml for coordinates my code [CODE]<CFOUTPUT> <cfset …

0
47
Member Avatar for dourvas

hallo, i ve created a dynamic form. A user can select The number of fields he d like to fill in (test creation) [code=php]echo '<form method="post" action="createxml.php">'; for ($i =1; $i <=$number; $i+=1){ // THE $NUMBER CONTAINS //VALUE -ok- echo '<fieldset width ="20%">'; echo '<legend class = "login">WRITE A QUESTION</legend>'; …

Member Avatar for Yayo_SK
0
167
Member Avatar for pavan.xsl

Hi Friends, i m using this format to convert amount to currency <xsl:value-of select='format-number(current(), "#,##0.00")' /> 100,000.00 -i m getting the out put like this but i need to get1,00,000.00 can any one help me out on this issue please .... Thanks in Advance pavan

Member Avatar for fpmurphy
0
69
Member Avatar for learningxslt

Hi All, I have a stylesheet with a identity transformation template and an element specific template. However, when I ran the below stlyesheet over a xml file, only identity transformation is invoked. My element specific template isn't. There is a target namespace for the schema that defines the elements. I …

Member Avatar for fpmurphy
0
139
Member Avatar for learningxslt

Hi All, I have a set of elements to be added to an existing XML document. I would like to write a XSLT tranformation for this. My requirement is that I need to check whether the element is already there in the XML file. Only if its non existent, I …

Member Avatar for fpmurphy
0
5K
Member Avatar for krunched

Well I posted this problem on a forum with some people I game with and they told me here would be my best chance to figure out how to fix my problem. Usually when im gaming but not always I will get a bluescreen with the words "BUG_DRIVERCODE_USB" at the …

Member Avatar for Suspishio
0
183
Member Avatar for luckyads

Hi All! I want to pull XML with attributes in a datarid with 3 columns viz. "Webisode 1" "Part A" and "Part B". How can I do it? It's urgent! The XML is as follows : [code=XML] <?xml version="1.0" encoding="utf-8" ?> <Webisodes> <webisode name="Webisode 1" PartA ="1" PartB="1"</webisode> <webisode name="Webisode …

0
45

The End.