3,634 Topics
| |
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" … | |
Hello everybody, so, I realized that when I try to load some XML into a MySQL table through the `LOAD XML LOCAL INFILE ...` statement, if there is a parent with the same name of the child, MySQL will insert an extra row. Here's the example to reproduce the issue: … | |
<?xml version="1.0"?> <License version="1"> <ActivationInfo> <ActivationDate></ActivationDate> <IssueDate>22-Dec-2015</IssueDate> </ActivationInfo> <MachineInfo> <MachineName></MachineName> <SoftwareIds></SoftwareIds> </MachineInfo> <LicenseKeys> <LicenseKey> <LicenseVersion>1</LicenseVersion> <FeatureName>PLI_FEATURE1</FeatureName> <LicenseType>PERMANENT</LicenseType> <CustomProperties> <CustomProperty> <key>LICENSETYPE</key> <value>EVAL</value> </CustomProperty> <CustomProperty> <key>CAPACITY</key> <value>10</value> </CustomProperty> <CustomProperty> <key>CAPACITY_UNIT</key> <value>TB</value> </CustomProperty> </CustomProperties> </LicenseKey> <LicenseKey> <FeatureName>PLI_FEATURE2</FeatureName> <LicenseType expirationDate="01-Jan-2017">EVALUATION</LicenseType> <CustomProperties> <CustomProperty> <key>LICENSETYPE</key> <value>EVAL</value> </CustomProperty> <CustomProperty> <key>CAPACITY</key> <value>10</value> </CustomProperty> <CustomProperty> <key>CAPACITY_UNIT</key> <value>TB</value> </CustomProperty> </CustomProperties> … | |
| |
Hi, **Python script** from xml.dom import minidom doc = minidom.parse("wind7.xml") Ts = doc.getElementsByTagName("TimeStep") for Ts in TimeStep: Part = TimeStep.getElementsByTagName("Particle")[0] for Part in Particle: Pcid = Particle.getAttribute("Nr") Lat = Particle.getAttribute("x") Long = Particle.getAttribute("y") print("Pcid:%s,Lat:%s,Long:%s" % (Nr,x.firstChild.data,y.firstChild.data)) I have written this python script to extract XY data, but am getting lot … | |
Hello Everyone, I am new to c# and am trying to use Open XML to pull data from a SQL server into a spreadsheet. I followed some examples I found online but had to alter them to fit the test scenario I have set up and have run into an … | |
I just want to know: Is it still necessary or is it still working for traffic, Today? | |
My code is: var customIcons = { restaurant: { icon: 'http://labs.google.com/ridefinder/images/mm_20_blue.png' }, bar: { icon: 'http://labs.google.com/ridefinder/images/mm_20_red.png' } }; function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(37.4805016667, 126.952741667), zoom: 12, mapTypeId: 'roadmap' }); var infoWindow = new google.maps.InfoWindow; // Change this depending on the name of your … | |
This is php code at https://developers.google.com/maps/articles/phpsqlajax_v3#putting-it-all-together. <?php $username="xxxx"; $password="xxx"; $database="xxx"; ?> <?php function parseToXML($htmlStr) { $xmlStr=str_replace('<','<',$htmlStr); $xmlStr=str_replace('>','>',$xmlStr); $xmlStr=str_replace('"','"',$xmlStr); $xmlStr=str_replace("'",''',$xmlStr); $xmlStr=str_replace("&",'&',$xmlStr); return $xmlStr; } // Opens a connection to a MySQL server $connection=mysql_connect ('localhost', $username, $password); if (!$connection) { die('Not connected : ' . mysql_error()); } // Set the active MySQL … | |
I want to mark some data on google map. I use eclipse Java EE and xml file is in the same workspace;(workspace_jsp). xml file: <csv_data> <row> <time>10:01:43</time> <latitude>37.4805016667</latitude> <longitude>126.952741667</longitude> <pdistance>0.000555</pdistance> <totaldistance>0.000555</totaldistance> <sectionspray>3343.0</sectionspray> </row> <row> <time>10:01:57</time> <latitude>37.4807483333</latitude> <longitude>126.952753333</longitude> <pdistance>0.027396</pdistance> <totaldistance>0.027951</totaldistance> <sectionspray>3320.0</sectionspray> </row> my code is <!DOCTYPE html > <head> <meta name="viewport" … | |
I have a basic question. I collected some gps signal to some columns by python code. I want to read them and use some data in html-javascript. In this case, what kind of file is the easiest to read and use in html/javascript?? I made a text file but people … | |
I have a MySQL database which contains a text field which contains well formed xml. I want to export this data as an xml file named result_new.xml on the fly. I have made the tmp folder and have set the permissions on the folder to 0777. If I run this … | |
I have a mysql database that has previously stored the text of an xml file including tags. I want to select that data from the database and return it as an xml file rather than just text, (eg filename.xml). It is to be further processed with a javascript file which … | |
Hi there, I am an undergraduate studying computer science. Our lecturer gave us an assignmnet to use Dapfor grid control display both authors name and their book. I don't know where to begin from. Can anyone put me through; maybe with an example. | |
I am trying to create a dtd that emulates a car dealership. It sells trucks, sedans and hatchbacks, as can be seen in my dtd. The dealership would keep track of how many doors and wheels each vehicle has as well as the model and year in addition to how … | |
XML - <?xml version='1.0' encoding='UTF-8'?> <Form name='Demo' id='DemoID' searchname='Demo' search='Demo' org='Yes' > <Field name='IdentificationNumber' datatype='String' control='InputText' length='10' search='Yes' /> <Field name='Country' datatype='String' control='InputText' length='50' search='Yes' /> </Form> PHP - <!DOCTYPE html> <html> <body> <?php $xml=simplexml_load_file("Demo.xml") or die("Error: Cannot create object"); echo $xml->FIELD . "<br>"; ?> </body> </html> | |
Hello Guys, I need some help with customizing my wordpress rss feed. I have a blog with tons of posts with images in it, these images are remotely hosted. I want to display them in my rss feed. How do i display first image of a post in my wordpress … | |
I am attempting to add a custom function to my schematron rule stylesheet to aid in looking up values in code tables. I continue to receive an error message: 'XPST0017 XPath syntax at char 0 on line 545 near (...ookupExpression('SEX'): Cannot find a matching 1-argument function named (functions:1.0)BuildLookupExpression())' At the … | |
Hi there to all I'm trying to make application which should extract certain data from XML files. I'm using form, combobox and button. If someone could guide me because I'm not so familiar with programming... here is code example To populate Combobox1 and it works fine Private Sub form1_load(sender As … | |
Hello, I'm using the rotate-layout library by rongi (https://github.com/rongi/rotate-layout) to achieve a horizontal list view by implementing the suggestion given by Kc Ochibili as an answer to this question: http://stackoverflow.com/questions/3240331/horizontal-listview-in-android. I'm getting the following errors when I try to use the library: "error: Error parsing XML: unbound prefix" and "Attribute … | |
hi guys im trying to login to a webstie just with sending requests to the server . the website has a login form which is this : <form id="Form1" onsubmit="return Form1_onsubmit()" style="direction: rtl; text-align: right" action="./17717417412" method="post" name="Form1"> <input id="__VIEWSTATE" type="hidden" value="/wEPDwUKMTQ4MDM5MTkwMg9kFgICAQ9kFggCAQ9kFgYCBQ8WAh4JaW5uZXJodG1sZWQCBw8WAh8ABTvYp9iq2LXYp9mEINin2LIg2LfYsdmK2YI62LTYqNqp2Ycg2K/Yp9iu2YTZii3Yp9mK2YbYqtix2YbYqmQCCw8WAh8ABRk8Yj7bsduz27nbtC/bsduxL9ux27Q8L2I+ZAIFDxYCHgdWaXNpYmxlaGQCBw8WAh8BZxYCAgEPFgIfAAXXCdmC2KfYqNmEINiq2YjYrNmHINiv2KfZhti02KzZiNmK2KfZhiDZiNix2YjYr9mKINis2K/ZitivOjxici8+DQoxLdio2Ycg2YXZhti42YjYsSDYp9iz2KrZgdin2K/ZhyDYqNmH2YrZhtmHINin2LIg2LPYp9mF2KfZhtmHINii2YXZiNiy2LTZitiM2b7amNmI2YfYtNmKINmIINiv2KfZhti02KzZiNmK2Yog2K/Yp9mG2LTar9in2Ycg2LTZiti...jYp9mH2K8g2LTYry48YnIvPg0KNC3Yp9ix2KfYptmHINix2YrYstmG2YXYsdin2Kog2YXZgti32Lkg2YrYpyDZhdmC2KfYt9i5INmC2KjZhCDYr9ixINiy2YXYp9mGINir2KjYqiDZhtin2YUg2K3YttmI2LHZiiDYp9mE2LLYp9mF2Yog2YXZiiDYqNin2LTYrzxici8+DQo1Ldiu2YjYp9mH2LTZhdmG2K8g2KfYs9iqINin2LIg2YXYsdin2KzYudmHINit2LbZiNix2Yog2Ygg2KrZhNmB2YbZiiDYqNmHINmI2KfYrdivINmH2KfZiiDZhdiu2KrZhNmBINiv2KfZhti02q/Yp9mHINiv2LEg2K7YtdmI2LUg2YXZiNin2LHYryDYqNin2YTYpyDYrtmI2K/Yr9in2LHZiiDZgdix2YXYp9mK2YrYry4NCmQCCQ8WAh8ABQEgZGRDY9B9c/B5YHJtWvxroJcmLKB7mcNVjEPC771IlbjsIQ==" name="__VIEWSTATE"> <input id="__VIEWSTATEGENERATOR" type="hidden" value="C792DAE2" name="__VIEWSTATEGENERATOR"> <input id="__EVENTVALIDATION" … | |
I am having difficulty formatting the XML response from a php curl xml api for infobip. My code below loops sms to mobile numbers. But i want to format the XML responses to show the messages successfully sent and those that were not successful using a conditional if else statement. … | |
First let me confess that I'm a beginner with little knowledge of Java. I'm facing a problem with XML to JSON conversion. The XML that I need to covert is complex with elements that will repeat throughout the document. And the order in which the elements appear need to be … | |
Hi I need help I have some XML files which have more children and grandchildren, than I am used to playing with. (Link to xml file below) https://intecprinters.iweb-storage.com/s/IjU2OTNlNjVkNmExODkyMDlmNjU5N2MyNiI.jaEay6nxR-v-gaiJwcVNiP113QI I need to be able to read the xml, determine the name Root node ,<JOBS_Jan_2016> and obtain the list of names of … | |
<select id="keyEquipmentShiftAutomatedModelData" parameterType="java.util.Map" resultType="java.util.Map"> SELECT ID, SUM(VALUE1 + VALUE2) Total FROM tableName GROUP BY ID </select> Returns below result in sql ID, Total 1 (null) But when returned in Map result in myBatis returns {ID=1} where as Total is missing. How to get the column with null into the result … | |
Hi, I am struggling with xml layout in my android app... please help here is what I want: I have to display two poarts in one activity - image part and login component part which are in one linearLayout. When the device is landscape, I want it to be 30% … |
The End.