6,049 Topics

Member Avatar for
Member Avatar for ChaseRLewis

Well I've been following the rapidxml sparse documentation but I'm getting confused because I'm getting an error saying "expected =" when I call parse<0>(char* c). Messy code I know, but trying to figure out how to use this api I'm new with. Loading Code [CODE]bool Shader::Load(const char* path) { std::ifstream …

0
94
Member Avatar for bluetoot

Hello! please i need help with this,after sumiting my form i get this error message on line 111 any help i will appreciate, thx [CODE]<?php session_start(); include("../Connections/recruit.php"); echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; //check certification $certification = $HTTP_POST_VARS['certification']; if($certification != "accept") { echo(" Your application has been terminated as a result of …

Member Avatar for satyajit das
0
400
Member Avatar for rkchowdary

help needed to output a comma separated ASCII file from an incoming xml file using xslt. Below Listed are the input and output. I am struck on defining the template to read each character from the input xml file. Any help is highly appreciated... [B]INPUT:[/B] <DST xml:lang="en-US"> <jobName version="1.0">SRVAuthenticate</jobName> <trace>0</trace> …

Member Avatar for pritaeas
0
258
Member Avatar for GabrielZiden

Hallo there. I have the following XML [CODE]<coordenadoria> <disciplina class="X" cod="AM123"> ...blablabla </disciplina> <disciplina class="X" cod="AM123"> ...blablabla </disciplina> </coordenadoria>[/CODE] Now, i have two kinds of 'selecs' i can do. I can choose a Discipline by its Cod, or its Cod+Class. using the following code, i can choose its Cod only. …

Member Avatar for dknochen
0
180
Member Avatar for manish250

hi all, i have developed a web service(https based) client which is running on my 4 servers.i am facing a issue on a server like this. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while client on all other 3 server is …

0
162
Member Avatar for zigpy_siva

Hi, we are using the XML Template of MS Word, and trying to use XPath(in a tool not code, but the same is not working in code also) to read the data from the xml file. attached the sample code, xml file and the XSD used to generate the word …

0
104
Member Avatar for rayidi

Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I …

0
115
Member Avatar for Stew007

A simple thing to do but I have a brain blockage this morning and would like some help. I have the following XML... <IntegrationMessage> <RoutingSlip> <NewMessageType> <Market> </Market> </NewMessageType> </RoutingSlip> <XML> <NewFile> ----- ----- I want to extract off using XSLT everything under the XML node so I am left …

Member Avatar for mmmathur06
0
114
Member Avatar for youvi

how can i create an xml file of datas in a database??see actually i have a database "data" and 3 tables named "gold","silver","normal".These three tables contains a lot of records as well...i just want the code to generate the xml file of the database "data". i want to retrieve the …

Member Avatar for vibhaJ
0
65
Member Avatar for knan

<text> <p><s id="s1"><ng><w pws="yes" id="w1" p="CD">25</w> <w l="woman" pws="yes" id="w4" p="NNP" common="true" headn="yes">Woman</w></ng> <vg tense="past" voice="act" asp="simple" modal="no"><w l="create" pws="yes" id="w10" p="VBD" headv="yes">created</w></vg> <pg><w pws="yes" id="w18" p="IN">for</w></pg> <ng><w vstem="succeed" l="success" pws="yes" id="w22" p="NN" headn="yes">success</w> <w l="barbie" pws="yes" id="w30" p="NN" headn="yes">barbie</w></ng> <ng><enamex type="location"><w l="reynold" pws="yes" id="w37" p="NNP" locname="single">Reynolds</w></enamex> <w l="sep" pws="yes" …

Member Avatar for snippsat
0
223
Member Avatar for hatebin

Hello Im trying to code something like this [CODE] public class Decoding{ Decoding(InputStream in) //constructor Object obj = new XMLDecoder(in) } } [/CODE] [CODE] public class Test{ public static main(String[] args0){ JButton button = new JButton(); decoder = new Decoding(new FileInputStream("somtheing.xml")); button= decoder } } [/CODE] So as you see …

Member Avatar for hatebin
0
116
Member Avatar for desbest

[B]How do I get the value of a node with XPath?[/B] Get all nodes which have a price above 35 [COLOR="Green"]/bookstore/book[price>35.00][/COLOR] But when I change the > to an = for equals, the query fails. Please help. By the way I'm using php, but that shouldn't matter as XPath is …

Member Avatar for pritaeas
0
172
Member Avatar for chamnab

can i write XML with JAVA ? if can ,can anyone tell me what book should i read ?

Member Avatar for peter_budo
0
147
Member Avatar for shannonkr

I'm trying to create an xsd dictionary for some data migrations, I don't fully understand how to format xsd:pattern values correctly, I was wondering if anyone had any ideas. I have some values that were done already: <xsd:pattern value="[a-zA-Z]{1}([#-. a-zA-Z0-9]*)"/> <xsd:pattern value="([ a-zA-Z0-9]*)"/> But I don't know how to manipulate …

Member Avatar for nmaillet
0
187
Member Avatar for michael!
Member Avatar for sacarias40

is there an existing api for a postal code system? for example, you are at a gas stations website, and you want to find a station nearest you. so you type in your postal code and it returns the result.\ thanks.

Member Avatar for gcornejo
0
101
Member Avatar for sam230

I am making a project where when you select a city, you will get all the hotels on google map as markers.. now i got two options whether make an external xml file for all the hotels and read that file.. or get result for database.. so friends what you …

Member Avatar for jkon
0
147
Member Avatar for vaanipala

Hi, I'm getting the following error when i try to get the next sibling of the current node in php: Fatal error: Call to undefined method DOMElement::next_sibling() in C:\wamp\www\Ajax\getcd.php on line 1 does anyone know on what i'm doing wrong? thank you. cd_catalog.xml [CODE]<CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> …

Member Avatar for hielo
0
156
Member Avatar for manu555

xml file [CODE] <?xml version="1.0"?> <tiltviewergallery> <photos> <photo id="10" imageurl="images/logo/cb0dc425946c764543897decab7cca56.jpg" linkurl="gallery.php?id=2&amp;gid=10"><title>ascsaas</title><description>sacsac</description></photo> <photo id="11" imageurl="images/logo/1896949a52b7685ebec8bc01862d6d68.jpg" linkurl="gallery.php?id=5&amp;gid=14"><title>sssa</title><description>sassa</description></photo> </photos> </tiltviewergallery> [/CODE] php code [CODE] $sql = "SELECT `id` FROM `galleryimg` WHERE `id`=$id"; $result = dbQuery($sql); $row = dbFetchAssoc($result); //$linkurl = 'gallery.php?id='.$row['id']; //$imageurl = 'imgs/'.$catImage; global $srvRoot; if (file_exists($srvRoot.'gallery.xml')) { $tiltviewergallery = simplexml_load_file($srvRoot.'gallery.xml'); foreach($tiltviewergallery->photos->photo …

0
69
Member Avatar for Dean_Grobler

Hello there, I'm busy working on a project using GWT and Sencha GXT libraries. I have come to this stage that I now have to populate a tree with data received from an XML file... I have no idea how to do this, I've gone through the javaDocs but it …

Member Avatar for RicardoE
0
180
Member Avatar for varoluscu_prens

Hi there; There is a problem in my code. I've designed a web site that reads and querying over a XML file. Here is my XML file structure: <?xml version="1.0" encoding="utf8"?> <Root> <User> <name> ayça <name> <surname> demir <name> <department> ftr </department> <TCIdno secrecy="c">48622845695</TCIdno> <rank> tuÄŸgeneral </rank> <telNo> 2114 </telNo> …

Member Avatar for Mad4Mini
0
153
Member Avatar for bibiki

Hey there, seems like this part of DaniWeb is not as active as other parts, but in hope I get an answer, I'm asking. I have this xml file: [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="site.xsl"?> <navigation> <link> <name>About</name> <content></content> <target>www.google.com</target> </link> <link> <name>Friends</name> <content></content> <target>www.google.com</target> </link> <link> <name>Archive</name> <content></content> …

Member Avatar for bibiki
0
145
Member Avatar for ronpar123

I am using JBoss as my app server. My application using almost 100 jars (libraraies).So How can I specify class path for all the libraries jar's because its not possible to define individually in JBoss_CLASSPATH .Can I define xml for the classpath but I don't know how JBoss detect or …

Member Avatar for stultuske
0
443
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
128
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
124
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
236
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
185
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
89
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
227
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
87
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
82
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
160
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
173
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
138
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
52
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
637
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
195
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
243
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
232
Member Avatar for msaqib

[HTML][/HTML] [CODE][color=#0000ff]using[/color][color=#000000] System;[/color] [color=#0000ff]using[/color][color=#000000] System.Collections;[/color] [color=#0000ff]using[/color][color=#000000] System.ComponentModel;[/color] [color=#0000ff]using[/color][color=#000000] System.Data;[/color] [color=#0000ff]using[/color][color=#000000] System.Data.OleDb;[/color] [color=#0000ff]using[/color][color=#000000] System.Drawing;[/color] [color=#0000ff]using[/color][color=#000000] System.Web;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.SessionState;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.WebControls;[/color] [color=#0000ff]using[/color][color=#000000] System.Web.UI.HtmlControls;[/color] [color=#0000ff]namespace[/color][color=#000000] lms[/color] { [color=#808080]///[/color][color=#808080]<summary> [/color][color=#808080]///[/color][color=#008000] Summary description for inc_search_books. [/color][color=#808080]///[/color][color=#808080]</summary> [/color][color=#0000ff]public[/color] [color=#0000ff]class[/color] inc_search_books : System.Web.UI.Page { [color=#0000ff]protected[/color] System.Web.UI.WebControls.TextBox Q; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Button Button1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; [color=#0000ff]protected[/color] System.Web.UI.WebControls.Label …

Member Avatar for deepakjoy
0
2K
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
56
Member Avatar for Kostas Theof

Hello to everyone and wish for a Happy New Year. I have an html code from which I want to execute various php files (with various parameters). Say the html file is called htmlcode.html. Say one php file is called phpfile1.php and a second php file called phpfile2.php Everything works …

Member Avatar for yahya al salman
0
3K
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
55
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
75
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
83
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
51
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
73
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
57
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
121
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
122

The End.