6,049 Topics

Member Avatar for
Member Avatar for Shkelzen_1

I need to Retrieve the values from a XML file i have seen many example but none of them is like the XML I have. My XML look like this <component> <section> <code code="31011" codeSystemName="Codifica Interna Laboratorio" displayName="Etanolo (urine)"> <!--TRASCODIFICA ANALISI NON DISPONIBILE--> </code> <text> <paragraph> </paragraph> <table> <thead> <tr> …

Member Avatar for xrjf
0
576
Member Avatar for complete

In Microsoft c# Visual Studio I am using XPathNavigator to read and manipulate an XML data set. The exception that is thrown is very descriptive in pinpointing the problem with the XML file that is read. There is one text field that exceeds the limit of what is allowed for …

Member Avatar for tinstaafl
0
617
Member Avatar for joshi1984

Hello, I´m not a professional in vb.net, but i try to make a tool for my colleague and me. I got a XMLTreeView on my form and i load a XML-File in it. Now, I want to set each node in the XMLTreeView another icon, but it must set by …

Member Avatar for joshi1984
0
2K
Member Avatar for davy_yg

Hello, I have been experimenting with Fusion Chart. I have been following this tutorial: https://www.fusioncharts.com/dev/chart-guide/getting-started/using-xml-as-data-format and trying to take the chart data from xml yet it does not works. bar_chart_xml.html <html> <head> <!--<script src="angularjs-plugin/wrappers/angularjs/angular-fusioncharts.min.js"></script> <script src="angular.js"></script> --> <script type="text/javascript" src="fusioncharts/js/fusioncharts.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript" src="fusioncharts/js/themes/fusioncharts.theme.fint.js"></script> <script type="text/javascript"> FusionCharts.ready( function …

Member Avatar for Dani
0
945
Member Avatar for rat1973

I am new to XSLT. I am trying to transform one XML document to another. My first step is to try an do a really simple example. I want to see the results to my simple example in a browser, but neither IE7 or Firefox is not returning the results …

Member Avatar for Krishna_30
0
10K
Member Avatar for davy_yg

I wonder how to create a table in angular where the data is taken from Json or xml (must be seperated file)?

-2
231
Member Avatar for charlybones

I've looked around this forum, and the rest of the internet, but my code is not working. Here is the problem: I read XML files that are in en-US culture. The decimal separator is a dot ".". Given the string "123.45", I want to convert the separator from a dot, …

Member Avatar for DOUGLAS_9
0
19K
Member Avatar for PerplexedB

The following (see the full code below) successfully adds a page in a section in Onenote. What I don't seem to be able to do is to get the lastly created page on top of the section. Here's the code that is puzzling me. onenoteApp.GetHierarchy(sectionId, OneNote.HierarchyScope.hsPages, out string xmlPages); var …

Member Avatar for PerplexedB
0
861
Member Avatar for John_192

I have an Epson receipt printer (Model number: TM-T88V), but I cannot use it. I do not have a POS (point of sale) software that will let me do what I need to do, nor do I have the knowledge I need to understand the developers guide manual that comes …

Member Avatar for rproffitt
0
825
Member Avatar for priyanka.choudhary.90038

How to escape the double quotes using XSLT: My xls file converting xml file into csv file. my xml node is as below: <?xml version="1.0" encoding="ISO-8859-1"?> <TRADING_TITLE><TITLE>SBU</TITLE><DESCRIPTION><![CDATA[Simply Be Inquiries]]></DESCRIPTION><REGISTERED><NAME><![CDATA[Speciality Home Shopping (US) Limited]]></NAME><ADDRESS1><![CDATA[Griffin House]]></ADDRESS1><ADDRESS2><![CDATA[40 Lever Street]]></ADDRESS2><ADDRESS3><![CDATA[Manchester]]></ADDRESS3><ADDRESS4><![CDATA[United Kingdom]]></ADDRESS4><ADDRESS5><![CDATA[M60 6ES]]></ADDRESS5></REGISTERED><WEB_ADDRESS>www.simplybe.com</WEB_ADDRESS><COMPANY_NUMBER>03941468</COMPANY_NUMBER><ENQUIRY_DAYS_PER_WEEK>7</ENQUIRY_DAYS_PER_WEEK><ENQUIRY_TEL_NO>18774074675</ENQUIRY_TEL_NO><ORDER_TEL_NO>18774074675</ORDER_TEL_NO><ORDERLINETIMES><WEEKDAY_OPEN>8am</WEEKDAY_OPEN><WEEKDAY_CLOSE>11pm</WEEKDAY_CLOSE><SATURDAY_OPEN>8am</SATURDAY_OPEN><SATURDAY_CLOSE>11pm</SATURDAY_CLOSE><SUNDAY_OPEN>8am</SUNDAY_OPEN><SUNDAY_CLOSE>11pm</SUNDAY_CLOSE></ORDERLINETIMES><ENQUIRYLINETIMES><WEEKDAY_OPEN>8am</WEEKDAY_OPEN><WEEKDAY_CLOSE>11pm</WEEKDAY_CLOSE><SATURDAY_OPEN>8am</SATURDAY_OPEN><SATURDAY_CLOSE>11pm</SATURDAY_CLOSE><SUNDAY_OPEN>8am</SUNDAY_OPEN><SUNDAY_CLOSE>11pm</SUNDAY_CLOSE></ENQUIRYLINETIMES><CORRESPONDENCE><NAME><![CDATA[Simply Be Inquiries]]></NAME><ADDRESS1><![CDATA[777 South State Road 7]]></ADDRESS1><ADDRESS2><![CDATA[Margate, Florida 33068]]></ADDRESS2><ADDRESS3/><ADDRESS4/><ADDRESS5/></CORRESPONDENCE><TRADING_AS_INDICATOR>Y</TRADING_AS_INDICATOR><REGISTERED_NUMBER>03941468</REGISTERED_NUMBER><BRAND_LOGO_NUMBER>DAL90</BRAND_LOGO_NUMBER><FSA_TEXT><![CDATA["Simply Be" is a trading …

Member Avatar for AndrisP
0
6K
Member Avatar for Lisa_14

Hello friends, I'm trying to remove all tags from a Wikipedia entry, leaving a simple text file. I have downloaded an HTML file from Wikipedia and hunted through my program. But the tags are not removed properly. Instead, only nonsense comes out of it. Where is my thinker? Java: import …

Member Avatar for pty
0
381
Member Avatar for tadisaus2

Hello, I use gsitecrawler to create sitemap for my websites. Are there any tool to create a sitemap better than gsitecrawler? I learned from this forum that if we have a sitemap on each site, it is good for SEO. My other question is, gsitecrawler creates a sitemap and I …

Member Avatar for Sarah_27
0
543
Member Avatar for james_93

Hi, I have the following XML file (it is a TCX file) <?xml version="1.0"?> <TrainingCenterDatabase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.garmin.com/xmlschemas/TrainingCenterDatabase/v2"> <Activities> <Activity Sport="Biking"> <Id>..</Id> <Lap StartTime=".."> <TotalTimeSeconds>..</TotalTimeSeconds> <DistanceMeters>..</DistanceMeters> <MaximumSpeed>..</MaximumSpeed> <Calories>..</Calories> <Intensity>Active</Intensity> <Cadence>75</Cadence> <TriggerMethod>Manual</TriggerMethod> <Track> <Trackpoint> <Time>2017-12-16T12:43:10Z</Time> <DistanceMeters>0</DistanceMeters> <Cadence>1</Cadence> <Extensions> <TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2"> <Speed>0</Speed> <Watts>1</Watts> <Slope>-1.49</Slope> </TPX> </Extensions> </Trackpoint> . . . . I …

Member Avatar for james_93
0
486
Member Avatar for joshi1984

Hello Daniweb-Community, I got a node in my xml-File for a java-link. it looks like "C:\Program Files (x86)\Tool7\javaw.exe -splash:splash.png -cp ./cl/cl.jar; -Dawt.useSystemAAFontSettings=on" If i start the tool by double click on the node, it doesn´t start it, because it doesn´t load the arguments. Next i createt a new attribut (called …

Member Avatar for xrjf
0
341
Member Avatar for Barry_6

ok, this is possibly an unusual one... I have a friend who owns a shed-load of domain names, which he's always had the intention of setting up with full blown sites over time he isn't a coder, but he is a really good ideas guy Obviously, this means he is …

Member Avatar for john_111
0
382
Member Avatar for mitchell.schols

So, i'm working on a layout that has to be in xhtml.. i changed the extension from html > xhtml and i got this prompt.. "This page contains the following errors: error on line 15 at column 8: Opening and ending tag mismatch: link line 0 and head Below is …

Member Avatar for Pradosh_1
0
18K
Member Avatar for subha_2
Member Avatar for Lughen

How does POS been coded? First, get orders then store it in a container like listview or datagridview Second save data from container to xml file then import data from xml to database.

Member Avatar for Tyron_1
0
252
Member Avatar for Keven_1

the code will show you what im trying to do, I hope you understand im new to programming but know the basics of java and im trying to add Object Oriented Programming to my apps so its not procedural thanks , if you need more info to understand just ask …

Member Avatar for JamesCherrill
0
3K
Member Avatar for mldardy

I'm trying to code this in C# so it will output the values for each element in XML. Sample XML: <APIVersion>4.0</APIVersion> <PackageTrackingInfo> <TrackingNumber>123456789</TrackingNumber> <PackageDestinationLocation> <City>Seattle</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </PackageDestinationLocation> <PackageDeliveryDate> <ScheduledDeliveryDate>2004-09-15</ScheduledDeliveryDate> <ReScheduledDeliveryDate>2004-09-18</ReScheduledDeliveryDate> </PackageDeliveryDate> <TrackingEventHistory> <TrackingEventDetail> <EventStatus>LK</EventStatus> <EventReason>AQ</EventReason> <EventDateTime>2004-08-22T11:00:00- 08:00</EventDateTime> <EventLocation> <City>SEATTLE</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </EventLocation> <SignedForByName>JOHN GALT</SignedForByName> </TrackingEventDetail> </PackageTrackingInfo> Here …

Member Avatar for mldardy
0
7K
Member Avatar for mldardy

I am trying get c# to select multiple nodes in XML. I'm not sure how to do this here is the xml code followed by c#: <PackageTrackingInfo> <TrackingNumber>123456789</TrackingNumber> <PackageDestinationLocation> <City>Seattle</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </PackageDestinationLocation> <PackageDeliveryDate> <ScheduledDeliveryDate>2004-09-15</ScheduledDeliveryDate> And here is c# code: public string ProcessXML(string xmlRequest) { XmlDocument rsp = null; …

Member Avatar for AssertNull
0
621
Member Avatar for spot_1
Member Avatar for Gloak

I am not a computer professional, only like to develop my own toys. I am using Globi Flow to get the info I need from the XML file. All is done, except for one instance where I do not have the closing tag Regular node with closing tag: <proper price>$4</price> …

Member Avatar for Gloak
0
3K
Member Avatar for pradeep_12

I have a ASP.net Web API, that I am trying to host on IIS 10 (Windows 10 Pro). If I access this Web API form Angular 2 app, I get the following error XMLHttpRequest cannot load http://172.26.50.17:8085/api/library. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is …

Member Avatar for rproffitt
0
500
Member Avatar for Vishnu_11

Here is my source XML: <Chat> <Chat StartTime="2017-05-28T02:05:52"> <message userId="02A0592964A8F75F" timeShift="4"> <msgText> Hi </msgText> </message> <message userId="123458566666666B" timeShift="30"> <msgText> Hello.. How can I Help You. ? </msgText> </message </Chat> I need an XSL to trnsform the source as: <Chats> <message time="2017-05-28T02:05:56" userId="02A0592964A8F75F">Hi</message> <message time="2017-05-28T02:06:32" userId="02A0592964A8F75F">Hello.. How can I Help You. …

0
282
Member Avatar for adaykin

Hello, I am looking for an API that will feed me soccer stats from leagues like the EPL, Bundesliga, Serie A, and La Liga such as personal player information (name, height, weight, dob, etc.), player statistics (goals, assists, minutes played), as well as results from games. If anyone knows of …

Member Avatar for binkish
0
942
Member Avatar for Stat_1

XML File :http://goalserve.com/samples/soccer_inplay.xml Model: [XmlRoot(ElementName = "localteam")] public class Localteam { [XmlAttribute(AttributeName = "name")] public string Name { get; set; } [XmlAttribute(AttributeName = "goals")] public string Goals { get; set; } [XmlAttribute(AttributeName = "id")] public string Id { get; set; } } Controller: XmlDocument doc = new XmlDocument(); List<Localteam> s …

Member Avatar for rproffitt
0
1K
Member Avatar for OxyDrim

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirection Https" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" /> </rule> <rule name="REWRITE_TO_HTML" stopProcessing="true"> <match url="^(.+).html$" /> <conditions logicalGrouping="MatchAll" /> <action type="Redirect" url="{R:1}.sn" /> </rule> <rule name="REWRITE_TO_PHP" stopProcessing="true"> <match url="^(.+).php$" /> <conditions logicalGrouping="MatchAll" /> <action type="Redirect" …

Member Avatar for Punitha_1
0
5K
Member Avatar for gahhon

<customers> <customer> <ID>C1</ID> <FirstName>Jack</FirstName> <SurName>Wong</SurName> <Email>jack@hotmail.com</Email> <Password>081292</Password> </customer> <customer> <ID>C2</ID> <FirstName>Ashley</FirstName> <SurName>Rachael</SurName> <Email>ashley@hotmail.com</Email> <Password>081292</Password> </customer> <customer> <ID>C3</ID> <FirstName>Vongola</FirstName> <SurName>Steve</SurName> <Email>vongola@hotmail.com</Email> <Password>081292</Password> </customer> </customers> I have a existing xml showing like that. I did some research through net, but they all were talking about one element. For example `<Email>xxx@hotmail.com</Email>` But what …

Member Avatar for cereal
0
412
Member Avatar for Jay_24

I think XML is declarative , I am not sure though if you have the right answer could you please provide sources doing a project for analysis of programming languages. This information would be greatly appreciated.

Member Avatar for Jay_24
0
249
Member Avatar for infoitmanoj

I was write code for excel vba xml database values write into text file. when i using without any special characters xml values parsed into their text file without any issues but when i using special characters xml cannot parse special characters (&,- etc) error getting on my macro page. …

Member Avatar for rproffitt
0
602
Member Avatar for gahhon

customer.xml <?xml version="1.0"?> <customers> <customer> <ID>C1</ID> <FirstName>Kah Hon</FirstName> <SurName>Wong</SurName> <Email>gahhon@hotmail.com</Email> <Password>081292</Password> </customer> </customers> login.js var xHRObject = false; if (window.XMLHttpRequest) xHRObject = new XMLHttpRequest(); else if (window.ActiveXObject) xHRObject = new ActiveXObject("Microsoft.XMLHTTP"); function reset() { document.getElementsByName('txtEmail').value = ""; document.getElementsByName('txtPassword').value = ""; } function login() { var email = document.getElementsByName('txtEmail').value; var pass …

Member Avatar for gahhon
0
453
Member Avatar for Vijaysurya

Hai every body, i need help in how to import this xml file into database using php i tried this way only one record only inserted, any body plz help me. $comment = $this->filepath."\\".$file ; $content = file_get_contents($plan); // Break it into an array.... ! $content_x = explode("<comment>", $content); reset($content_x); …

Member Avatar for Varadharaj_1
0
989
Member Avatar for momo_1

I have a form on my checkout page that redirect to the payment gateway and at same time write customer info on database, but i don't know how to pass info that customer just fill on the checkout page to the payment gateway. I use php xml for the dynamic …

Member Avatar for momo_1
0
547
Member Avatar for Chiquito

Hello!. I am trying to sign an xml with a key (.pfx) and when I sent it to who should receive it I get in response "Incorrect reference digest value". I am working with C# and** I need your help** to solve my problem. Here is my code, which I …

Member Avatar for Traevel
0
4K
Member Avatar for Phil_7

I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, …

Member Avatar for Traevel
0
1K
Member Avatar for Phil_7

I have found a source of and aledged xml file (although it is named as solarxml.php, when I download it the data that I want is there, i.e. solarflux, aindex, kindex and sunspots, but I have no idea how to determine how to extract the 4 data fields I want, …

Member Avatar for Traevel
0
296
Member Avatar for usmanabb

Hello Guys, I am working on a Movie Platform and using XML file to upload/Publish Movies on to the platform. So for each Movie title I have to Edit and create an XML which is very time consuming and to be honest stupid. I want your help to suggest me …

Member Avatar for usmanabb
0
414
Member Avatar for Dani

I'm just laying here in bed browsing DaniWeb on my iPhone and I randomly clicked a link to the RSS feed. An iOS dialogue box popped up saying it was going to open in the News App. Then the Apple News app opened and it proceeded to tell me that …

Member Avatar for Dani
0
313
Member Avatar for alina_3

I am writing a android and windows native app. The native app stores the login details as reated for mulitple other web apps, and logs them into this when browsing to them from the native app. one of the buttons in my app open a [prestashop](https://www.siteground.com/tutorials/prestashop/) site for a authenticated …

Member Avatar for rproffitt
0
659
Member Avatar for niobi

Hello, is there someone that can help me about the syntactic form of the file XML for the italian "FATTURA PA"? From 2017/01/01 is changed the file's form (rel 1.2), and the file created by my procedure is not accepted from the SDI system (outcome: "error 0200 - file not …

Member Avatar for cereal
0
844
Member Avatar for fayyaz

Hi I have writen a web service. this web service has a method that returnes a Table as XML format and I need to use it as a table. how can i use this web service as a table. is any way to convert XML format to Table format Thank …

Member Avatar for pritaeas
0
2K
Member Avatar for Abhinav_6

Hi guys, I am reletively new to php and laravel, can somebody please help me understad how and what the code will be to parse the" part.xml" file using laravel framework, my aim is to parse the given xml file, display it on browser and at the same time store …

Member Avatar for rubberman
0
1K
Member Avatar for Amaina

My question is related to an [answered question](https://www.daniweb.com/programming/web-development/threads/506078/parsing-xml-to-extract-attributes) that was asked here on the ever reliable forum - Daniweb. I have been trying to insert the parsed data as a string into mysql table in vain. This is what i am trying to do..... From the solution in the link …

Member Avatar for Amaina
0
624
Member Avatar for Devon_3

This is my xml parsor class: public class DataHandler { static XmlSerializer serializer; public static void Initialize() { serializer = new XmlSerializer( typeof( dataset ) ); serializer.UnknownNode += new XmlNodeEventHandler( serializer_UnknownNode ); serializer.UnknownAttribute += new XmlAttributeEventHandler( serializer_UnknownAttribute ); } public static void ReadXML( string filename ) { FileStream fs = …

Member Avatar for tinstaafl
0
942
Member Avatar for Amaina

I have an xml file that looks like this <?xml version="1.0" encoding="UTF-8" ?> <dates> <date> <Item Name="History" Type="List"> <Item Name="received" Type="Date">2015/12/18 00:00</Item> <Item Name="accepted" Type="Date">2016/03/31 00:00</Item> <Item Name="aheadofprint" Type="Date">2016/04/14 00:00</Item> <Item Name="entrez" Type="Date">2016/04/15 06:00</Item> <Item Name="pubmed" Type="Date">2016/04/15 06:00</Item> <Item Name="medline" Type="Date">2016/04/15 06:00</Item> </Item> </date> <date> <Item Name="History" Type="List"> <Item Name="epublish" …

Member Avatar for Amaina
0
868
Member Avatar for Simple man

Hi i am new to cpp i have created a win32 project in visual studio but i need to read a xml file with ms xml the xml file <game> <id="g"> <name>gta</name> <ver>1</ver> </id> <id="x"> <name>mta</name> <ver>5</ver> </id> </game> please answer

Member Avatar for Simple man
0
860
Member Avatar for Abdellah_2

**I have the xml file below from a blogger rss feed** <rss> <channel> <item> <guid isPermaLink="false">tag:blogger.com,1999:blog-000000.post-0000000</guid> <pubDate>Wed, 25 May 2016 18:00:00 +0000</pubDate> <atom:updated>2016-05-25T19:01:58.172+01:00</atom:updated> <category domain="http://www.blogger.com/atom/ns#"></category> <category domain="http://www.blogger.com/atom/ns#"></category> <title> "sorry... google play services has stopped" </title> <description>bla bla bla bla </description> <link>http://0000.blogspot.com/2016/05/sorry-google-play-services-has-stopped.html</link> <author>noreply@blogger.com </author> <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-2gbmug6spxE/V0XgFalWLXI/AAAAAAAAAO0/RN0Uo4A1rmwbVKXErfshYabwdhzAdOCmwCLcB/s72-c/Google-Play-Services-338x600.png" height="72" width="72" /> <thr:total>0</thr:total> …

Member Avatar for rproffitt
0
422
Member Avatar for karthik_6

hi all, how to parse an xml attributes using python. I want to read or extract msg values from xml using python. <msg timestamp="20160817 12:46:42.520" level="INFO">Average : 0.14 % CPU (%) 10 Aug 07:00 2 12 Aug 07:00 maximum 5.17 average 0.13</msg>

Member Avatar for snippsat
0
633
Member Avatar for Rach!

i Am new to selenium webdriver and I want to automate a webpage related to my project. I am currently working on login page, however I facing problem with the login button which I am confused which locator to use. The login button is below: a href="javascript:LoginSubmit('Log In')"> img border="0" …

0
123

The End.