6,049 Topics

Member Avatar for
Member Avatar for donz365

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 …

Member Avatar for DaveAmour
0
983
Member Avatar for happygeek

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 …

1
312
Member Avatar for Wei_3

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

Member Avatar for Wei_3
0
944
Member Avatar for Badhrish

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 …

Member Avatar for diafol
0
287
Member Avatar for mdev

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 …

Member Avatar for TekknoDraykko
-1
232
Member Avatar for mdev

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

Member Avatar for JOSheaIV
0
208
Member Avatar for null_pointer

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 …

Member Avatar for donz365
0
340
Member Avatar for prafulla23

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 …

Member Avatar for prafulla23
0
303
Member Avatar for lionburn50

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 …

Member Avatar for Squiva
0
2K
Member Avatar for computerbear

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 …

Member Avatar for Squiva
0
309
Member Avatar for jcomputing

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

0
212
Member Avatar for lithium112

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 …

Member Avatar for lithium112
0
449
Member Avatar for mdev

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)); …

Member Avatar for cgeier
0
374
Member Avatar for dawbin

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 …

Member Avatar for Airshow
0
294
Member Avatar for Extorza

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 …

Member Avatar for tinstaafl
0
159
Member Avatar for stevenson.nelli
Member Avatar for servent123

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.

Member Avatar for servent123
0
411
Member Avatar for osagie.odigie.148

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

Member Avatar for diafol
0
362
Member Avatar for Kumar Gaurav_1

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 …

0
188
Member Avatar for manaila

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 …

Member Avatar for pritaeas
0
201
Member Avatar for shaqib

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

Member Avatar for pixelsoul
0
213
Member Avatar for ojejones

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 …

Member Avatar for Stacey_1
0
337
Member Avatar for gentlemedia

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 …

Member Avatar for Stacey_1
0
276
Member Avatar for Suvathipriya

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

0
104
Member Avatar for Chris920

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 …

Member Avatar for Chris920
0
260
Member Avatar for nikc121

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 …

Member Avatar for efremmc1
0
246
Member Avatar for Simon_4

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

0
176
Member Avatar for yssirhc

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

Member Avatar for yssirhc
0
462
Member Avatar for Sathiyaraja

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

Member Avatar for glenn_3
-1
91
Member Avatar for Sathiyaraja

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 …

Member Avatar for Sathiyaraja
0
4K
Member Avatar for ~s.o.s~

***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)) …

Member Avatar for ~s.o.s~
46
6K
Member Avatar for win_1

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 …

Member Avatar for win_1
0
218
Member Avatar for driven13

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 …

Member Avatar for IOSIX
0
8K
Member Avatar for Osagie_1

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

Member Avatar for diafol
0
128
Member Avatar for flebber

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 …

Member Avatar for Mike Askew
0
351
Member Avatar for Osagie_1

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

Member Avatar for pritaeas
0
220
Member Avatar for Osagie_1

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 …

Member Avatar for gusano79
0
195
Member Avatar for kirangentlebree

i am new to xml...i dont know how to convert a word document to xml...can any one help me??

Member Avatar for BharathGowda
0
200
Member Avatar for sakis297

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 …

0
106
Member Avatar for Aamit

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

Member Avatar for Muzammil_2
0
7K
Member Avatar for Christopher_9

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 …

0
57
Member Avatar for Osagie_1

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 …

0
136
Member Avatar for Ques

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 …

0
93
Member Avatar for sarathcd

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

Member Avatar for Maruli
0
835
Member Avatar for chavsh

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 …

Member Avatar for xml_looser
0
150
Member Avatar for Nagarajan_1

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.

Member Avatar for xml_looser
0
239
Member Avatar for Osagie_1

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 …

Member Avatar for diafol
0
271
Member Avatar for varshaholla

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 ![0376d295e822f9bd4db190cdd215e996](/attachments/large/4/0376d295e822f9bd4db190cdd215e996.png "0376d295e822f9bd4db190cdd215e996") 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 …

Member Avatar for Gribouillis
0
345
Member Avatar for wilferraciolli

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

Member Avatar for Don_4
0
193
Member Avatar for madhatterauda

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. :)

Member Avatar for sultry_dry
0
56

The End.