6,049 Topics
![]() | |
For the past 2 days, no matter which Sharepoint web service I access via Python's suds lib, the remote service always returns 403 Forbidden. I'm using Python Suds 0.4 and Python NTLM 1.0. Suds 0.4 has built-in support for accessing Python NTLM. I followed the documentation from Suds's website on … | |
Hi Guys and girls, I'm trying to save the font settings of my component and load them back in via xml. I have xml working with saving and loading of every property except Font. When I save font its as an integer. But when I load the value back in … | |
Hello , the problem is this, i need to install the XML-LibXML library and it seems to be easier to put salt in your eyes than to realize this. I get the error below which basically states that i cannot install the library because i don't have libxml2 installed. Of … | |
I want to write an XML file in the following format [ICODE]<?xml version="1.0" encoding="utf-8" ?> <trans> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from listbox2"/> <trans eng="string from listbox1" type="string from … | |
Hi Guys, We are having an issue with the video playing on our client's site. The video plays fully locally but not fully once set live on the any of the browsers, it plays just the first 15secs, then it stops. Can anyone share some ideas as to how we … | |
Hi All, I am new to web services.I want to know when i am writing the web services client how can i decide whether i have to write it using axis or axis2.I mean how to decide whether to use axis or axis2. Thanks to all in advance........ | |
Hey all, I have a problem to read a XML file using XmlReader. I have this code: [CODE] Dim xCount As Integer = 0 Using xReader As XmlReader = XmlReader.Create("tekno.xml") TreeView1.Nodes.Clear() Do While xReader.Read() With TreeView1 .Nodes.Add(xReader.Item("title")) .Nodes(xCount).Nodes.Add("(link: " & xReader.Item("link") & ")") .Nodes(xCount).Nodes.Add("Date: " & xReader.Item("pubDate")) .Nodes(xCount).Nodes.Add(xReader.Item("description")) xCount = … | |
Hello, I have one problem with xml reading. My xml file: <TransactionDetail> <SaleItem> [B]<ItemID>02900</ItemID>[/B] <Discount Splitted="false" TypeCode="6000"> <-- New section <LineNumber>7</LineNumber> [COLOR="Red"]<Amount>0.36</Amount>[/COLOR] <DiscountableAmount>1.19</DiscountableAmount> <DiscountName>RABATT</DiscountName> <DerivationRuleID>99</DerivationRuleID> <PromotionId>99</PromotionId> </Discount> </SaleItem> </TransactionDetail> How I can get "ItemID" when "Amount" > 0 ? My code: [CODE]XmlReader textReader = XmlReader.Create(new StreamReader(@"C:\TEMP\Working\EJR\"+ejrName, Encoding.GetEncoding("ISO-8859-1"))); XmlDocument xmlDoc = … | |
hi friends, I'm trying to read an XML file using a jQuery 1.4 ajax ... the code is something like this ... [CODE] $.ajax({ type: "GET", url: "abcde.xml", dataType: "xml", error: function(){ /* error lines goes here */ }, success: function(){ /* success lines goes here */ } }); [/CODE] … | |
Hi, I am applying transform to a input xml file using the following code. [CODE]//Applying transform for the input word xml file. XslTransform myXslTransform; myXslTransform = new XslTransform(); myXslTransform.Load(openFileDialogz_Xslt.FileName); myXslTransform.Transform("C://Target.xml", targetpath);[/CODE] In the XSLT file, wrote for displaying attributes as [CODE]<xsl:attribute name="label"> <xsl:value-of select="$level"/> </xsl:attribute> <xsl:attribute name="externalid"> <xsl:value-of select="$externalid"/> </xsl:attribute> … | |
any buddy can tll me how to insert data in database using Xml file. | |
Hi, I have a program that generates an outputstream with XML-data. With a socket connection, I have to read multiple XML-files from the inputstream. To read only one XML-file from the inputstream is not a problem, the fact that there are more than one and I have to split up … | |
Hi Folks, I am using XSLT 1.0, and stuck in a situation where I am having decimal rounding problem. Let me give you an example: My generated XML is: [CODE] <?xml version="1.0" encoding="UTF-8"?> <CostSummary> <CostingItems> <CostingItem CostBasis="7" Description="Per Person" PassengerRPH="1"> <UnitCost Amount="3.333333" CurrencyCode="EUR"/> </CostingItem> <CostingItem CostBasis="7" Description="Per Person" PassengerRPH="2"> <UnitCost … | |
Could you please help me in replacing the namespaces in the output. my input is <soapenv:Body> <abc:requestDocumentRequest> <abc:brand>brand</util:brand> <abc:portal>port</util:portal> <abc:userId>userid</abc:userId> <abc:folderName>folder</abc:folderName> </abc:requestDocumentRequest> </soapenv:Body> I need the soap body with different namespaces <soapenv:Body> <xyz:requestDocumentRequest> <xyz:brand>brand</util:brand> <xyz:portal>port</util:portal> <xyz:userId>userid</xyz:userId> <xyz:folderName>folder</xyz:folderName> </xyz:requestDocumentRequest> </soapenv:Body> | |
Hi Friends, I am new to this XML & XSL. I want to write a template which takes two arguements and it should take the node name and node value. in template i want to format the input value. Please share if any one can guide me on this. The … | |
Hello, I hope someone can give me some help. I have a datagridview (Unbound), wich calculate several numbers, and I use this following code to save 5 of the columns to a XML file. My problem is that I would like to load this file back to my datagridview, and … | |
Hi, I have made a small application that creates an RSS feed from my Cafe Press store using the Cafe Press API. As I am still in the developement stage I have currently created 2 feeds for testing purposes but I am struggling to understand what is going wrong with … | |
I have the following source xml file. <root> <child1></child1> <child2></child2> </root> I need to convert it to <MYOWNTAG1> <TEST1>CurrentDate</TEST1> <TEST2>CurrentTime</TEST2> </MYOWNTAG1> <MYOWNTAG2> <XML> <![CDATA[<root><child1></child1><child2></child2></root>]]> <XML> </MYOWNTAG2> I'm having problem in inserting the CDATA section.Please help. | |
Hi All, I have webservice which i having webmethod which returns boolean value. Its retruning the correct output value only when the connection is pointing to localhost. Can any one please guide me? Thanks | |
Hi, I have this xml file, in my XSLT file I want to process <Parcel .../> element first then the <DeliveryAdress ../> and then the <Consignment .../> element. I would be very grateful if someone could suggest a solution please. Thanks in advance. <xml version="1.0" ?> <MR23030B> <Header RECORD_TYPE="HD" METER_NO="10800" … | |
How can create xml file using data fetched from database... plz help me.. | |
Hi, I have a large complex XML and I need to change certain elements values in it. So output of the XML has to remain exactly same except those value be changed. Name of the file, preferably remain same. Element Name & Values that will be changed will come from … | |
Hi All, We would like to remove some redundant lines in XMLfile1. The second block is repeated, except the ctrycd, second block, it is 826. Can we combine that aslso in first block, something like xmlfile2. We have many redundant lines like this. Any help is appreciated. | |
I have this XML: <p> <span>Foo</span> <br/> </p> <p> <span>Foo</span> <br/> <span>Foo</span> <span>Foo</span> <br/> </p> <p> <span>Foo</span> <span>Foo</span> <br/> <span>Foo</span> <span>Foo</span> <span>Foo</span> <br/> </p> I would like to be able to select the <br/> tag first and then loop through the spans above them. The reason for this is to … | |
Hi, I have an XML file that I am trying to parse and then sort into an re-ordered list. Currently the XML file is ordered via date ascending i.e. oldest item first, newest last. I know how to parse an XML file using 'XMLNodeList - GetElementsByTagName' but what would be … | |
Greetings to all. My problem is not particularly VB.Net specific but having looked around this forum, I didn't know exactly where to post it and considering that I'm writing my program in VB.Net, I just decided to do so here. I apologize in advance, if that was wrong of me. … | |
While accessing my web service i am getting XMLHttpRequest status=0 in Crome/Mozilla and in IE getting XMLHttpRequest status=406. What is the solution for it so that i will successfully get responseText from server? I have tried accessing my html code with localhost but its getting same error,while when i run … | |
I need to create WSDL file for my [B]Web Service[/B]. Web service receives xml-based request and responses to it. [B]Sample xml-based request:[/B] [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckRequest> <OrderNumber>34552</OrderNumber> <IIN>81070581488</IIN> <RNN>5851515115</RNN> <IBAN>KZ86926002P468708027</IBAN> <PaymentAccountType>1</PaymentAccountType> <OrderDate>2011-08-26T11:36:59.4050385+06:00</OrderDate> </PEP_IBANCheckRequest>[/CODE] [B]Sample xml-based response:[/B] [CODE]<?xml version="1.0" encoding="utf-8"?> <PEP_IBANCheckResponse> <OrderNumber>34552</OrderNumber> <OrgOrderNumber>65412</OrgOrderNumber> <OrderRunDate>2011-08-26T12:00:51.0369231+06:00</OrderRunDate> <Status>0</Status> <OrgBIC>65156151</OrgBIC> <OrgRNN>5445848</OrgRNN> </PEP_IBANCheckResponse>[/CODE] By looking at … | |
[CODE]package demo.weatherforecast.main; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import org.xmlpull.v1.XmlSerializer; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import android.util.Xml; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; import android.widget.SimpleAdapter; import android.widget.Toast; public class EditCity extends Activity { String xmlFilepath … | |
i have few xml files in my project.i used "advanced installer" software to create exe setup files.i have included the xml files in PROJECT->BIN->RELEASE ->RESOURCES folder. after installing the project setup,when i run the project, i am able to view the xml file details ,but i cannot add new content … | |
Has anyone found a good way to create powerpoint files on the fly. I'd like to go straight from PHP but creating from an HTML or XML doc is fine too... Also I'm totally Linux so COM Objects on Windows is out... thanks for any help... | |
This is the code generating xml to feed into Javascript How to convert javascript output of the image to swf format using JAVA.. [CODE] package com.info.chart; //Contributor: i18n : Pedro Casals Fradera (2006/06/22) import java.awt.Color; import java.awt.Font; import java.awt.Paint; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.text.NumberFormat; import java.text.SimpleDateFormat; import … | |
Hey guys! I started learning Python 3 four days ago and I wrote a little command line RSS Reader (~120 lines) using the [URL="http://feedparser.org/"]feedparser module[/URL]. The rss reader currently has a menu, and also receives command line arguments (run the script with "-h" or "--help" for more info). It has … | |
I am trying to attach an XML Schema to a document as mentioned here: [url]http://www.tech-recipes.com/rx/2099/word_2007_attach_xml_schema/[/url] However I am having trouble attaching the schema(s) in question. I am wondering if anyone can shed light into possible reasons this is happening. The XML Schemas I am trying to attach are these: [url]http://www.ddialliance.org/Specification/DDI-Lifecycle/3.1/XMLSchema/[/url] … | |
hello.. just want to ask if it's possible to save html form field values in an xml file without using any server side script like ajax or php. i just want to use javascript and i want to do it offline witthout using any server like tomcat. is it possible? … | |
I am trying to work on some code for updating google docs using the python gdata api's. The code works perfectly fine when i try to run the code in a cafe internet or home network without my proxy. When i have to deploy the code in my workplace - … | |
Hi, I am providing a snippet of a large code, this snippet intends to dynamically insert a list of filenames into a <select> element on pageload, the filenames being read via Ajax from a XML file kept in the same folder as this one: [CODE] <html> <head> <title>hi</title> <script src="https://www.google.com/jsapi" … | |
Hello Highlly Tinker Guys, I want XPath of Each Node in XMlFile in Vb.net Below Is my Code on button click event [CODE] Dim szXMLDoc As XmlDocument=New XmlDocument() szXMLDoc.Load(Server.MapPath("ChurchFolders.xml")) '------Code to find xpath for each node----------- [/CODE] The ChurchFolers.xml file is As below [code=xml] <xml version="1.0"> <folder id="parent" path="~/MyChurch"> <folder … | |
In this class for each case i'm generating XML (XML creation code is in last) in Xhtml i added javascript [CODE] <tr> <td align='center'> <div id="chart1Div"> This text is replaced by chart. </div> <script type="text/javascript"> var chart1 = new FusionCharts("Charts/MSColumn3D.swf", "ChId1", "600", "600", "0", "1"); chart1.setXMLUrl("Charts/test.xml"); chart1.render("chart1Div"); </script> </td> </tr> … | |
I am using VS 2010 and am debugging my XSLT on one of my XML files. This works fine. It splits so I can see 2 files at once - but that will only show me 2 files at once. 1) XSLT file as I walk through it 2) Either … | |
I need to find a way to carry a value I get from a template to another template. Both templates are on the same level. I thought I could use variable or param to do this but I cannot make it work. I tried finding a way using Google but … | |
Hey everyone, I've never used eclipse or java, and I have an assignment that is expected to use the XML encoding/decoding functionality. I've searched google a bit, but can't really find a good example. Does anyone have a link to some snippets or something that I could go by? | |
Hi, I have a list of posts which I want to share with my group of workers. I use an rss reader to read them personally. how can I share it with them. I tried google reader but it does not show all the posts in the shared option. Also … | |
I have a xml file.I can get it's data using 19 table but i want to get relationship and print data in one table | |
Hi i have generating xml file for chart(fusion chart). that chart having swf format file for each chart. i'm creating xml in case statement( case 1 for horizontal bar xml(file),case 2 for verical bar xml(file)) i have created that file by giving straight path it is not servlet it is … | |
So I have this code so far to parse some values from many XML files. What I can't figure out is how to declare the folder that i need it to open. I need the code to open up a folder on my c:\ that has lots of xml files … | |
Hi, I am a newbie to C# and OOP.. I need some advice regarding my requirement.. 1st Part: There are persons who use mobiles, of many subscribers and also have many numbers in each subscribers. If we consider the XML tags it would be [CODE]<Persons> <PersonName1>XXX</PersonName1><Subscriber1><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><two>123456</two>....<twenty>20</twenty></Numbers></Subscriber1><Subscriber2><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><tow>123456</two>....<twenty>20</twenty></Numbers><Subscriber2> </Persons>[/CODE] Like … | |
I describe my problem with following simple example. [CODE] function show(str) { if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); } else xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("txtHint").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","data.php?q="+str,true); xmlhttp.send(); } [/CODE] here,i am getting some responsetext or result from data.php file through my request. In my … | |
Hi, I have error message . Please help me. 17 Attribute value "001" of type ID must be an NCName when namespaces are enabled. I am attaching file <!DOCTYPE cataloge [ <!ELEMENT cataloge (DVD)* > <!ELEMENT DVD (title?, genre?, rating?, viewerrating?, summary?, year?, director?, runtime?, studio?, actor? ) > <!ELEMENT … | |
Hai all, Please help me to compare two xml files using vb script or java script. example of xml file [CODE] <table name="uninstall_software" numRows="0" remarks="" schema="dbo"> <column autoUpdated="false" digits="0" id="0" name="swtitle_id" nullable="false" remarks="" size="10" type="int"> <parent column="id" foreignKey="c_uninstall_swtitle_id" implied="false" onDeleteCascade="false" table="software_title"/> </column> <column autoUpdated="false" digits="0" id="1" name="machine_id" nullable="false" remarks="" size="10" … |
The End.