3,634 Topics
| |
This one ought to be extremely easy for experienced xslt-ers. I have an html file, and in it are things like <div class="ghoul"></div> <div class="vampire></div> and so on. In my stylesheet, I have different things to do with the div's depending on the class. So I have <xsl:template match="div"> <xsl:choose> … | |
how to access xml resource file in C# wpf application? i have made xml file a resource file but i cant access it . here is a code: private static string MessageExtract(string tagName) { XmlDocument messageTags = new XmlDocument(); messageTags.Load(@"//resources//Messages.xml");//this dont work XmlElement messageRoot= (XmlElement)messageTags.GetElementsByTagName(tagName)[0]; return messageRoot.GetElementsByTagName(AppManager.GetCurrentLanguage())[0].InnerText; } | |
Hi All, I am trying to create an XML file that saves email addresses and files. This would then be read by another application and will send the emails and attach the files to the email. I am using the OpenFileDialog to get the file path and name. But when … | |
Hi, I have a few SOAP+WSDL examples and all work fine. All have this bit in all my WSDL files: [CODE]<definitions name="MyExample" targetNamespace="http://localhost/myapache/friends.wsdl" xmlns:tns="http://localhost/myapache/friends.wsdl" [COLOR="Red"]xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"[/COLOR] >[/CODE] I am wondering if I can host these 3 links (last 3 with red coloured) on my local server as well. I … | |
Hi, I do not know how to pass parameters using soapclient with call method in PHP. ---------------------------------------------------------------------- [B]Description:[/B] This command is used to authenticate the user. Most of the biz functions require authentication in order to function. If the session is already logged in then a subsequent successful login will … | |
Hi, I have a WPF program written in C# that updates an Xml file from a textbox when a submit button is clicked. The code works as I can tell that the xml file is updated after the execution of the program, however I would like the update in real … | |
Hi, I want to send parameters to wsdl (xml file). I give sample code below. --------------- [B]createsession.php[/B] ------------------------------------------------ <?php session_start(); require_once('lib/nusoap.php'); $client = new soapclientw('https://www.domin.com/services/umarketsc?wsdl', true); $client->soap_defencoding = 'UTF-8'; $client->decode_utf8 = false; $sessionResult = $client->call('createsession'); // [B]No parameters[/B] echo 'Session ID : '. $sessionResult['sessionid']; ?> ------------ [B]End code[/B] --------------------------------------------------------------- [B]Sample … | |
Response: ---------- [CODE]<?xml version="1.0" ?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns3:createsessionResponse xmlns="http://www.utiba.com/delirium/ws/TypedQuery" xmlns:ns2="http://www.utiba.com/delirium/ws/Misc" xmlns:ns3="urn:UMARKETSCWS" xmlns:ns4="http://www.utiba.com/delirium/ws/StdQuery"> <ns3:createsessionReturn> <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid> <ns3:result>0</ns3:result> <ns3:result_namespace>session</ns3:result_namespace> <ns3:createsessionReturn> <ns3:createsessionResponse> <S:Body> <S:Envelope>[/CODE] ------------------------- How can i get xmlns Attribute Values using PHP. [ICODE] <ns3:sessionid>6DL42ED0GG67MADDTD96</ns3:sessionid>[/ICODE] I want to take [ICODE]<ns3:sessionid>[/ICODE] value [ICODE][6DL42ED0GG67MADDTD96][/ICODE]. Please reply asap. very urgent. Thanks William | |
for example: the html file is as fllows: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>HTML form </title> </head> </html> then after the htmlparser the xml file is as fllows: <?xml version="1.0" encoding="utf-8" ?> - <pagestructure> - <pageNodeList> - <pageNode id="0" name="" tagName="html" parentNodeId="-1"> <nodeValue /> </pageNode> - <pageNode id="1" … | |
Hi All, New here and very new to .Net. I am currently trying to learn about consuming web services within .net and am having trouble with the following example. I have the WSDL file to contact a vehicle look up web service which based on the selection in a drop … | |
hay gays i want to retrieve xml data from three table stored in mysql. i used the below code it works fine but first it retrieve one record from first table than iterate to second table and print the whole table and then iterate to third table and print the … | |
Hello i want create gui for aria2c( internet download manager ) with java for doing this aria2c has built in xmlrpc. i use xmlRpc to create gui for aria2c. in aria2c support site there is a example code for python programming language that uses xmlrpc [CODE]>>> import xmlrpclib >>> s … | |
I need to select attributes from my XML file and output the info into a table using XSL, need to output day name, instructor and class being taught, the problem is that I have multiple attirubtes within each group. my XML: <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="g4.xsl"?> <schedule> <student_info> Vitaliy Berkovich … | |
Hello guys! I am new to web development in general and C# particularly. Recently I have been given a project to create a simple web application, using C# and .NET. The application is divided into three parts: Data Access Layer with an XML file attached to it, the Business Layer … | |
hi all, please can u help me, it's urgent and i'm working on it about 5 days without result i have a xml file: [CODE] - <Menus> - <UsersMenu> <ID>1</ID> <Text>Button1</Text> - <UsersMenu> <ID>2</ID> <Text>B1I1</Text> <link>template.aspx</link> <parent>1</parent> </UsersMenu> - <UsersMenu> <ID>3</ID> <Text>B1I2</Text> <parent>1</parent> - <UsersMenu> <ID>6</ID> <Text>B1I2I1</Text> <link>template.aspx</link> <parent>3</parent> </UsersMenu> … | |
Hello mates i am having a problem designing a new DTD over the existing one found at: [url]http://dblp.uni-trier.de/xml/dblp.dtd[/url] This is the DTD over their original XML file. I used a SAX parser to store specific data from the original file into my relational database. Now i have to do the … | |
hi, never done this before and wondered if anyone could point me to a fairly simple step by step guide on how to add an rss feed from a site into our own web site? many thanks | |
Hi I'm trying to create a choosing statement by using a link ie [CODE] if(Link == google) run something else (Link == yahoo) [/CODE] Meaning that if the declared link is google it will do something else if it will load yahoo Here's what i'm thinking how the code is … | |
Often times I see a SOAP document (blog or example) that references the WSDL from the client side as: [url]http://yourUserid:yourPassword@example.com/foobar.wsdl[/url] as in this example:[code] $client = new SoapClient("https://yourLogin:yourPassword@foo.com/bar.wsdl", array( "login" => "yourLogin", "password" => "yourPassword", "trace" => 1, "exceptions" => 0));[/code] How are they processing the userid/password and managing the … | |
[CODE] <RecentGames> <XboxUserGameInfo> <Game> <Name>Plants vs. Zombies</Name> <TotalAchievements>12</TotalAchievements> <TotalGamerScore>200</TotalGamerScore> </Game> <LastPlayed>2010-11-08T04:01:33+00:00</LastPlayed> <Achievements>1</Achievements> <GamerScore>10</GamerScore> </XboxUserGameInfo> <XboxUserGameInfo> <Game> <Name>Kinect Sports</Name> <TotalAchievements>50</TotalAchievements> <TotalGamerScore>1000</TotalGamerScore> </Game> <LastPlayed>2010-11-08T01:46:06+00:00</LastPlayed> <Achievements>0</Achievements> <GamerScore>0</GamerScore> </XboxUserGameInfo> <XboxUserGameInfo> <Game> <Name>Halo: Reach</Name> <TotalAchievements>49</TotalAchievements> <TotalGamerScore>1000</TotalGamerScore> </Game> <LastPlayed>2010-11-07T18:37:13+00:00</LastPlayed> <Achievements>23</Achievements> <GamerScore>245</GamerScore> </XboxUserGameInfo> </RecentGames> [/CODE] How do I read the different Information of each node even though … | |
Hello everyone, I am a beginning programmer using XSLT. I work at a company wich has a database witch generates catalogs, exporting XSL and XML to FOP.(wich converts to PDF). the program runs on apache and is build in delphi. That being said, I was wondering if it is possible … | |
i am creating a web-album for my site. what i am trying to do, is on the homepage, if a user clicks on a specific thumbnail, it will got to the album using a #image[number] tag. i have this code so far for changing the images based on the tag … | |
Dear All, I am currently working on an assignment. And I wanted to implement a bit ajax in it. I've got my html page, and on an onclick event the ajax code is going to populate a table and place it in my html page. The php file is working … | |
Greetings Good People of DaniWeb, I have been on a search for a solution for my problem for weeks and weeks now. My search has brought me into this wonderful community in which I hope to find help. I will be doing my part in the community by providing help … | |
I have to display a <div> data in a loop in XSL.But the below code is not working. Please help. <script> i=3; for(i=0;i <xsl:text disable-output-escaping="yes"><</xsl:text> count;i++) { </script> div style="float:left;background-color:#D3D3D3;width:100">test</div> <script> } </script> | |
Another total Nuby collection. I have an xml file from which I wish to eliminate all elements that have any attributes at all. All I really need to do is eliminate the contents of the attribute. How do I do this? My plan is to start with <xsl:template match="Contains an … | |
i have used the XMLEncoder to put my list of clients details into but am wondering how i go about retrieving information from the xml files say for instance if i wanted to show all clients who were entered on a specific date? so far i have. public void dxml(){ … | |
Hi, I have an xml like this <agency count="133">GOV.NIH.XYZ.465.56</agency> <agency count="129">GOV.NIH.ABC.245.21</agency> <agency count="216">GOV.NIH.NCI.456.23</agency> <agency count="48">GOV.USDA.4412.345.08</agency> <agency count="46">GOV.USDA.1411.345.00</agency> <agency count="51">GOV.USDA.5512.231.05</agency> <agency count="42">GOV.USDA.1411.16.10</agency> <agency count="39">GOV.USDA.5512.16.12</agency> <agency count="32">GOV.USDA.1411.17.03</agency> <agency count="60">GOV.FDA.4412.33.56</agency> <agency count="59">GOV.FDA.4410.45.87</agency> <agency count="55">GOV.FDA.1411.56.213</agency> <agency count="60">GOV.FDA.1412.86.45</agency> <agency count="55">GOV.FDA.1431.32.45</agency> I need to sort them based on the coutn for each agency . The results … | |
Hi! Is it possible to retrieve XML data and input it to mysql database using JSP? If so, how will I do it? I'm new to java by the way. Thanks in advance to those who will reply! | |
Google do have cinema listings but they dont have an api available for [url]http://www.google.com/movies[/url] even though the search itself works. when using a standard search api google ommits the cinema data which you can usually do be performing the search: "movies, local area" so has anyone got a workaround for … |
The End.