3,634 Topics
| |
Hi all I need to to read parameter value from web.xml I tried following way but it displays only null value .. [code=xml]<init-parm> <parm-name>email</parm-name> <parm-value>syz@gmail.com</parm-value> </init-parm>[/code] [code=Java]//servlet code pw.println(getServletConfig().getInitParameter("email"));[/code] | |
Hello, i have create e form with ajax for upload file with XMLHttpRequest page.php <script> function upload() { var file_upload = document.form1.file_upload.files; /* if(xmlhttp5.readyState == 1) { alert("Attendere!"); } else */ // code for IE7+, Firefox, Chrome, Opera, Safari if(window.XMLHttpRequest) { xmlhttp5 = new XMLHttpRequest(); } else { // code … | |
Hi, I'm getting: Parse error: parse error in C:\wamp\www\Ajax\getcd.php on line 28. (I have highlighted line 28 in red.) for the following simple program that retrieves data from cd_catalog.xml file and displays in txthint div when user selects artist's name from select box. does anyone know on what i'm doing … | |
Hello there, I don't know how to word this correctly, but i have a couple XML files that i need to extract certain information from. The files are already on my computer, so i won't be fetching it off the web anymore if that helps any. I mainly want to … | |
[B]Hi friends . i need to put tamil language comment box in my blogger . anyone knows the code please share here and help me [/B] | |
I'm trying to write out a series of objects as an XML file so they can be read in later. I have all the code to build the XML tree and set all the attributes, etc. I've looked through the whole tree in VS so I know all of my … | |
Hi, everybody I am trying to access remotely application but there generates error is :- WARNING: Unable to connect to URL: [url]http://192.168.100.99:8989/PTax_PG_eBiz-PTax_eBiz_WS-context-root/PropTaxPort[/url] due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect java.rmi.RemoteException: ; nested exception is: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: … | |
Hi All, Is there a way/free tool that can be used to generate the possible response xmls from a webservice wsdl. The wsdl in turm refers to multiple schemas. | |
Good Day All i have a IIS server. This IIS Server is publicly available , so i have hosted some WCF services in that server , i can access the URL from outside my network, but i can use it. the url that i access it with is [B][url]http://196.XX.XXX.XXX:8095/datalayer/[/url] [/B] … | |
Good Day All i have a Silverlight application that i have written. Tested and it works well in our internal network. Now in my company we have another server, so our Network guys open a port so that someone who is not in our network can view the website. Now … | |
I was wondering if someone could point me in the right direction for what I am trying to do. I am creating this service in which I want to be able to send text messages, faxes, and automated calls from a server. I want to know the different ways of … | |
The below script adds an attribute to an searched element. I would like to add the attribute at the end or which ever location i prefer, whereas the script adds at the beginning. Also I would like to commit only the changes to the file. Please share and ponder your … | |
i dont why i can't access my servlets. i have followed the configuration to the end but still cant get through. the following are my .xml files. well i dont have a problem accessing the server, but the problem is my servlets wont run i keep getting "the requested resource … | |
Hi, I am new to XSL. I don't know how to loop through XML and filter duplicates using XSL. I tried several ways but i could hot get it done. Here is my requirement. My XML --------- [code] <?xml version="1.0" ?> <X12Summary> <Unit volume="10" Amount="100"> <Identifier Name="Customer ID" Value="12345" /> … | |
This is how I want my XML file to look: [code] <root> <data> <track src="123456"> <desc id="1" mt="audio/mp3" ra="24" dr="221" nv="10005761">Madonna - La Isla Bonita</desc> <clipdata>PD94bWwgdmVyc2lvbj0iMS4wIiBlb</clipdata> </track> </data> <completed/> </root> [/code] And this some part of my code: [code] AttributesImpl atts = new AttributesImpl(); AttributesImpl atts2 = new AttributesImpl(); AttributesImpl … | |
Hi, I'm not getting any response for the following ajax request. I'm getting the following error when i try to run request_get_xml.html im mozilla firefox: XML Parsing Error: not well-formed Location: moz-nullprincipal:{d4e6a0fb-93c0-4ef4-82cf-7ccbd5c1e02e} Line Number 4, Column 2: -<CATALOG> -^ does anyone know on where i'm making a mistake. thank you. … | |
Hi, I have a simple xml with me, which has two soap envelopes as attached. I am currently at the second occurence of v11:rootCauses(<xsl:template match="*[local-name()='rootCauses']). From here how can I get the position of soap:Body, Grandparent of the previous occurence of v11:rootCauses, which should be 1. | |
Hi All, Can anyone please let us know whether this can be done using apply templates or for each. The below xml, MuliResponse, can contain, multiple, even number, of soap Body parts. The funda is, if we have one card in the input, multiResponse will have 2 soap Body parts.4 … | |
Hi, I am just a beginner to XSLT. My Input XMLs is like - <?xml version="1.0" encoding="UTF-8"?> <ABC> <filter> <name>Key Value</name> <value><![CDATA[A=344#B=123445#C=432#D=1432#E=16485]]></value> </filter> </ABC> I have made a XSLT which will fetch the value of above Key_Value <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <xsl:output method="xml" omit-xml-declaration="yes"/> <xsl:template match="/"> <xsl:apply-templates/> … | |
Hi Friends, i have a XUL tree loaded dynamically from XML using XQUERY query type xml(Xpath Expressions). How can i do a filter/search in XUL tree. I have found some code for custom tree from Mozilla website but that doesn't work with dynamic tree. When i type something in the … | |
Hi, need help in xslt usage in VERSION 1.0 ... i have requirement to convert a xml to anaother xml using xslt: For each property != empty condition exists for property==empty take the previous condition and update the value section only please help... input xml is :- <data jsxid="jsxroot"> <record … | |
Scenario: Web Service needed to calculate values and send results back as json. These calls are to be made cross-domain so I'm using jsonp. The problem I'm having occurs both on the same domain and cross-domain. Problem: I'm having an issue getting back json data from a WCF Service. While … | |
Hi, I am trying to call function provided by exslt in .NET. xmlns:date="http://exslt.org/dates-and-times" extension-element-prefixes="date" I prefixed "date:" to the function. <xsl:variable name="dow"> <xsl:value-of select="[B]date[/B]:day-in-week($DateTime)"/> </xsl:variable> It works fine in XALAN but throws an error in .NET saying "date" is not declared. Please advice. Thanks!!! | |
<table border="1"> <th>Title</th> <th>price</th> <tr> <td>book</td> <td>$20</td> </tr > <tr> <td>book2</td> <td>$19</td> </tr> </table> | |
| I am a very new beginner in XPATH, so apologize if this is not the place to ask. I want to select the Child Table 2 within the table below using XPath. [CODE]<table width="100%" border="0" cellspacing="0" cellpadding="0"> //// MAIN TABLE <tr> <td colspan="2" style="padding-left: 2px;"> <table border=0 width=100% cellspacing=0> //// … |
Hello I have an XML file that uses <Document Element> I was wondering if it is possible to sort my XML file by sortOrder? Here is an example of my code: [code] <?xml version="1.0" standalone="yes"?> <DocumentElement> <Item DataField="A03" Header="RDAW TEST" UseDefaults="Yes" SortOrder="1"/> <Item DataField="A01" Header="Eg: Assignment 1" UseDefaults="Yes" SortOrder="2" /> … | |
hi, i have a xml file and i would like to read and write data in XML file. thanks regards umesh chand daiya | |
I am trying to use <xsl:if test= "node/text() = '.' to copy a node from a destination xml document to the source xml document, but only if there is a match between the text() nodes being checked from each document. My if test= "node/text() statement is always returning a match … | |
I have some code which exports the contents of a gridview to XML. The XML is coming out with incorrect field tags: <tr> <td>Builder Damage Inspection</td> <td>request for final BDI inspection. No damage report on pre damage inspection.</td> <td>2008-07-09 3:13:59 PM</td> <td>2008-08-13 9:13:48 AM</td> <td>512135</td> <td>5450865</td> <td>CLOSED</td> </tr> Here is … | |
Hi everyone, May I ask how to solve Index out of bound exceptions in xslt ? thank you :) |
The End.