6,049 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
![]() | 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 … ![]() |
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 ? | |
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 … | |
Hello all master, Any one can help me can make procedure or guide putting executable file on a webpage ...? thank you .. br, celltechgsm | |
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] … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
[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= … | |
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 … | |
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 … | |
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" … | |
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 … | |
Please recommend a simple reverse proxy server but with good re-write rules engine. Thanks. | |
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 … | |
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; … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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, … | |
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! | |
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" … | |
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 … | |
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 … | |
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 … | |
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 | |
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. | |
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 … | |
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. … | |
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 … | |
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 … | |
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) |
The End.