6,049 Topics
![]() | |
I have created a thread which have to do some xml parsing in its class. The class Inherits from System.Windows.Threading.DispatcherObject while its parsing i wanna get the dispatcher to add the items to a ObservableCollection(Of T) i will add my code here and describe the problem in the comments [CODE=vb] … | |
Hi, Please help me with some idea to create a xsl file to display tree view of any xml as html. Thanks..!!! | |
Hi Guys!! I am new to InfoPath, using 2003 just need a bit of help! I am using sql Server as backend, and I need to validate the form values in the backend, something like if already exists(userid, product) not be able to submit the form again, inorder to reduce … | |
Hi i have a program that transforms my xml files with the stylesheets i applied and saves them as html file. i also used cooktop to create my stylesheet as well as to see the result... my problem is, that when i transform it, i have a <hr />tag, the … | |
I have imported the Apache XML-RPC jar files, and got them working (has taken me all day to figure out how to get it working - so I'm kind of frustrated at the moment ;D) ... but that used the execute(..) method which requires two parameters ... there was no … | |
I am attempting to access an XML-RPC API method using a Java client. I'm fairly certain that the server is written in Python. The API is part of the wiki farm Wikidot.com API info: [url]http://www.wikidot.com/doc:api[/url] API method info: [url]http://www.wikidot.com/doc:api-methods[/url] Does anyone here know what the equivalent of this statement is … | |
Hi guys Wondering if someone could give me a hand with another problem I'm currently having. A little background first... I'm trying to pick up a daily report which is in XML format via a URL. I then need to parse that data and insert it into a MYSQL table. … | |
I can't get the update for MS XML Core Services 4.0 SP2 to install. I get an error about not being able to open the installation log file. Where is this file located, and what can I do about it? Thanks, Dave | |
I need to create a SOAP wrapper of the form [CODE=xml] <SOAP-ENV:Envelope xmnls=........><SOAP-ENV:Body></SOAP-ENV:Body></SOAP-ENV:Envelope> [/CODE] My C# code to do this is as follows [CODE=C#] XmlElement soapEnvelope = document.CreateElement("SOAPENV", "Envelope", "http://schemas.xmlsoap.org/soap/envelope"); XmlElement soapBody = document.CreateElement("SOAPENV", "Body", "http://schemas.xmlsoap.org/soap/envelope"); [/CODE] This works fine for the Envelope part but then adds a spurious xmnls … | |
Hi, I am new to regular expressions, I am having a problem regarding matching a specific keyword in certain condition. [CODE]string regexstring="\\bhtml\\b|[.]net\\b"; Regex rgx = new Regex(regexstring, RegexOptions.IgnoreCase); MatchCollection matcol = null; string st_data = "I am a .net developer, but also know about asp.net, vb.net ; I work on … | |
hello guys, I am trying to add the harvest plugin and do a checkout using that via cruisecontrol, this is how i have written the config.xml file <cruisecontrol> <project name="harvestTest" buildafterfailed="false"> <plugin name="Harvest" classname="net.sourceforge.cruisecontrol.sourcecontrols.AllFusionHarvest" /> <plugin name="harvestbootstrapper" classname="net.sourceforge.cruisecontrol.bootstrappers.AllFusionHarvestBootstrapper" /> <listeners> <currentbuildstatuslistener file="logs/harvestTest/status.txt"/> </listeners> <!-- Bootstrappers are run every time the … | |
Splitting data using xslt here my case I have structure like this <header> <F1> <F2> <F3> <item1> <F1> <F2> <F3> <item2> <F1> <F2> <F3> <item3> <F1> <F2> <F3> <item4> . . . . <item n> the target i want to create is in the first file <header> <F1> <F2> <F3> … | |
Hello, I want to create a sitemap for my website. Somehow i've generated sitemap with the help of free tool. But the problem is file in XML & i don't know how to implement it. Will it work just after uploading it on server or something else i've to do … | |
[CODE]using System; using System.Configuration; using System.Data; using System.Data.OleDb; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class Add : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String path = Server.MapPath("App_Data\\dnis2010.mdb"); … | |
hi to all, I written a web method ListTask() which returns array ob object of class TaskList which give me result in xml form I want to bind that result to table in asp.net 3.5 aspx page by calling that webMethod in jQuery ajax call. I have tried many ways … | |
[B]MYCODE:[/B] PVPolicy is my Object [code] String XmlizedString = null; MemoryStream memoryStream = new MemoryStream(); XmlSerializer xs = new XmlSerializer(pvPolicy.GetType()); XmlTextWriter xmlTextWriter = new XmlTextWriter(memoryStream, Encoding.UTF8); xs.Serialize(xmlTextWriter, pvPolicy); memoryStream = (MemoryStream)xmlTextWriter.BaseStream; XmlizedString = UTF8ByteArrayToString(memoryStream.ToArray());[/code] | |
Hello I have made a simple gui tic tac toe game using glade and python 2.6/ Now I want to change the text of the button when i click it. Does anyone know how to do this?? code: [CODE]#!/usr/bin/env python import gtk import gtk.glade import sys class iksoks: wTree = … | |
Hi, I'm new to programming and especially to Python. I have this xml file that has parts like this: <VECTOR_AVERAGE name="Density Correlations" nvalues="15625"> <SCALAR_AVERAGE indexvalue="( 1,2,0 ) -- ( 3,4,5)"> <COUNT>204160</COUNT> <MEAN method="jackknife">6.368e-05</MEAN> <ERROR converged="yes" method="jackknife">2.89e-05</ERROR> <VARIANCE method="simple">6.37e-05</VARIANCE> <AUTOCORR method="jackknife">0.843</AUTOCORR> I need to save MEAN and ERROR. I wrote the … | |
Hi, I'm working with an xml file in python.here is the coed that i have: [CODE] import sys from xml.dom.minidom import parse # Load XML into tree structure tree = parse(sys.stdin) #Find all VECTOR_AVERAGE nodes va_list = tree.getElementsByTagName('SIMULATION')[0].getElementsByTagName('AVERAGES')[0].getElementsByTagName('VECTOR_AVERAGE') #Find the 'Density Correlations' node in the list of VECTOR_AVERAGEs for va … | |
Hello. My mother-in-law is having an issue with her computer where anytime you go into a program, the keyboard and mouse will lock up and I can only do a hard reset (holding down the power button to turn off the computer and then turn it back on) to get … | |
I have a problem. I am reading some settings from external XML file with C#, and it contains escape character "\t". Problem is, when it returns the value it has a verbatim in front of it, like @"\t". How can i remove the verbatim sign from the string when it … | |
Look into this xml file: <xml> <head> <title>Something</title> </head> </xml> I need to store all the string from the tags into an array. So my string array is supposed to be [xml,head,title,/title,/head,/xml]. I've tried various methods and read up regular expressions tutorial for C#, but I can't get the string … | |
I didn't post this on that tutorial thread because people have had some questions that were unanswered over there and I'm afraid this question might get lost somewhere unless I do this... So basically I've successfully made an XML menu on flash using the mentioned tutorial on this site: [url]http://www.daniweb.com/tutorials/showthread.php?t=72820&highlight=xmlLoadMenu[/url] … ![]() | |
Hello all! I just wonder if it's posible to rewrite index.php, index.php?variable=some and the root to same rewrite in htaccess. If so how? Here's an example that don't work, but maybe you get the idea. [CODE]RewriteEngine On RewriteCond %{HTTP_HOST} !^myexample.com$ RewriteRule (.*) http://myexample.com/$1 [R=301,L] RewriteRule ^another-variable-in-url$ /index.php [L] RewriteRule ^another-variable-in-url$ … | |
I'm creating XML parser using C#. I need to display all exceptions on the windows form that I am using. However, I can only get one exception at a time. for example, I'm parsing: test.xml <xml> <head> <title>Book</title> <head> <xml> If you notice there are 2 unclosed tags for head … | |
Hi, I am trying to get all the data from an xml file. I need to get all the attribute values and all the element values (values between tags). Does anyone have any ideas on what is the best XML parser to use? | |
Hi All, I am a newbie in python. I have a SoapUI XML which looks something like this <soapui> <testSuite name=> <testCase> <testStep> <config resourcePath ="testpath"></config> </testStep> </testCase> </testSuite> </soapui> Now from python, I have to first validate that resourcePath is equal to "testpath". If yes change it's value to … | |
I'm trying to add this XML element: [CODE]<cp:prop name="given_name" value="UK" />[/CODE] It has to be formatted exactly as above. I've tried this but it formats differently: [CODE]Dim cp = XNamespace.Get("cp") Dim newElement As New XElement(cp + "prop", New XAttribute("name", "given_name"), New XAttribute("value", givenName)))[/CODE] It formats like this: [CODE]<prop name="given_name" value="UK" … | |
Hi I need to read a xml file once placed in a directory and write it to another file to retrieve the contents in the file. This needs to be done automatically. I know c++ and how to read,write, and open files with c++. Can this be done using c++ … | |
hi, i had done validation in my program...it is validating and entering the values also...the problem is if i m giving the same value which is in XML file...it is taking not showing any error...can any one check my code and suggest me the solution..2day evening is submission of my … | |
Hi all, Thanks for taking the time to read my post. I've got a complex SQL query that outputs categories, their related categories, and product name(s) and image(s) related to the main category. To resolve cross-join effects, i was advised to use group_concat on product information at the end of … | |
hi all i want to create an xml file from an array i've been googling but can't find the right one the closest one that i get is in [URL="http://www.higherpass.com/java/Tutorials/Building-Xml-With-Java-And-Dom/"]http://www.higherpass.com/java/Tutorials/Building-Xml-With-Java-And-Dom/[/URL] but it doesn't create an xml file like i wanted to i want to print and create it like c:\xml … | |
Hi, I have the code as in the following: [CODE] <?php $name= "Test"; $phone= "123-456-7890"; $email = "myemail@mymail.com"; $comments = "Test Only"; $string = "<message>\n<name>" . $name . "</name>\n<phone>" . $phone . "</phone>\n<email>". $email . "</email>\n<comments>" . $comments . "</comments>\n</message>"; //If file exists. append, otherwise create $file = "messages.xml"; $fh … | |
I made a program to search something on google and return how many results it has and it works perfectly as long as the sending code is not inside a function. If I put it in a function the reply from google isn't seen as a http packet(even though it … | |
Hey guys, I'm having a "great" pleasure of parsing XML in my ASP page, except I can't seem to figure it out what I'm doing wrong. I have tried a bunch of stuff and can't seem to read a simple xml doc. here is what my code looks like... [CODE]' … | |
hello all, i just joined this forum. i actually joined because i am having a serious problem with my program which i believe u can help me solve. i am designing a web based application that authenticates user login using MySql as database, java as programming language and NetBeans 6.5 … | |
I need some help with this one. I would like the results of this script shown in table format, or with multiple columns. This script basically takes the results of a web form and search's my linkshare affiliates for any products matching the search criteria. Whatever is found is displayed … | |
I've been trying to figure this out for a week without luck. My program needs to examine two XML docs for missing contacts, when it finds a missing contact it then needs to merge the information across. I've got the examination part working with this code: [CODE] Private Sub findAllDisplayNameMaster(ByVal … | |
Hi I seriously need help. I have to create a web app using asp.net and c# that sends data that the user put in and then my web app sends data to another company's webservice, process the data and then my web app should display it to the user. What … | |
Anyway I can turn off the 500 error? I have a recursive function that is being set to be called a few hundred times if possible, but before that can happen and proceed with the rest of the code it calls a 500 error. (For those interested its a dynamic … ![]() | |
Hi I recently developed a reportingApp which after downloading xml report from third party, converts it into csv format. This 3 party changed the dtd version of the reports saying it should not affect anyone But my app broke as the xmlns reference changed, thus it didn't performed conversion. so … | |
Ok, Not sure if you require specs, but a few main ones are; Dell XPS M1530 Windows Vista 32-bit This problem started a few days ago, i can honestly say i don't have a clue how it started. I lent my laptop too my brother one day... day later suddenly … | |
Help please, I wrote a script in C++ for loading a map file, parsing it with XML, and outputting the objects in the file. The XML parser works great, but it won't open the file. I have it exiting if the file doesn't exist, and the file doesn't load, even … | |
hey all, i am trying to add a harvest plugin to the config.xml in cruisecontrol...but when I do that i get the error stating that "allfusionharvest.class" is missing...when I checked the classes indeed it was missing...how should I resolve this? | |
hi, i had done some coding ..im unable to get how to check the entered field is present in xml file or not...can anyone help me out....waiting for the reply..here is the code.. 1. package login; 2. 3. import java.io.*; 4. import javax.servlet.*; 5. import javax.servlet.http.*; 6. 7. import java.io.*; … | |
Hi... Any idea on how to embed this flash so it will stay behind other content, e.g. a lightbox? [CODE]<td align="left" id="container" valign="middle" z-index="0"><!-- see notes for files included --> <a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player to see this rotator.</a> <script type="text/javascript" src="my/path/to/file.js"></script> <object><script type="text/javascript"> var s1 = new SWFObject("my/path/to/flash.swf","rotator","415","120","7"); s1.addParam("allowfullscreen","false"); … ![]() | |
hi... i am completely new to xml.. how to compare parsed data in c++??.. I am using expat. should i use huge else-if statements to compare the elements i just extracted ?? is there anyother way of doing it??? I have a feeling i have messed up somewhere.. | |
Hello guys, I'm working on a new project in C++ and I need to parse some XML files, by reading some articles on the web I found that the most commonly used one is the Xerces library. However, I'm currently having troubles. Can anyone tell me how can I include … | |
Hi again! I have this javascript code [CODE]function displayResult2(id) { xml=loadXMLDoc("anna.xml"); xsl=loadXMLDoc("c011.xsl"); // code for IE if (window.ActiveXObject) { ex=xml.transformNode(xsl); document.getElementById("right").innerHTML=ex; } // code for Mozilla, Firefox, Opera, etc. else if (document.implementation && document.implementation.createDocument) { var xsltProcessor=new XSLTProcessor(); xsltProcessor.importStylesheet(xsl); resultDocument = xsltProcessor.transformToFragment(xml,document); document.getElementById("right").appendChild(resultDocument); } }[/CODE] and I want to pass … | |
Hello Friends, I am learning to code in ASP.Net (so forgive silly errors!)... Presetnly trying to perform the functions of edit and delete using Repeater. The Code is: Libraries that I am using [CODE] using System; using System.Collections; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using System.Web.Security; … |
The End.