6,049 Topics
![]() | |
![]() | 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> … |
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 … | |
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 … | |
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 … | |
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 … | |
I wonder how to create a table in angular where the data is taken from Json or xml (must be seperated file)? | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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; … | |
![]() | cant upload code |
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> … | |
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 … | |
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. … | |
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 … | |
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 … | |
<?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" … | |
<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 … | |
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. | |
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. … | |
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 … | |
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); … | |
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 … | |
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 … | |
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, … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
![]() | 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 … |
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 … | |
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 = … | |
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" … | |
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 | |
**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> … | |
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> | |
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" … |
The End.