6,049 Topics
![]() | |
i have an application that store a data about a properties for sall i use the serlization and desrlization to store the property details to an XML file i call it PropertiesList .xml i got a form called search it contain 2 text boxes when the user write down a … | |
hi, im trying to display the attribute name of the parent node once the input matches a town name: my xml is: [CODE] <phonebook> <area code="022"> <town>mallow</town> </area> <area code="023"> <town>bandon</town> <town>bray</town> </area> <area code="024"> <town>youghal</town> </area> <area code="025"> <town>fermoy</town> </area> </phonebook> [/CODE] and the method is: [CODE] private void … | |
So I am currently writing a custom proxy server to handle http requests on a local computer. I am able to get the headers but am not sure how to then send them to the browser. here is my current source code: [[CODE] Imports System.Net Imports System.Net.Sockets Imports System.Text Imports … | |
![]() | Hi Guys, I'm currently developing a project using WCF (hosted on local IIS) which connects to a local SQL database using LINQ to get data. My problem is that when I run the code, 9/10 times it'll fail with the "Specified Cast Is Not Valid" error, but the other 1/10 … ![]() |
Hi folks, We are new to the xsd and the wsdl world and are stuck up with an issue. The response schema validation fails for one xml and succeeds for another. Could you please check what is the issue. In what way can we modify our failure response xml so … | |
hi.... i have an xml file which i've pasted below... [CODE] <?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/"> <opensearch:Query searchTerms=""/> <opensearch:totalResults>1</opensearch:totalResults> <people> <person> <popularity>3</popularity> <name>Aamir Khan</name> <also_known_as> </also_known_as> <id>52763</id> <biography></biography> <known_movies>18</known_movies> <birthday></birthday> <birthplace></birthplace> <url>http://www.themoviedb.org/person/52763</url> <filmography> <movie name="Earth" id="7504" job="Actor" department="Actors" character="Dil Navaz" url="http://www.themoviedb.org/movie/7504" cast_id="2" poster="http://cf1.imgobject.com/posters/5ac/4bc91f50017a3c57fe00c5ac/earth-cover.jpg" adult="false" release="1998-09-16"/> <movie name="रंग दे बसंती" id="7913" … | |
Just joined as I am working on a php-mysql application and need assistance once in a while or just feel the need to discuss matters where I feel doubt. On the way I am learning quite some things, so hope to contribute as well. Specific issues of my applications are … | |
I've got a Firefox issue -- I've created a Flash XML gallery. The XML loads great in IE, but doesn't load the images, or text from the XML file in Firefox. I've tried absolute paths and the "ignoreWhite" property is set to true in my AS code. If anyone has … ![]() | |
Hi All I have this XSL code, but I am trying to get it so every other row is light grey and the ones in between are white. I want the headers to be anjother colour all together. [CODE] <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <body> <table border="2" bgcolor="yellow"> … | |
Hi there, I'm having a lot of trouble trying to add a new control to a dynamically created TabPage at run time, I have viewed many threads with similar help requests and cant seem to make the codes work! :( Any help would be greatly appreciated... Here's what I've got: … | |
I have the following xml code; [CODE]<item> <title>CBS News' Logan victim of 'brutal' Egypt attack</title> <description> <![CDATA[<p><a href="http://today.msnbc.msn.com/id/41607923/ns/today-entertainment/"><img align="left" border="0" src="http://msnbcmedia.msn.com/j/MSNBC/Components/Photo/_new/110215-lara-logan-egypt.thumb.jpg" alt="CBS Correspondent Lara Logan is pictured in Cairo's Tahrir Square moments before she was assaulted in this photograph taken on Friday, Feb. 11." style="margin:0 5px 5px 0" /></a>The correspondent … | |
I am working on a little USPS tracking class, very simple calls web api returns xml, parses the xml to an object, passes that object back via an event. for some reason I can't seem to get the XML to parse correctly. I there are an unknown amount of a … | |
This is my app.config [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="radicalGuard" value="Data Source = MICHAEL-PC\SQLEXPRESS; Initial Catalog = radicalGuardDB; Integrated Security = True" /> </appSettings> </configuration>[/CODE] And this is my connection string [CODE]SqlConnection con = new SqlConnection(ConfigurationSettings.AppSettings["radicalGuard"].ToString());[/CODE] Whenever I try to debug, it says "object reference not set to … | |
I am asim, hi, i have uploaded my site first time and but unfortunately i got errors in web.config file that is as below: [CODE]<?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <connectionStrings> <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" … | |
I am running a batch file using msxsl to take an input xml file like below <ns1:invoicedata> <data1>1</data1> <data2>2</data2> </ns1:invoicedata> I need to copy this original output and replace the values with the input file values <ns2:invoiceoutput> <data3>3</data3> <data4>4</data4> <data5>5</data5> </ns2:invoiceoutput> so that it ends up with the following data … | |
How could I include the image in the print preview? I cant make it work :sad: anyone? please help. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta name="generator" content= "HTML Tidy for Windows (vers 25 March 2009), see www.w3.org"> <script type="text/javascript"> // _importNode() needed for IE if (!document.importNode) … | |
Hello. I'm working with a webpage where its going to a Google Store Locator. [URL="http://code.google.com/intl/no-NO/apis/maps/articles/phpsqlsearch.html"]Goolge Store Locator guide[/URL] I did follow. I got it working for a while, but here in Norway we have some characters, ÆØÅ that we use. This is the problem. When I search for a place, … | |
[CODE]<employees> <employee> <user_id>6</user_id> <profile_name>Developer</profile_name> <profile_id>2</profile_id> <user_status>1</user_status> <gender>1</gender> <first_name>Anulesh</first_name> <last_name>Gupta</last_name> <address>106/B, 1st Floor, 46th Cross, 4th Block, Rajajinagar,</address> <pswd>password</pswd> <pswd_change_dte>2011-01-25T19:48:00+05:30</pswd_change_dte> <email_addr>anulesh.gupta@effone.com</email_addr> <phone>91-080-22445281</phone> <dob>1981-09-18T00:00:00+05:30</dob> <join_date>2008-11-20T00:00:00+05:30</join_date> <receive_email_notification>true</receive_email_notification> <last_logged_in>2011-01-25T19:48:00+05:30</last_logged_in> <emp_id>1001</emp_id> <full_name>Anulesh Gupta</full_name> <skill_set /> <city>Bangalore</city> <state>Karnataka</state> <country>India</country> <zip_code>560010</zip_code> <mobile_number>22445281</mobile_number> <pwd_flag>1</pwd_flag> <reports_to>5</reports_to> </employee> </employees>[/CODE] Convert this into this format , please help me out for … | |
Hello all, I have a simple web form that use an email address to send information once it's submitted. I need to modify it to where it sends the info to an access database. How can I make that happen? web form: [CODE] <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC … | |
From help I received yesterday I have this code that will parse through an XML file generating an output from various nodes based on the relationships between them. Example XML [CODE] <gedcom> <INDI ID=@I001@> <FAMC>@F001@</FAMC> ... </INDI> <INDI ID=@I002@> <FAMC>@F002@</FAMC> ... </INDI> <INDI ID=@I003@> <FAMC>@F003@</FAMC> ... </INDI> ... <FAM ID=@F001@> … | |
Hi there, I'm working on a project which incorporates the following: [LIST] [*]Reading data from XML [*]Writing data to XML [*]Interpreting XML and passing the information to various places [/LIST] These are on different threads, and I've used a Mutex to make sure they don't try opening the main XML … | |
Hi I am working on a Silver light web application that is using the Prism Model (So apologise if this is the wrong forum). Context I am involved with softening the URL's which call various applications through out the application. The list of URL's comes from an XML file which … | |
<xs:complexType name="Thing"> <xs:complexContent> <xs:extension base="ax:Object"> <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="Thing" nillable="true" type="ax:Item"/> <xs:element minOccurs="0" name="number" nillable="true" type="xs:double"/> </xs:extension> </xs:complexContent> </xs:complexType> This is the XSD structure | |
I try to receive XML sample from w3schools.com ([url]http://www.w3schools.com/XML/cd_catalog.xml[/url]) but get nothing (xmlhttp.status=0). My local web server is Apache on VMWare (host OS Win7, Guest OS Ubuntu, Network adapter - NAT). Here is the code: [CODE]xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET","http://www.w3schools.com/XML/cd_catalog.xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It … | |
hello all.. Hi, I'm having problem to read *.DBF (DBase File) using VB.NET. Below is my code : [code] Public abc As String = "C:\Documents and Settings\LASIM\My Documents\20100126a\JADUAL\TCMSV2" Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim sql As String Dim connection As String Dim dsXML … | |
Hi folks, I have two divs in my form that contain slightly different fields. The user can view one vid at a time depending on the radio button it's checked (either business or individual). When I submit the form, all the fields in both divs are submitted and emailed at … | |
The below block of code generates stuff like the below array but here's where it gets somewhat interesting. I took the legend and turned them all in to variables because of what I would like to have done which I will now describe below. Of the four arrays that this … | |
I have a script which is parsing xml code and displayed the title of blog posts, the date, and a breif extract from each post. However I also want to show any mp3 links within that blog post too but I am not sure how to do this. If anyone … | |
Hey! I am developing a type of an rss reader. Which fetches latest 1-2 feeds from a webserver and publishes them to a subscriber. The problem I am facing is, this [URL="http://www.feedparser.org/"]feedparser[/URL] is using etag and modified date to recognise latest feeds. It works fine with the servers which support … | |
how to create crystal report using xml files??? | |
Hi guys, I need to ping a few hundreds of backlinks as only some actually are indexed. Could you please advise what is the best way of creating an RSS from the multipple URLS (hundreds). I remember in the past trying some site that creates RSS feed from the list, … | |
I have searched and search for a simple solution to my problem but alas, I have had no luck, so I am turning to this forum for assistance. If you are familiar with Google Gadgets and AJAX, then this question is for you. I am trying to create a Google … | |
I have just downloaded William Hill poker software but when i run it there seems to be a lot of issues. My mouse arrow and loading icon vibrate so not able to navigate the site. When i click to exit the whole thing freezes. I troubleshoot and get message incompatible … | |
How to create xml from MSSQL database.Could any one help me to find out this . It would be much helpful and appreciated if any provide me an example also. | |
I have XML data where information in nodes relate to other nodes. I am trying to figure out how to generate output based on these relationships. XML sample <gedcom> <indi id="@I001"> <famc>@F002@</famc> </indi> ... <fam id="@F002"> <husb>@I005@</husb> <wife>@I007@</wife> </fam> </gedcom> XSLT sample <xsl:template match="/"> <xsl:apply-templates select="/gedcom/indi[@id='@I001@']"/> </xsl:template> <xsl:template match="indi"> <xsl:value-of … | |
[CODE]Server Error in '/' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object … | |
I generate my xml into "variable string str" by using "dataset.GetXml" and then I write the "xml which is contained in variable str" into "file.xml" by using "sFile.WriteLine(str) while 'sFile' is a stream reader" My reason for using 'writeline' instead of 'dataset.WriteXml' because I need to encrypt the 'xml stored … | |
I'm an amateur web developer trying to move toward more professional coding practices, and I'm making my first site that makes extensive use of ajax. I've used the xmlHttpRequest object on a few occasions, for which simply creating functions as I needed them were adequate. But the site I am … | |
Thanks to some great help for my first ever post on this formum [ [URL="http://http://www.daniweb.com/forums/thread346113.html"]Fetch a node based on a value of another node.[/URL]] I am now recursively traversing through my XML data where nodes are related to each other. Example XML [ICODE] <gedcom> <INDI ID="@I001@"> ... <FAMC>@F001@</FAMC> </INDI> <INDI … | |
I have created an .xml file with 2 items linking to 2 announcements/news stories on the Conservation News page that I intend to update frequently in the near future. This .xml file has been validated. I would like visitors to the page to be so entranced with the range of … | |
Hello all, I hv jst recently started using C# and i need to read some Xml documents using C#. I hv a Xml document as , [CODE] <?xml version="1.0" encoding="utf-16"?> <add>< fnum>12</fnum> <snum>12</snum> </add> [/CODE] Now, i need to independently get the values of the elements fnum and snum and … | |
How to do form based authentication? I submit my code here. [CODE] <html> <head> <title>Enter your name and password</title> </head> <body bgcolor="#999966"> <p> </p> <form method="POST" action="Order.jsp"> <p><font color="#800000" size="5"> Enter your company name:</font><input type="text" name="coname" size="20"></p> <p><font color="#800000" size="5"> Enter your password:</font><input type="password" name="password" size="20"></p> <p><input type="submit" value="Submit" name="B1"></p> <% … | |
I derived Datatable in one class(DataTableEx), then i created one property(TotalRecordCount), then i assigned 5000 to that new property(TotalRecordCount), then i convert this datatable into xml, so it's created.Now i try to convert xml to Datatable, i am not able to get 5000 value to TotalRecordCount Property. so how i … | |
Hi, Can any one help me. Please Explain this code. [CODE] <div id="toolMenu"> <ul> <xsl:for-each select="categories/category"> <xsl:sort select="@order" data-type="number"/> <xsl:apply-templates select="."> <xsl:with-param name="content" select="'false'"/> </xsl:apply-templates> </xsl:for-each> <!-- Commented to Remove help --> <!--<xsl:if test="//tool/@hasHelp='true'"> <li> <a accesskey="h" href="javascript:;" class="icon-sakai-help"> <xsl:attribute name="onclick">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute> <xsl:attribute name="onkeypress">window.open('<xsl:value-of select="config/helpUrl"/>','Help','resizable=yes,toolbar=no,scrollbars=yes, width=800,height=600')</xsl:attribute>Help</a> </li> </xsl:if>--> </ul> … | |
Hi, I need a little help importing an XML file into sqlserver 2008. I followed this example [url]http://www.sql-server-performance.com/articles/dba/Loading_XML_data_into_SQL_Server_2008_p1.aspx[/url] (make sure you goto the rest of the pages in the article!) , generated the schema etc., but I can't get the import to do what I need. I was able to … | |
The value i am getting in a tag is like <text>customers/id/name/place</text> now i want to retrieve the last value after the / that is 'place'.The problem i am facing is the value in text is changing for e.g it could be <text>customers/id/name/place</text> <text>suppliers/id/Germany/thing</text> <text>supply/id/location/book</text> what i want is the last … | |
Hello world... xD Now the bad joke's over, I'm Ben, currently halfway through my second year at university studying BSc Hons Computer Science. Thought i'd join these forums as they appear friendly and helpful to those with any IT related problems so maybe i can get some help here in … | |
Hi peoples, Suppose I have an XML file [CODE] <Application> <Segment1> <ID>Sam</ID> <Fee>2.50</Fee> <Fee>1.00</Fee> </Segment1> </Application> [/CODE] In a nutshell, I want to move the two <Fee> Elements to another section so it looks like this; [CODE] <Application> <Segment1> <ID>Sam</ID> </Segment1> <Segment2> <Fee>2.50</Fee> <Fee>1.00</Fee> </Segment2> </Application> [/CODE] It would invlove … | |
Hello friends, I just bought an xml-sitemaps and have question about Google sitemap for SEO. How often should I run sitemap for new urls or pages? Do I need to place the html sitemap on the homepage? Thanks, Have a nice day! |
The End.