6,049 Topics
![]() | |
Hi, I am working on a test site locally. I am loading an xml file into my database with teh following sql query: LOAD XML LOCAL INFILE 'C:/courseInfo18.xml' INTO TABLE wp_courses ROWS IDENTIFIED BY '<Course>' (ReferenceNo, ProviderCode, ProviderName, CourseID, CourseName, CourseTypeID, CourseTypeName, LocationCode, LocationName, StartDate, FinishDate) ; It works fine … | |
Spring has been getting rather unseasonably hot for Apache users as far as security flaws go. First there was news of how the FREAK (Factoring Attack on RSA-EXPORT Keys) vulnerability could impact Apache. For more on FREAK see this [excellent analysis](http://blog.cryptographyengineering.com/2015/03/attack-of-week-freak-or-factoring-nsa.html) by Matthew Green, a cryptographer and research professor at … | |
My build.xml can run junitTest well but when I tried to build with cobertura instrument, JunitTest failed, Why? <target name="instrument" depends="compile"> <echo> ====== run target instrument ==== </echo> <!-- Remove the coverage data file and any old instrumentation. --> <delete file="${junit.dir}/cobertura.ser" /> <delete dir="${instrumented.dir}" /> <!-- Instrument the application classes, … | |
Hi All, I am a unix script debeloper and I am very new to html coding with basic awarness of syntax. My question is how to add html attributes inside the paragraph which actually contains my XML data? <LIST> <ControlSegment TABLENAME="QueueGeneric" CLIENT="PST" DOCUMENTSTATUS="" PARTNERTYPE="TP" EDITXM="410" EDIVERSION="005010" EDIMESSAGETYPE="4100" EDIMESSAGECODE=""/> </LIST> When … ![]() | |
Hi People, I was trying to get data from xml file to my textBoxes in another form. But i get stuck.. all morning trying, searching on google, forums.. Im trying to on double click in listview item , call my AddPerson(Form) to edit that selected person.. but all ways i … | |
Hi people, i need to delete selected row in ListView from xml file.. i have this code: private void tsBtnDeleteRow_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count == 0) return; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("diogomonteiro.xml"); //XmlNodeList newXMLNodes = xmlDoc.SelectNodes("/Pessoas/Pessoa[name=wd]"); PessoaListViewItem item = (PessoaListViewItem)listView1.SelectedItems[0]; string value = item.ToString(); if (item != … | |
I have been told to do a novice-level project on webservices. I surfed for a while to reach something called Microsoft SOAP development kit. I think it will be really helpful if somebody helps me figure out the theme for my project. Is it OK for a beginner to work … | |
hello experts, I want to show .jrxml file in html div as a preview of created report. I am using eclipse luna and I was created a report in jasper soft studio 6.0. and i need to show this jrxml file in html <div> </div> So please help me. thank … | |
I'm having a problem with my XML and XSL pages. My XSL sheet is not complete yet, but when I go to view my XML to see how it looks so far, I get an error saying, "Error loading stylesheet: Parsing an XSLT stylesheet failed." Does anyone know why this … | |
I am just in the first week of XML class. Never even heard of it before this class. I am getting this error message, and here is my output. I have tried in IE and Chrome. Same result. Can someone tell me what I am doing wrong? Thank you!!! Teddi … | |
I am trying to install drush on a shared server with hostgator. Everything goes smoothly when I try to run drush basically it says command not found. Please can anyone help. Kind Regards, Jonathan | |
![]() | Hello, I am trying to query an xml table. Here's the basic structure: <Table> <GroupPermissions> <Group GroupName="Name"> <ModuleRestricitons> <Module1> <Button1 value="False" /> </Module1> </ModuleRestrictions> </Group> </GroupPermissions> </Table> The logic I am tyring to perform is this: Where GroupName="Name" set button 1 value="True". There are many other groups, so I need … ![]() |
Form1.cs public partial class Form1 : Form { DataSet ds = new DataSet(); DataTable table = new DataTable(); //List<Pessoa> p = new List<Pessoa>(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { //Add Columns to DataTable (table) table.Columns.Add("Nome", typeof(string)); table.Columns.Add("Idade", typeof(string)); table.Columns.Add("Profissão", typeof(string)); table.Columns.Add("Signo", typeof(string)); table.Columns.Add("Morada", typeof(string)); … | |
I'm trying to write a javascript routine to crawl an XML document (of unknown elements) and parse out name/value pairs where "<nodename>nodevalue</nodename>" would come out as "nodename=nodevalue". What I have works great through the second element, then it stops traversing. I feel like I'm close but I just cant get … | |
Hello all, I have a problem with a program i'm trying to write. I only need 1 more thing to make it work properly, the textboxes that are filled in must be added or overwritten in an existing XML file. I know i need to work with XMLWriter, but i … | |
Need to display xml file in html div by using external JavaScript? | |
Hi there ! I have xml and xsl files i need to convert them to xslfo files . I need this to convert to pdf files. Thanks. | |
Good day all ! i have a multi-dimensional array. the array was carefully built from my xml structure. here's it : array (size=1) 'Articles' => array (size=4) '@About' => string 'programming' (length=11) '@compile' => string 'pro' (length=3) 'Article' => array (size=3) 0 => array (size=6) ... 1 => array (size=6) … ![]() | |
I have generated wsdl2java code using axis 1.4 .One classes has 2 constructor methods (one default constructor and other one has 2 parameters). Other classes that inherit from one class have the constructor parameters in the wrong order.The schema files is correct as they come from the OTA specification Please … | |
Hi, Can you please assist here, I made a couple of research but couldnt get a clear explanation: When a disconnection happens during the tranfer of data through soap web services, what happens? 1) Will the host web server resend the data after reconnection or 2) Will it send only … | |
Hi, can someone guide me on how to create multiple xml from a csv file. It should locate and replace some date in a template and create file for each line of csv. Thanks in advance. Regards Shaqib | |
Ok excuse my stupidity here but I have a sitemap for my site [url]http://www.bongal.com/sitemap.xml[/url] but I wish to make an rss feed using the content in the sitemap. I dont want to have to waste my coders time with this but wondered if there is a simple way to do … | |
Hi peeps, Not sure if this is the right forum to ask, but I've been asked to look into a situation for a client. They have a .com domain for their website and they registered also their name as .nl, .eu, .be and a couple more. I know how to … | |
The Input Xml is Below. <?xml version="1.0"?> <TABLE tableid="PLSW"> <CELL rowmerged="T" rowspan="2" > <Para >11<refint>AA</refint> <ext>BB</ext> </Para> </CELL> <CELL rowmerged="T" rowspan="2" > <Para >12<ext>BB</ext></Para> </CELL> <CELL rowmerged="F" rowspan="1" > <Para >13<refint>CC</refint></Para> </CELL> </TABLE> I need XPATH for the above Input XML.If any of one <Para>contains refint with some other tag(<ext>) … | |
Hey everyone. Im creating a site and im trying to add a second RSS feed, even a third or forth if i can figure out how to do the second one first. The code bellow is in my index.html templeate. Its based off of Feedget. Im not sure how to … | |
I have worked with HTML in the past, but am new to XML. I think my code is mostly correct however I cannot figure out how to fix the remaining errors. I think my brain is stuck on HTML mode. Any help would be great. This form just has to … | |
I am a bit new in XML and show elements/records on a website. So, here is my xml result. What and how is the easiest way to echo (in php) eg mp:title or <c:assets> <c:link rel="PT01" type="image/jpeg" href="http://ecx.images-amazon.com/images/I/41Qd6Z8OA8L.jpg"/> or price or so? any example would be nice... Cheers <c:searchResults xmlns:c="http://webstore.amazon.com/API" … | |
I have the following wcf service: namespace Scanner { [ServiceContract(Namespace="scan.rsna.org/WebServices/BarcodeScanner")] public interface IBarcodeScanner { [OperationContract] bool InsertScanEvent(BarcodeScanner.ScannedItem barcode); } } namespace Scanner { public class BarcodeScanner : IBarcodeScanner { string dbConnection = ConfigurationManager.ConnectionStrings["annualMeeting"].ConnectionString; [DataContract] public class ScannedItem { Guid _scanID = new Guid(); string _badge; DateTime _scanTime; string _computer = … | |
Hi All, I am trying to do a foreach within a foreach for the same node which is taking more time. Attached my input and my expected output. Regards, Sathiya | |
Hi All, Im new to xsl., In my implementation im converting a language code to a language value by lookup from a xml file. Input: <XML> <Name>shades</Name> <Languagecode>555</Languagecode> <XML> output: <XML> <Name>shades</Name> <Languagecode>hindi</Languagecode> <XML> Lookup XML table:(external file) <Languages> <Languagecode>555</Languagecode><Language>hindi</Language> <Languagecode>556</Languagecode><Language>tamil</Language> <Languagecode>558</Languagecode><Language>telugu</Language> <Languagecode>559</Languagecode><Language>malayalam</Language> <Languagecode>557</Languagecode><Language>bengali</Language> <Languagecode>554</Languagecode><Language>punjabi</Language> </Languages> I tried with Key … | |
***Please don't post "spam" or "Thank you" posts in this thread since this is meant to be used as a guide for all beginners and I am sure we would like it to be on topic. I hope you understand this.*** **» Introduction to Java «** To start off, [Java](http://en.wikipedia.org/wiki/Java_(programming_language)) … | |
In my visual basic code, I have an object **(objXmlCaseDoc)** containing xml document. I want to add a variable **(strPoNumber)** into this object at the beginning of the xml document. I would like to add the code for the variable where I have a comment in vb code which says … | |
Hello all: Somebody, anybody, please please help. I am running the latest version of Fedora and below you will find the contents of /etc/httpd/conf/httpd.conf file. My problem is that when I try to view my site from the web I get the "Forbidden / You don't have permission to access … | |
<Root> ... <A CHANGE_THIS="Dont_ChengeME"> <B></B> </A> ... </Root> trying to change the attribute name of element A to something of my choice, using php's simpleXML API. here's what i've done: $xml = simplexml_import_dom($xmldom); $query = "root/A[@]"; $result = $xml->xpath($query); if(!empty($result)) $result['CHANGE_THIS'] = "Blalalalal"; //i believe this is where am doing … ![]() | |
Hi What would be a good recommendation for a practical resources on using xml, xpath and xquery? By practical I mean. Accessing values, storing files, creating set queries on xml to create a feed to push data to other applications (eg ipython, rstudio, the Web) maintaining data integrity, and transformng … | |
i have an xml structure: <root> ... <B ID="444"> <C></C> <D>Anything</D> <E> <child1 /*expected outcome came in here*/> /*sometimes here*/ </child1> <child2>data2 <!-instead of here-></child2> <child3>data3</child3> <child4>data4 /* and also here instead*/</child4> </E> </B> ... </root> i made an xpath query to fetch //*B, where child2==data2 and child4==data4 like this: … | |
i'am testing an xml structure: <Articles> ... <Article ID="333"> <author>Paul</author> <title>i hate xpath </title> <child1>bla</child1> <child2>blabla <subchild> <subsubchild DEEP = "Attribute"></subsubchild> //this is the value i wanna update and my nightmare </subchild> </child2> <child3>testing</child3> </Article> ... </Articles> what xpath expression will fetch and update (change) the subsubchild attrib node value … | |
i am new to xml...i dont know how to convert a word document to xml...can any one help me?? | |
Hello!!! If I have this <bookstore> <book author="Tommy"> <title>Emma</title> </book> </bookstore> and I want to get the node, I know that I must write this. string au = "Tommy"; string query = String.Format("//bookstore/book[@author={0}]/title", au); Also, if I have this <bk:bookstore xmlns:bk="http://www.test.com/"> <book author="Tommy"> <title>Emma</title> </book> </bk:bookstore> and I want to … | |
How to read clean data from .docx or .doc file? $file_url="http://www.abc.com/upload/test.docx"; $doc_data = file_get_contents($file_url); it's gives out put like �T�a�b�l�e� �N�o�r�m�a�l����ö��4Ö� l�4Ö���aö��� ���(�k ôÿÁ�(�� ������0�N�o� �L�i�s�t���� �����PK�����!�‚мú��������[Content_Types].xml how to get clean data like text file?? | |
Hello to all readers, I see many examples of report printing through xml-rpc for OpenERP 6 for the pyhton language but I can't seem to find any for PHP. Anyone can help with this? I run a payroll system based with PHP and I do everything through xml-rpc to talk … | |
I have an xml structure : <Articles> <Article ID="111"> <author>Peter Paul</author> <pubDate>01/01/2015</pubDate> <Translations> <lang1>English</lang1> <lang2>French</lang2> <lang3>Arab</lang3> <lang3>Chinese</lang3> </Translations> </Article> <Article ID="222"> <author>Monkey Rice</author> <pubDate>01/01/2016</pubDate> <Translations> <lang1>English</lang1> </Translations> </Article> <Article ID="333"> <author>John Silas</author> <pubDate>01/01/2017</pubDate> <Translations> <lang1>English</lang1> <lang2>French</lang2> <lang3>Arab</lang3> <lang3>Chinese</lang3> </Translations> </Article> </Articles> i created a method AddRecordByInfoMatch() that attempts to add … | |
I have a process defined. I use XPath to refer to each activity in the process. Now, I wish to create instances of the activities and be able to refer to these instances. Also, I need to refer to something like start activity X when second instance of activity Y … | |
Hi Guys, I am new to XSLT, looking to solve a problem I am facing in filtering XML records. I need to get both the Input XML record position and limit the output XML to a particular number (based on input provided to xsl:param from .net 1.1) Input XML <Parent> … | |
Hi, My issue with xml is, I have an xml like <a> <b> <c> <d1 att2="t1">test 1</d1> <d1>test 2</d1> <d1>test 3</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> I need to conver this xml to, <a> <b> <c> <d1 att2="t1">test 1</d1> <d1 att2="t1">test 4</d1> </c> </b> </a> <a> <b> <c> <d1>test … | |
I have xml like this <mainProcedure> <proceduralStep> <proceduralStep> <proceduralStep> <proceduralStep> </proceduralStep> </proceduralStep> </proceduralStep> <proceduralStep> <proceduralStep> </proceduralStep> </proceduralStep> </proceduralStep> </mainProcedure> the child node name for mainProcedure node is all same and no attributes and text. i need to find out which proceduralStep node is clicked and its position. | |
Good day everyone. I am trying to simulate (with php), an xml-like structure for json as follows: { "Articles": [ { "Article": { "ID": 111, "title": Origin of man", "author": "Man and Woman", "pubDate": "21st Feb, 2014", "summary": "Both Idiots" } }, { "Article": { "ID": 222, "title": "Origin of … ![]() | |
Hey,I wanted to know how to read a .txt file and the output should be in .xml format. I have the input file as input1.txt  My code: from lxml import etree import csv root = etree.Element('data') #f = open('input1.txt','rb') rdr = csv.reader(open("input1.txt",newline='\n')) header = next(rdr) for row in … | |
Hi I wonder if anyone can help please. I am stuck after unmarsheling complex type from JAXB in my web service operation. I can successfully unmarshal and loop through it which is fine however i am performing a search and want to return all the elements that match the search. … | |
Someone please guide me. I have just installed wireshark on ubuntu, and for the love of god, I can't figure out which button is supposed to filter SOAP and XML-RPC requests. A guide or tut would be great. :) |
The End.