6,049 Topics

Member Avatar for
Member Avatar for sbutt

I have this basic transformation script: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ibn="http://ibn.traveltainment.de/2009/001" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns:ota1="http://www.opentravel.org/OTA/2002/11" exclude-result-prefixes="SOAP-ENV ota"> <xsl:output method="text" encoding="UTF-8"/> <xsl:variable name="outermostElementName" select="name(/SOAP-ENV:Envelope/SOAP-ENV:Body/ota:*)"/> <xsl:template match="/"> <xsl:choose> <xsl:when test="count(SOAP-ENV:Envelope/SOAP-ENV:Body) > 0"> <xsl:value-of select="$outermostElementName"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="/*"/> </xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>[/CODE] in which I'm trying to extract a particular …

0
72
Member Avatar for prince23

hi, i am trying to develop an flash application. where they have designed the entire front end by flash. now i need to doing the functionality part like taking the data from flash and save in database(sqlserver r mysql) using ( asp.net 3.5 frame work) . now as flash is …

0
127
Member Avatar for Diamonddrake

I have been working with desktop server/client applications today, making pretty good progress when I came across a problem. the webserver I use for my website is shared and doesn't allow me access to start programs so I must use my desktop as a server. The problem with this is …

Member Avatar for Diamonddrake
0
244
Member Avatar for MORACOM

I have this JSP code that i found online and it seems to work cuz it loops thru the xml file and writes the HTML code for the TRs and TDs but for some reason is not displaying the data. Am i missing something? [CODE]<%@page import="org.w3c.dom.*, javax.xml.parsers.*" %> <% DocumentBuilderFactory …

Member Avatar for peter_budo
0
135
Member Avatar for ceyesuma

Topic The topic of this question is: JSF_navigation and database connection Hello and Thank you in advance for any assistance. [b] System info: [/b] Netbeans6.7.1,jsf1.2,two MySQL databases.(one for login one for searches) [b] The purpose of this post is: [/b] Try to get the login jsp to switch to the …

Member Avatar for ceyesuma
0
163
Member Avatar for ShinoX

Im having a problem with my IE, its the same problem as [URL="http://www.daniweb.com/forums/thread116171.html#"]Direwolfs08 [/URL]had in[URL="http://www.daniweb.com/forums/thread116171.html#"] this post[/URL]. what happens is IE opens but only in the background, and its on a video website like youtube, i think, and it plays videos in a random order but even when i close …

Member Avatar for crunchie
0
64
Member Avatar for JonJacobs

I have a Web page named Menu.aspx on which I have a (gasp) Menu control. It is bound to an XMLDataSource control, which is bound to an XML file. My problem is that clicking the menu item does not navigate to another page. It just flickers and re-displays the current …

0
103
Member Avatar for Moirae

Hello everyone! I'm building a small web-site (for a restaurant) and I made photo gallery using Flash (it has a lot of .as files, and attaches images using XML). The problem is embedding this gallery into my site. I'm using Dreamweaver, and I inserted it as .swf file but I …

Member Avatar for Moirae
0
133
Member Avatar for kosofi

last post i tried to read/write data with xls using jscript but cant do it yet but if its possible with xml thats will be fine , any ideas ?

Member Avatar for kosofi
0
40
Member Avatar for smileyc

Hi. I am using visual studio 8, using vb.net. I am trying without success to make a post request to a web form as shown below. [code] <?xml version="1.0" encoding="UTF-8"?><postBetOrder xmlns="urn:betfair:games:api:v1"marketId="2568540" round="1" currency="GBP"><betPlace><bidType>BACK</bidType><price>2.5</price><size>2.50</size><selectionId>658440</selectionId></betPlace> [/code] I encode the information using 'HttpUtility.UrlEncode' and I use 'myWebRequest.ContentLength = bytedata.Length' to get the length …

0
60
Member Avatar for celltechgsm

Hello all master, Any one can help me can make procedure or guide putting executable file on a webpage ...? thank you .. br, celltechgsm

Member Avatar for pritaeas
0
77
Member Avatar for GETCODE

am sure is a no-brainer but I am new at XSLT. I just can get my XML to vaLidate against 2 namespaces; I might be missing somethig at the psgecfd:PrestadoresDeServiciosDeCFD node!. I have an XML with 2 xsi:schemaLocation and when validation againts the xsd I got the error: [B]Vs cfdv2.xsd:[/B] …

0
91
Member Avatar for PysKo

Hi what im trying to do in my program (Its a pokemon platinum version team organizer) im making it for a friend and for anyone else who wants it but what im trying to do is i have 2 checked list boxes wth a limit on how many selections they …

Member Avatar for PysKo
1
83
Member Avatar for Ariel_medel

I have this code: [SIZE="2"][CODE] txt4="<div style='margin-top:4px'>"; for (n=0;n<xy.length;n++) { txt4=txt4 + "<div>"; iconsb=xy[n].getElementsByTagName("SUBLINK"); iconsb2=xy[n].getElementsByTagName("SUBCLASS"); iconsb3=xy[n].getElementsByTagName("SUBCOPY"); subclass=xy[n].getElementsByTagName("SUBCLASS")[0].childNodes[0].textContent; subcopy=xy[n].getElementsByTagName("SUBCOPY")[0].childNodes[0].textContent; { try { if (subclass==="download_pod"||subclass==="download_arrow"||subclass==="video") { var down="<a id='" + subclass + "' style='float:right; display:inline-block; margin-left:1em' href='" + iconsb[0].childNodes[0].textContent + "' class='" + subclass + "'>" + subcopy + "</a>"} else if …

0
57
Member Avatar for Chocobo_Knight

Hey all, Not sure if this is a C# or a XML question but i decided to post it here as i'm trying to use C# to update XML. I'm trying to update XML document Attributes from a XLS document. The XML documents are 1000's of lines long and there …

0
56
Member Avatar for GradStudent

I m trying to created C# classes from *.XSD and *.XML documents and vice versa.. In java world, JAXB would be the way to go.. I tried using XSD ... But i get unrecognised error.. Is there somethng elementary i m missing here.. like setting the root path or something?

Member Avatar for kvprajapati
0
110
Member Avatar for Gredesh

Hello, I've been messing around trying to create a web service and the WSDL xml doc is being very difficult. Can anyone tell me what's wrong with it? When I run the WS-I compliance report it tells me: "[B]Failed[/B] [B]Artifact Targets Analyzed:[/B] The summary result applies to the following artifact …

0
67
Member Avatar for shanawazway

I m getting problem while creating a dynamic website. In Ajax I have good tutorial book. but it missing, "how to create XML file filled with data which comes from SQL server. Second thing is that: How to retrieve the data from XML file. Please Help out me for this …

Member Avatar for Thirusha
0
54
Member Avatar for Facte

Hi there everyone. I have a script that has been written to generate a feed for sites that mine links to. It is supposed to return all jobs from my mySQL database that have not expired. No matter what I do I can only get it to display all jobs …

Member Avatar for Atli
0
120
Member Avatar for khess

Linus Torvalds, creator of the Linux kernel, said at the [URL="http://events.linuxfoundation.org/events/linuxcon"]LinuxCon[/URL] in Portland yesterday that, "We are not the streamlined, small, hyper-efficient kernel I envisioned 15 years ago," he said. "Our kernel is huge and bloated. Whenever we add a new feature, it only gets worse." It's time to put …

Member Avatar for legolas558
2
692
Member Avatar for Se7Olutionyg

[CODE]using System; using System.Collections; using System.Configuration; using System.Data; 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; namespace WebApplication5 { public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { SqlConnection conn = new SqlConnection( " Server =localhost\\SqlExpress; Database= …

Member Avatar for plazmo
0
108
Member Avatar for shikamaru

Hi all, just started working on .NET...:) I was making a MDI app with vb.NET and SAPI i used System.speech.recognition namespace and SpeechRecognizer element.. working for single doc.. bt when i go for new form with same giving [B]An error occurred creating the form. See Exception.InnerException for details. The error …

Member Avatar for shikamaru
0
245
Member Avatar for loukiachr

Hello, I want to create a word 2003 type document (.doc). I have a xml file and a xslt file. The first one has the data the second has the style. Then I combine these two through my c# code and create the doc file. Can you please help me …

Member Avatar for kvprajapati
0
123
Member Avatar for sa3q

Hello all i want to make application in c# to read any xml file in tree example the xml file like that ======================= [CODE]<?xml version="1.0"?> <directory name="D:\ajsam"> <directory name="D:\ajsam\Muscle & Fitness"> <directory name="D:\ajsam\Muscle & Fitness\aa"> <file name="جديد.txt" size="12"/> <file name="Cover.jpg" size="8828"/> <file name="Thumbs.db" size="11776"/> </directory> <file name="Allthewarez.lnk" size="447"/> <file name="Allthewarez.nfo" …

Member Avatar for kvprajapati
-1
196
Member Avatar for matthewl

I have been working on an email validation functions that would validate the e-mail and I am having problems communicating the "EmailState" from the ajax. The state the php gives is 1 if the email address exists and zero if it doesn't. I do this check with Email_Exists() and when …

-1
64
Member Avatar for Arsham3

Please recommend a simple reverse proxy server but with good re-write rules engine. Thanks.

0
87
Member Avatar for johnchery

To parse an input text file and generate a) an XML file and b) an SVG (also XML) file. The input text file (input.txt) contains the description of a number of produce distribution centers and storage centers around the country. Each line describes either a single distribution center (dcenter) or …

-1
42
Member Avatar for Mapper99

Hi there, I am trying to delete XML nodes using PHP. Here is a sample of my xml file. [code] <users> <user> <fullname>PC1</fullname> <flooor>4</floor </user> <user> <fullname>PC2</fullname> <flooor>3</floor </user> </users> [/code] Here is my code so far: [CODE] <?php $users = new DOMDocument(); $users->load("officedata.xml"); $suser = simplexml_load_file("officedata.xml"); $count = 0; …

Member Avatar for Mapper99
0
240
Member Avatar for shug94

Hi guys, I am trying to understand how the web service security headers in SOAP work. I can see that there should be a BinarySecurityToken, a Created and Expires datetime, and a Signature portion. My questions are as follows: - What is the BinarySecurityToken? Is it the entire certificate used …

Member Avatar for yaronn01
0
130
Member Avatar for rizza_f

According to thread MVC above, I create web.xml like this [CODE] <servlet> <servlet-name>addServlet</servlet-name> <servlet-class>servlet.AddServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> </servlet> <servlet> <servlet-name>loginServlet</servlet-name> <servlet-class>servlet.loginServlet</servlet-class> <init-param> <param-name>dbURL</param-name> <param-value>jdbc:odbc:database</param-value> </init-param> <init-param> <param-name>dbUserName</param-name> <param-value>username</param-value> </init-param> <init-param> <param-name>dbPassword</param-name> <param-value>password</param-value> </init-param> <init-param> <param-name>JdbcDriver</param-name> <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value> </init-param> …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for sonia sardana

WEB.CONFIG FIlE [code] <?xml version="1.0"?> <configuration> <appSettings/> <connectionStrings/> <system.web> <authentication mode ="Forms"> <forms loginUrl="FrmLogin.aspx" protection="All" > <credentials passwordFormat="Clear"> <user name="sonia" password="citm123"/> <user name="soni" password="citm123" /> <user name="muru" password="citm1234"/> </credentials> </forms> </authentication> <authorization> <allow users="sonia"/> <allow users ="soni"/> <deny users="muru"/> </authorization> <compilation debug="true"/> </system.web> </configuration> [/code] FRMLOGIN.aspx [code] protected void btnLogin_Click(object …

Member Avatar for Ramesh S
0
113
Member Avatar for vkennedy

Ok, this question probably has been asked quite a number of times, but I am fairly new to this technology and am not sure of what I should search for. So, if someone could either point me to a link where it has already been answered or provide the answer …

Member Avatar for vkennedy
0
117
Member Avatar for davidlgj

Hi all, I'm using the PHP code below to get results to return to an autosuggest / autocomplete. The problem is that if an earlier SQL query takes longer to return from the database than the most recent SQL query then the results of the older query will be displayed …

Member Avatar for codejoust
0
148
Member Avatar for gowth08

hi ive been doing a project in which metadata for various filetypes(html, xml etc.,) are needed. are there any existing api's to do the above. ideas and suggestions

0
62
Member Avatar for LinkMaster03

I packed a Python script (that uses pyGTK) into an .exe with py2exe. It runs fine, except that the normal GTK theme does not show up. This is what it looks like when I run the script: [url]http://img33.imageshack.us/img33/4080/16sepwed1827.png[/url] And this is what it looks like when I run the .exe …

Member Avatar for Stefano Mtangoo
0
583
Member Avatar for lukethedrifter

I know this contains actionscript, but the server side is Java. I am trying to get a red5 server to insert into mysql, but I can't get eclipse to compile this client side code. Could someone tell me if this tutorial is up to date with galileo, the new version …

Member Avatar for lukethedrifter
0
71
Member Avatar for armyguydave69

Hi, I'm having a slight problem on my home page. Depending on if the user is logged in or not depends on what navbar they see. However, even if the user is logged in - it will sometimes tell the user he is logged out. If you refresh the page …

Member Avatar for armyguydave69
0
185
Member Avatar for mansi sharma

Suppose mine project is on desktop C:\Documents and Settings\Mansi\Desktop\ASPStarting & Mine XML file is in D:\Documents and Settings\Sonia\Desktop\ASPStarting\App_Data I change the ADRORATOR source code as below- <asp:AdRotator ID="AdRotator1" runat="server" AdvertisementFile ="C:\Documents and Settings\Mansi\Desktop\ASPStarting\App_Data\banner.xml /> When I execute the website,foll .error comes ERROR - 'C:\Documents and Settings\Mansi\Desktop\ASPStarting\App_Data\banner.xml' is a physical path, …

Member Avatar for Ramesh S
0
106
Member Avatar for ameltei

I want to know how to send a POST XML command to a web server. I need to do this in order to upload some data in XML format. Thanks!

0
58
Member Avatar for azegurb

hi I have just took from internet dinamic table. this table is dynamic and its rows dynamically can be increased. but i would like how create SUM function that automatically sums each added row value (text value) here is the code if possible please help me Thanks beforehand [code=html]<html xmlns="http://www.w3.org/1999/xhtml" …

Member Avatar for azegurb
0
4K
Member Avatar for MJUGRAN

Hi , I am fetching a xml file having n records (destinations one detination may have m routes) as below: <destination> <filename>ABC</filename> <route>ftp://manish_test:manish_pass@10.20.21.123:21/%2F1ST-FTP_Poller/dimensionsABC/</route> <route>ftp://manish_test:manish_pass@10.20.21.123:21/%2F1ST-FTP_Poller/dimensionsBCD/</route> </destination> I have to fetch all these records based on file name (say the above destination for file staring with ABC) and so on... How I …

-1
47
Member Avatar for JohnDove

I have written a vb.net application using Visual Basic 2008 Express which has the following references listed in its Properties>References: [LIST] [*]System (c:\windows\Microsoft.NET\v2.0.50727\System.dll) [*]System.Drawing (c:\windows\Microsoft.NET\v2.0.50727\System.Drawing.dll) [*]System.Windows.Forms (c:\windows\Microsoft.NET\v2.0.50727\System.Windows.Forms.dll) [*]System.Xml (c:\windows\Microsoft.NET\v2.0.50727\System.Xml.dll) [/LIST] These references seem fairly standard and I notice that they are from version 2 of the .net framework even though …

Member Avatar for Ramesh S
0
93
Member Avatar for hardik.rajani

I was trying to run a spring program with different style. I am new to this framework. I tried to load configuration file with types of loader. like [CODE] (1) BeanFactory factory = new XmlBeanFactory(new FileSystemResource("spring.xml")); (2) ApplicationContext context = new ClassPathXmlApplicationContext("spring.xml"); (3) ApplicationContext context = new FileSystemXmlApplicationContext("/spring.xml"); [/CODE] But …

Member Avatar for hardik.rajani
0
136
Member Avatar for ashu2409

hi, i am using XmlTextReader class to read xml from http link ,now my problem is that i want to replace the special characters(•) from xml before reading its tag, coz it is giving the error in XmlTextReader reader.Read() method. Please suggest any solutions to this. Thanks in advance, Ashish

Member Avatar for ashu2409
-1
208
Member Avatar for fuggles

Does anybody know of a good tutorial that could teach me how to use LINQ in C++, I will be using it to communicate my game to an online MySQL database and it will also be reading XML files.

Member Avatar for kvprajapati
0
54
Member Avatar for sachinw

The requirement in simple logic is(please ignore the syntax i just want to tell u the requirement): <variable name="a" select="//SearchRequest/@Input"> <template> <when a=1> One </when> <when a=2> Two </when> <otherwise> None <otherwise> <!--here i want to create one element with above value which is condition based i.e One or Two …

-1
55
Member Avatar for jmaat7

Hi Everyone, I actually stumbled across this site while trying to figure out a piece of my homework. The website seemed to have a better explanation than the teacher or the textbook, so now I'm hooked. I actually work in accounting, but became interested in programming about a yr ago. …

0
31
Member Avatar for alsoumhi

Hi all, I am trying to access login page (html page) from subdirectory of my web directory , the login page calls loginServlet which is reponsible for authintication, then the loginServlet response back to the client a web page to the user(whether user or adminstrator) . my web directory called …

Member Avatar for peter_budo
0
104
Member Avatar for coonbri

Hello all. I am new to ASP.NET XML so I am looking for some guidance. I have an XML string that needs to read into an ASP.NET C# Gridview. The XML data actually comes from the CRM SDK crm web service (FetchXML). The XML Elements contain (dots) and attributes which …

-1
77
Member Avatar for hschroeter

hello, there is a main xslt-script with a "do_this_and_that"-template. in an from the main included script ther is such "do_this_and_that"-template too. is it possible to call the "do_this_and_that"-template from the main by this included "do_this_and_that"-template? many thanks for your answer(s)

Member Avatar for fpmurphy
-1
115

The End.