3,634 Topics

Member Avatar for
Member Avatar for anand01

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]

Member Avatar for anand01
0
125
Member Avatar for z.cristiano

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 …

Member Avatar for stbuchok
0
122
Member Avatar for vaanipala

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 …

Member Avatar for karthik_ppts
0
234
Member Avatar for Chimunda

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 …

Member Avatar for hielo
0
180
Member Avatar for AjithAnnadurai

[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]

0
86
Member Avatar for toadzky

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 …

Member Avatar for toadzky
0
223
Member Avatar for himmat.m4

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: …

0
84
Member Avatar for jaango123

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.

Member Avatar for hiddenben
0
81
Member Avatar for vuyiswamb

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] …

Member Avatar for vuyiswamb
0
154
Member Avatar for vuyiswamb

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 …

Member Avatar for vuyiswamb
0
169
Member Avatar for jonow

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 …

Member Avatar for hiddenben
0
135
Member Avatar for rmsagar

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 …

0
49
Member Avatar for Ajuddy

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 …

Member Avatar for Ajuddy
0
635
Member Avatar for balaji44

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" /> …

Member Avatar for bibiki
0
193
Member Avatar for vbx_wx

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 …

Member Avatar for peter_budo
0
241
Member Avatar for vaanipala

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. …

Member Avatar for vaanipala
0
230
Member Avatar for jaango123

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.

Member Avatar for jaango123
0
53
Member Avatar for jaango123

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 …

0
53
Member Avatar for lizmehta

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/> …

0
73
Member Avatar for karthikin

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 …

0
69
Member Avatar for akamathb

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 …

0
49
Member Avatar for Aesculapius

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 …

0
70
Member Avatar for siddharthsethun

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!!!

0
54
Member Avatar for silvercats

<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>

Member Avatar for silvercats
0
119
Member Avatar for nugroho2

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> //// …

Member Avatar for nugroho2
0
121
Member Avatar for dawsonz

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" /> …

Member Avatar for pritaeas
0
159
Member Avatar for umeshMCA

hi, i have a xml file and i would like to read and write data in XML file. thanks regards umesh chand daiya

Member Avatar for thomas6188
0
235
Member Avatar for davidmhollis

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 …

0
60
Member Avatar for Mapper99

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 …

Member Avatar for hello2222
0
141
Member Avatar for perlnoob

Hi everyone, May I ask how to solve Index out of bound exceptions in xslt ? thank you :)

Member Avatar for pritaeas
0
38

The End.