3,634 Topics

Member Avatar for
Member Avatar for alleybye

Hi I have a question, I want to transfer all nodes to a datarow Here is my XML <Employee> <person> <firstName>Jon</firstName> <lastName>Johnson</lastName> <skills>Singing</skills> <skills>Dancing</skills> </person> </Employee> THE HEADER TABLE SHOULD LOOK LIKE THIS WITH RELATION Profile_ID | Firstname | Lastname| 10 | Jon | Johnson | AND THE DETAIL TABLE …

Member Avatar for alleybye
0
299
Member Avatar for krovi

why we need to use abstract class instead of interface if we have all abstract methods in abstract class with out any implemented methods?

Member Avatar for pritaeas
0
39
Member Avatar for krovi

What is Inversion of control and Aspect Oriented Programming in Spring can you give one example

Member Avatar for pritaeas
0
67
Member Avatar for lse123

android eclipse environment... values-ru/string.xml appear error, that can NOT fix...well? > [2012-09-07 19:10:54 - mobi.androidprogramming.apps.SplashActivity] 'default' is not a best match for any device/locale combination. [2012-09-07 19:10:54 - mobi.androidprogramming.apps.SplashActivity] Displaying it with 'Locale Language ___Region __, sw320dp, w320dp, h533dp, Normal Screen, Long screen aspect ratio, Portrait Orientation, High Density, Finger-based …

0
62
Member Avatar for svilla

I have a Web Service I setup on the iSeries. It works when using SOAPUI and it works from the Built in test facility in the Native Web server. But when I try to access it form the following PHP program it fails to return any data. I am obviously …

0
105
Member Avatar for newbie1234

I have miniclip game's swf file. Before this game advertisement is coming. I want to remove that advertise script from swf file. Please guide me how to remove advertise script. So that i can play without any advertisement.

Member Avatar for pritaeas
0
63
Member Avatar for sritech97

Hi , I have an xml which is in the following format. <root> <x> <y> <uri>ssomeuri</uri> <date>2012-07-11T10:29:08+00:00</uri> </y> </x> <x> <y> <uri>ssomeuri2</uri> <date>2012-07-11T11:01:08+00:00</uri> </y> </x> </root> I wanted to get uris in the order of date. I am very new to xpath, can any body help me on this. the …

Member Avatar for Mike Askew
0
192
Member Avatar for WebStone

Hello Guys, Just wanted to ask on how to get the author names in the given xml sample below and put an attribut of eq="yes". EQ means Equal Contributors. This is the XML. <ArticleFootnote Type="Misc"> <Para>John Doe and Jane Doe are equal contributors.</Para> </ArticleFootnote> This should be the output in …

Member Avatar for Mike Askew
0
131
Member Avatar for reco21

Hello. I have this below SimpleXMLElement Object ( [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => plid_2 [name] => Playlist [ro] => ro ) [content] => SimpleXMLElement Object ( [name] => Playlist ) [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] …

Member Avatar for reco21
0
409
Member Avatar for lokesh.r.kandula

Hi Buddy, I have a requirement which is explained as below: 1. My input xml file is as shown: <input> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>14.74</observedRate> <observationWeight>1</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>10.28</observedRate> <observationWeight>2</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>27.96</observedRate> <observationWeight>3</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110111</observationDate> <observedRate>4.94</observedRate> <observationWeight>4</observationWeight> <observationType>fixing</observationType> </historicalObservation> <historicalObservation> <observationDate>20110225</observationDate> <observedRate>14.18</observedRate> <observationWeight>1</observationWeight> <observationType>fixing</observationType> </historicalObservation> …

Member Avatar for lokesh.r.kandula
0
370
Member Avatar for aplh_ucsc

this is my code:: <!--school.xml--> <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl" href="school.xsl"?> <UCSC> <student> <name>Isuru ilangakoon</name> <age>21</age> <contct_no>0714234672</contct_no> <degree>computer science</degree> <school>DVharmapala college</school> </student> <student> <name>randika malinga</name> <age>22</age> <contact_no>0713567134</contact_no> <degree>computer science</degree> <school>Nalanda college</school> </student> <student> <name>vinod kawinda</name> <age>22</age> <contct_no>0783451024</contct_no> <degree>computer science</degree> <school>maliyadewa college</school> </student> <student> <name>Inshaf mahatt</name> <age>21</age> <contct_no>0777234151</contct_no> <degree>ICT</degree> <school>D.S.Senanayaka college</school> …

Member Avatar for f-aplh
0
150
Member Avatar for biblemdkeid

I've just made a xml with xsd and it returns errors (after doing xmllint) but I don't know what I've done wrong please help <?xml version="1.0"?> <theatre xmlns="file:///students/u4722839/2012_Sem_2/comp3410/practice/theatre" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="file:///students/u4722839/2012_Sem_2/comp3410/practice/theatre/theatre.xsd"> <movie> <title> Dark Knight </title> <genre> Thriller </genre> <director> Christopher Nolan </director> <rating> PG </rating> <time> 2 hours </time> </movie> …

Member Avatar for Mike Askew
0
2K
Member Avatar for Manu Krrish

XML,Excel Macros Hi I am working on some stuff where i need to Import the data present in XML file to excel sheet. i wrote below code for it Sub ImportXMLtoList() Dim strTargetFile As String Application.DisplayAlerts = False strTargetFile = "C:\BookData.xml" Workbooks.OpenXML Filename:=strTargetFile, LoadOption:=xlXmlLoadImportToList Application.DisplayAlerts = True End Sub But …

Member Avatar for AndreRet
0
821
Member Avatar for abbelylee

I am trying to extract specific values of element from xml document and produce an output of XML data or a CSV document and arrange them is this order. Locator designator Locator name Locator Thoroughfare Addressarea. current order: <Locator>1</Locator> <LocatorDesignator>Dwelling (Part Of), Null</LocatorDesignator> <thoroughfare>Abesinia Passage</thoroughfare> <AddressArea>Abesinia Passage</AddressArea> <LocatorName>Dwelling (Part Of)</LocatorName> …

Member Avatar for Mike Askew
0
212
Member Avatar for hellerz85

Hello, I would like to be able to Read from a CSV file that will have "fields", lets call them ID, Name, Price. I want to be able to create a seperate XML file for each row in the CSV file. Right now, i have it so it will read …

Member Avatar for nmaillet
0
515
Member Avatar for smarty470

Dear all, I have a website in which I am using the following htaccess code to hide the file extension RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php I then manually removed the .php extension from the entire website. Now when I am generating a site map …

Member Avatar for smarty470
0
189
Member Avatar for cacofonix

Hi All, I am newbie to XML. I want to create only one XML file each day automatically using php function with the following format. I want to use the same function for appending the follwing portion into the existing XML file ## This portion need to append whenever the …

Member Avatar for pritaeas
0
414
Member Avatar for kaito-poland

Hi every one. I have a problem with combinning two scripts. Fisrt script is working perfectly and taking stuf from mysql: function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new …

Member Avatar for kaito-poland
0
143
Member Avatar for thak123

I want to write XMl using xml text writer ..but i dont want to final output to be the special symbols with amp; format ..how can i do it

Member Avatar for nmaillet
0
64
Member Avatar for shraddha_gupta

I have created a userConfig file to add MSGOTHIC font to FOP. <fop version="1.0"> <renderers> <renderer mime="application/pdf"> <fonts> <!-- register a particular font --> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="normal"/> </font> <font metrics-url="file:/tmp/msmsgothic.xml" kerning="yes" embed-file="file:/tmp/msgothic.ttf"> <font-triplet name="MSGothic" style="normal" weight="bold"/> </font> </fonts> </renderer> </renderers> </fop> Now I have set …

0
193
Member Avatar for abbelylee

I have a java application that reads csv file and displays the data on a text area. the idea is to transform this data(source data) into a target data, this involves rearranging it and transforming some elements in each field. now i intend to transform this displayed csv data into …

Member Avatar for abbelylee
0
327
Member Avatar for abbelylee

i have a set of xml data from a database, i want to transform these data into a form that would conform to the target data. in the sense that the elements node would change and the text nodes will also be rearranged something like source <?xml version="1.0" encoding="UTF-8"?> <XMLCreators> …

Member Avatar for Mike Askew
0
223
Member Avatar for kiranaditya

hi i need to know about technology or tool which require regarding my project. can anyone please help me my project is Universal remote hmi(human machne interface) which should be 1.platform independent 2.should be able to run on any device (pc,tablet,android phone,windows phone) 3. if possible code of all langauge …

0
97
Member Avatar for nova37

hello i need little help with url rewriting i have page :: www.mysite.com/search.php?q=something desire url structure:: www.mysite.com/q/something .htaccess code :: RewriteRule q/(.*) search.php?q=$1 the above htaccess code work fine but i have little more htaccess code for my site .htaccess code :: RewriteRule www.(.*) web.php?url=$1 desire url structure:: www.mysite.com/www.daniweb.com so …

Member Avatar for nova37
0
165
Member Avatar for emurf59

I have a project where I need to get and count distinct values in tags in an XML document. If you look at the XML, I am specifically trying to count the distinct number of WorkOrderNumbers for Tuesday. Later I will do Monday and so on. I have tried the …

Member Avatar for emurf59
0
586
Member Avatar for thedancingbug

What does this mean? **Error Line 95, Column 56: end tag for "input" omitted, but OMITTAG NO was specified** <td><input type="button" value="Add to Cart"></td**> You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">". **Info …

Member Avatar for AleMonteiro
0
401
Member Avatar for thedancingbug

Hello. I am doing an assignment. I just need someone to validate that I did it correctly. According to the book I must: "set the default namespace for the document to the XHTML namespace". I'm a bit confused as to how to do it, but I did this: <?xml version="1.0" …

Member Avatar for rotten69
0
197
Member Avatar for riahc3

Im wondering if there is a program for building GUIs with XML where I can simply build it visually (WYSIWYG style) and copy/paste the code in my Android IDE. Thanks

Member Avatar for Mike Askew
0
56
Member Avatar for newbie1234

My blog is www.khazanakhoj.blogspot.in. In this blog i am not able to go to old post and next post. Even i opened particular blog, in that also its not coming. Is here any help regarding this problem.

Member Avatar for rotten69
0
149
Member Avatar for abbelylee

Am trying to import Xtream library for serializing csv data to xml but am having problems in adding this library to the ide i am using (bluej). what directory do i add. i added the whole directory but when i imported "import com.thoughtworks.xstream.XStream;" it kept telling me it does not …

Member Avatar for Mike Askew
0
70
Member Avatar for crazykoolit

Good Day! We would like to seek help on managing multiple values within a single XML attribute. <Row> <title>type Title here</title> <description>type Description here</description> <stage>Development</stage> <platform>Java, .NET, Mainframe</platform> <lifecycle>Custom Development</lifecycle> <servicegroup>System Integration (SI), Technology Consulting (TC)</servicegroup> </Row> With the above sample xml, as you may notice, <platform> does have 3 …

Member Avatar for Mike Askew
0
259
Member Avatar for Oracan

Hi, I'm trying to add a right parenthesis to a number when it is negative upon returning from a Java function and so far am unable to do it. I can add the left parenthesis no problem but can't find a way to add the right parenthesis. It is much …

Member Avatar for gilltech
0
182
Member Avatar for riptide355

Hi, I have a database program that creates URL's that look like this... http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=reservations or this http://www.mywebsiteDB.com/admin.php?toDo=module&module=RESERVATIONS&modsub=upcoming etc. I need to make a page that inserts fields into the database AJAX style, which I managed to do outside of the database program. However, when I put the code into a …

Member Avatar for riptide355
0
190
Member Avatar for sniga.mareka

Hi, I would like to know how to create a dynamic xml playlist that is automatically updated as mp3 files are uploaded. I want the playlist for flabell29 flash mp3 player, which can be found at flabell.com. The playlist icludes album art location, artist name, track title, duration, album title …

Member Avatar for cereal
0
609
Member Avatar for saadi06

HI, I am have a string and I want to remove <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> from this string.I have tried str_replace but of no use can any one help that how would I remove this problem from my string. Thanks in advance.

Member Avatar for ryantroop
0
170
Member Avatar for GarciaPL

Hello, I am currently writing my thesis about IT technologies etc. etc. and I have one chapter where i compare REST and SOAP, but I can not find how and when (i mean some king of events in the past) REST started (mainly in Web) to replace SOAP as technology …

Member Avatar for GarciaPL
0
239
Member Avatar for czxzxcXZ

Hi, I had to do the quiz for XML and I am not quite sure whether I've got all the question right. Please tell me whether I've got each question right or wrong. Thank you very much. 1. What kind of component in an XML file is written like this: …

Member Avatar for Mike Askew
0
215
Member Avatar for phaedrusGhost

Hey all, Just wrapping up a project for a custom photography site. My client has asked me to make sure that we can upload several images with each image being anywhere from 10MB to 20MB each in size. I simply told him to get his own server to handle that …

Member Avatar for phaedrusGhost
0
134
Member Avatar for lokesh.r.kandula

Hi Buddy, I have a requirement to convert the below shown input.xml into result.xml and the XSLT which I am trying with is shown at the end. input.xml: <match> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> <FieldPair> <Context>B</Context> <Field1>B1</Field1> <Field2>B2</Field2> </FieldPair> </FieldMatcherResult> </match> result.xml: <result> <FieldMatcherResult> <FieldPair> <Context>A</Context> <Field1>A1</Field1> <Field2>A2</Field2> </FieldPair> …

Member Avatar for Mike Askew
0
178
Member Avatar for JEEM

Hi i am using XSLT transformation to transform one xmi file to uml file. In my xml files i have two different nodes: **First node:** <ownedAttribute xmi:type="uml:Property" xmi:id="EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD" name="Part2" visibility="public" aggregation="composite"/> **Second node:** <Profile:AND base_Part="EAID_9D13F3CF_4FDB_46bc_B47F_8B4DC9C6DADD"/> what i am trying to do is that every time the xmi:id of the uml:property …

Member Avatar for Mike Askew
0
338
Member Avatar for PBDeveloper

I am trying to add the information below into a Wordpress database table (specifically the wp_postmeta table). But I can't figure out how to add the ones with the same node name. The XML document is: <?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0" xmlns:excerpt="http://wordpress.org/export/1.1/excerpt/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wp="http://wordpress.org/export/1.1/" > <channel> <title>Title</title> …

Member Avatar for pritaeas
0
221
Member Avatar for npmiller

I am trying to read the following xml file into my datagridview <?xml version="1.0" encoding="utf-8" ?> <DEFLECTIONS_TABLE> <Deflections number="1"> <Service_Class>A</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>B</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>C</Service_Class> <Verticle>600</Verticle> <Horizontal>400</Horizontal> <Service_Class>D</Service_Class> <Verticle>800</Verticle> <Horizontal>400</Horizontal> <Service_Class>E</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> <Service_Class>F</Service_Class> <Verticle>1000</Verticle> <Horizontal>400</Horizontal> </Deflections> </DEFLECTIONS_TABLE> I made my windowsform and put a datagridview inside called deflection_datagrid. …

Member Avatar for npmiller
0
2K
Member Avatar for skp03

i want to design the Currency gadget .....that should work in all the operating system it should be something like installation application as shown in the above daigram so please help me out Thank you ![currency_converter](/attachments/small/3/currency_converter.png "align-right")

Member Avatar for Mike Askew
0
189
Member Avatar for manaila

Hi, Please correct me here about xml, I am still new to it: -It should have start and closing tags, i.e `<start></end>`; avoid short cuts like `<tag/>` like in html. -xml schema is an xml document, it abides by xml rules. So how comes that we have something like: `<xs:attribute …

Member Avatar for Mike Askew
0
136
Member Avatar for veledrom

Hi, I have a few XML file which have illegal chars like &, <, >, ", '. Because of that I cannot read/validate XML file to do further processings. I have no control over XML files because user's don't listen!!! Can I solve it by using DTD or XSD or …

Member Avatar for Mike Askew
0
121
Member Avatar for k1robert

Hi all please help as I am so stuck. My aim in to retrieve the information out of the xml soap file and store it in a database. However I havent got the slightes idea what i'm doing wrong. Please help I just want to write the values out in …

0
121
Member Avatar for 3e0jUn

Can someone give a code snippet on how to 'chat' using the XMLRPC library in Python? Here's my server code: from xmlrpc.server import SimpleXMLRPCServer from xmlrpc.server import SimpleXMLRPCRequestHandler import os from os import access, path PATH = 'chatlog.$' class RequestHandler(SimpleXMLRPCRequestHandler): rpc_paths = ('/RPC2',) server = SimpleXMLRPCServer(("localhost", 8000), requestHandler=RequestHandler) server.register_introspection_functions() server.register_function(pow) …

Member Avatar for Gribouillis
0
526
Member Avatar for LateNightCoder

Hi there, In my program i have given the user the possibillity to add new buttons to the form I then serialize the form to a xml file so it is saved. Any data that is edited while the program is running will be saved (for example user edits the …

Member Avatar for LateNightCoder
0
263
Member Avatar for keval007

Hi, Can any one provide me small code or way how can I read the below XML file in PHP. <Countries> <Country> <Page1_col1>Country1</Page1_col1> <Page1_col2>89,921</Page1_col2> <Page1_col2>61</Page1_col2> <Country_sub_details> <Page2_col1>A1</Page2_col1> <Page2_col2>1,187</Page2_col2> <Page2_col3>45</Page2_col3> <Country_sub_sub_details> <Page3_col1>AA1</Page3_col1> <Page3_col2>375</Page3_col2> <Page3_col3>45</Page3_col3> </Country_sub_sub_details> </Country_sub_details> </Country> </Countries> I am not aware about the XML libraries in PHP.

Member Avatar for keval007
0
197
Member Avatar for veledrom

Hi, I'm having problem with reading xml file because there are invalid chars like & sign. How can I evaluate this problem and read the file with simple_xml or DOM? **php** $xmlDoc=simplexml_load_file('items.xml'); $doc = new DomDocument; $doc->load('items.xml'); //Both of these don't work **xml** <?xml version="1.0" encoding="ISO-8859-1"?> <store id="AMZ-0101-STR"> <items> <item> …

Member Avatar for pritaeas
0
251

The End.