6,049 Topics
![]() | |
[CODE]<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="plugin.video.stagevu" name="StageVU" version="1.3.6" provider-name="AJ"> <requires> <import addon="xbmc.python" version="1.0"/> </requires> <extension point="xbmc.python.pluginsource" library="default.py"> <provides>video</provides> </extension> <extension point="xbmc.addon.metadata"> <summary>stagevu: Watch video</summary> <description>Watch what you have been searching on internet.</description> <disclaimer>The video add-ons hosted by my XBMC add-ons repository(aj add-ons) makes no warranties, expressed or implied, and hereby … | |
I'm seeking actionscript for self contained slideshow (swf file). This is not going on a web site so external images/xml call will not work. Thanks. | |
Currently I'm reading XML attributes in the following way, this is the feed.php file that is called by the index page. [CODE]<?php for ($start < $end) { $xml=$_POST['q']; $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); $i = $xmlDoc->getElementsByTagNameNS('http://search.yahoo.com/mrss/','thumbnail'); $image = $i->item($start)->getAttribute('url'); echo "<img src='$image'></img>"; $start++; } ?> [/CODE] Where $start and $end … | |
seeking someone in the membership familiar with XBRL [Extensible Business Reporting Language]. It is based on XML as confirmed at: [url]http://xbrleducation.com/edu/basicxbrl.htm[/url] Hoping to correspond with someeone about the basic tasks using this platform. Guidance sought | |
here is my code: import urllib import lxml.html equitydown="http://sc.hkex.com.hk/gb/www.hkex.com.hk/chi/market/sec_tradinfo/stockcode/eisdeqty_c.htm" file=urllib.urlopen(equitydown).read() root=lxml.html.document_fromstring(file') rdata = root.xpath('//tr[@class="tr_normal" and (.//img)]') for data in rdata: data.getparent().remove(data) root1=lxml.html.tostring(root) my=open('c:\\hk1.html','w') my.write(root1) my.close() when i open c:\hk1.html,comparing it with [url]http://sc.hkex.com.hk/gb/www.hkex.com.hk/chi/market/sec_tradinfo/stockcode/eisdeqty_c.htm[/url] there is a problem ,many lines in the [url]http://sc.hkex.com.hk/gb/www.hkex.com.hk/chi/market/sec_tradinfo/stockcode/eisdeqty_c.htm[/url] such as 06830 华众控股 2,000 # 06838 盈利时 2,000 … | |
I receive large pre-formatted XML files. Each XML is formatted the same way - in that they all have the same Parent Nodes and Child Nodes. Each Parent node has at least one Attribute (sometimes 3 or 4) and some fields also have attributes. In my opinion, the formatting of … | |
[url]http://feeds.bbci.co.uk/news/rss.xml[/url] ^^ I'm extracting data from the above website. I can extract most actual elements using the following code: [CODE] $xml="http://feeds.bbci.co.uk/news/rss.xml"; $xmlDoc = new DOMDocument(); $xmlDoc->load($xml); //get elements from "<channel>" $channel=$xmlDoc->getElementsByTagName('channel')->item(0); $channel_title = $channel->getElementsByTagName('title') ->item(0)->childNodes->item(0)->nodeValue; $channel_link = $channel->getElementsByTagName('link') ->item(0)->childNodes->item(0)->nodeValue; $channel_desc = $channel->getElementsByTagName('description') ->item(0)->childNodes->item(0)->nodeValue; [/CODE] ...but I can't read the attributes … | |
hello.. I have already join this group. I'm the newbie. I have problem with my code. I wrote in php and I use xml database. I have 3 page in php. first, layout for the list. second, input for the list form third, I want to save in xml. But, … | |
Hi, I am trying to simple php program to read the following xml and with loop foreach wants the book title (judul) to be printed on the screen. books.xml [CODE] <?xml version="1.0" encoding="utf-8"?> <perpustakaan> <buku isbn="01232312312"> <judul>PHP Programming</judul> <pengarang>Whoever he is</pengarang> <penerbit>KomTek Publishing</penerbit> </buku> <buku isbn="01534534"> <judul>Simple Programming</judul> <pengarang>No one … | |
Hi, anybody can tell me please how to Get xmlHttp.responseText when you call from IFrame? I get empty xmlHttp.responseText, while when calling server from out the IFrame, I get the responseText without problem, how can I solve this problem? Thanks. [CODE] <iframe> <input type="button" onclick="CallServer()"> </iframe> [/CODE] | |
Hi Everybody, I have this: XML: [code] <?xml version="1.0" encoding="utf-8" ?> <FORM ID="1" Formtitle="Form Builder"> <FIELDS> <!--Label Form--> <FIELDSET Legend ="Form for contact" > <PAGE title="Page Title" id="page_1"> <!--end label--> <Field type ="formTitle1" Label ="Title"/> <Button type ="Button" Label ="btnSave" Text="Save" Required ="0"/> <!--TEXTFIELD EMAIL--> <FIELD type="TextBox" label="Email:" required="true"> <PROPERTIES> … | |
Hi all , i configured my jdbc drivers and url in Xml but it shows null value my servlet code [CODE]public void init(ServletConfig config) throws ServletException { // TODO Auto-generated method stub super.init(config); System.out.println(config.getInitParameter("dbUrl")); System.out.println(config.getInitParameter("dbUserName")); System.out.println(config.getInitParameter("jdbcDriver"));} [/CODE] [CODE] <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_ID" version="3.0"> <display-name>CMS</display-name> … | |
Hello everyone, I am studying XML, XPath, XQuery, XSLT on my own and I want to sharpen my skills working on opensource projects. I am searching on Apache and other websites but the projects are too huge and in much advanced stage to start working on. I want to get … | |
Hi, Which Could Service do you recommend to purchase, so I can use it to learn how it works, how to change configuration of this cloud, install php there etc.? I need this to be cheap and have an usual cloud environment, so if my client has a cloud from … | |
[CODE]<html> <head> <title>Pie Chart Demo</title> </head> <jsp:useBean id=[COLOR=red]"myChart"[/COLOR] class=[COLOR=red]"classes.beans.votepie"[/COLOR] scope=[COLOR=red]"session"[/COLOR] /> <body> <h2>Vote Results Pie-chart</h2> <%String chartViewer = myChart.getvoteserve(request, response);%> <img src=[COLOR=red]"<%=chartViewer%>"[/COLOR] border=0 usemap=[COLOR=red]"#imageMap"[/COLOR]> </body> </html> [/CODE] accessing this above viewrst.jsp file shows the following error: [CODE][B]HTTP Status 500 - [/B] [B]type[/B] Exception report [B]message[/B] [B]description[/B] [U]The server encountered an … | |
Hi All i have downloaded "xmldiff-0.6.10" from their official site (http:// [url]www.logilab.org/859[/url]). I have tried installing the same on my 32 bit Windows 7 OS using the command "setup.py install" but below exceptions are thrown in the console. please help me out in installing this package on Windows Exceptions thrown … | |
I have created an XML schema that holds flights and i want to use to be able to create an XML document that contains all the flights. However, i can only write single flights to the XML file. So can anyone tell me how i can add multiple flights to … | |
Hello first sorry for my english... my problem is when creating xml from dataset in my dataset i got tables with relations. here is my xml sample that i have created.. but i dont want this. in this one column orders are wrong <ozel> <vergiToplami>1107.46</vergiToplami> <kismiVergiToplami>0</kismiVergiToplami> <toplamKDV>1107.46</toplamKDV> <toplamIadeEdilebilirKDV>0</toplamIadeEdilebilirKDV> <tecilEdilecekKDV>0</tecilEdilecekKDV> <tevkifatUygulanmayanlar> … | |
Hi - How do I open the xml file and xsl files in visual studio and run from there? I tried File - open file and opened both xml and xsl. but the play toolbar is disabled and have no idea how to run it. If I can add the … | |
Can someone Help me in my general problem,i can't decrypt the encrypted xml files??is there any tools to use?so i can edit or make readable the encrypted xml files?[CODE]<a href="http://www.mediafire.com/download.php?z7k0q8io2t1nxyf"> <i>click me to download the 2 xml encrypted file</i></a>[/CODE] hope someone help/suggest/comments in my threads. | |
for experiment i pull data from mysql to xml to use in flash how can i add ahref to id in xml to achieve like this [url]http://www.kalitekolik.x10.mx/product.php?id=1[/url] [url]http://www.kalitekolik.x10.mx/PHP_MySQL_Flash_FINISHED.swf[/url] my database like this id/ product_name/ price/ details [CODE] <?PHP $link = mysql_connect("localhost","lafamosa_kermis","lafamosa1000"); mysql_select_db("lafamosa"); $query = 'SELECT * FROM products'; $results = … | |
I've never used XML schemas before, though I know what their purpose is for. I did some research into how to write one, and I've got everything done I think. The problem is that I don't understand the purpose of a namespace, or if I even need to use one … | |
i have created sub-domain for one of my site. whether i need to create separate sitemap.xml, or i can include these sub-domain(url) into the main domain. or i can do both. | |
Hello.. I am creating Contact Book Application.. and I am now having a problem while writing this information to an XML File... I get "[COLOR="Red"]Root Element is Missing[/COLOR]" that crashes the application while using XmlDocument.Load to load a Stream Simply it should save all the changes when closing the form... … | |
I am currently using a script to run RSS feeds and dump all data into a MySQL. Every time I run it, it creates a duplicate entry into a database. Is there any way, I can just program a script to only get new feeds? I have some feeds subscribed … | |
Hello I'm new with AJAX and I'm trying to read an XML file with Javascript. It's supposed to display an alert message but it's not. What's wrong with my code? Thanks! :) HTML [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>XML Exercise</title> <script type="text/javascript" src="xmlExercise.js"></script> </head> <body onLoad="getData()"> </body> </html>[/CODE] Javascript … | |
Hi, Can anyone please tell me how to consume a web service running on a jasper server?.I need the ruby code for the same.Please help. Regards, Arun | |
Hi everyone. I am currently working on a project and I am new to php xmlrpc and openerp. I came across sample codes but I cannot figure out the method being called nor is it documented in the OpenERP xmlrpc definitions. The link for the sample code is : [URL="http://doc.openerp.com/v5.0/developer/6_22_XML-RPC_web_services/index.html"]http://doc.openerp.com/v5.0/developer/6_22_XML-RPC_web_services/index.html[/URL] … | |
Hello I need some Helps, I'm new to XML Schematron, I want to know how to run Schematron file with XML file without using "Ogygen XML Editor" , that is possible ? just by using IE browser. | |
Hi, I have a string which contains XML. I want to remove its first line and save it back to String. How can I do that? Thanks | |
how i can load all custom fiel and add to combobox ? and how i can set tag to send new post ? xmlrpc - c# | |
Im trying to to write a program in C# and I'm stuck. The program suppose to create a post on wordpress via xmlrpc. I can create the post successfully but I have problems creating custom fields for the post. So when I open created post, custom fields are never there. … | |
[B]I need to convert this xml into another one to send a soap message[/B] [CODE] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:customerCustomerListResponse> <storeView SOAP-ENC:arrayType="ns1:customerCustomerEntity[2]" xsi:type="ns1:customerCustomerEntityArray"> <item xsi:type="ns1:customerCustomerEntity"> <customer_id xsi:type="xsd:int">1</customer_id> <created_at xsi:type="xsd:string">2007-08-30 23:23:13</created_at> <updated_at xsi:type="xsd:string">2008-08-08 12:28:24</updated_at> <increment_id xsi:type="xsd:string">000000001</increment_id> <store_id xsi:type="xsd:int">1</store_id> <website_id xsi:type="xsd:int">1</website_id> <email xsi:type="xsd:string">john.doe@example.com</email> <firstname xsi:type="xsd:string">John</firstname> … | |
Hi all!! Im having a problem with my blog desing: thing is I wanna make a 3-column header, but it wont let me. I've tried resizing the header width and then add 2 more columns, and the header was resized, but the other 2 columns didn't appear, so I gues … | |
Hello, I try to make a website with xml and xslt 1.0. Now I wonder if and how this can be done. One page looks like this : [URL="http://www.tamarawobben.nl"]http://www.tamarawobben.nl[/URL] But on another page the image is on a whole other place. A example can be seen here : [url]http://www.tamarawobben.nl/?month=2005-12&pg=1[/url] Is … | |
![]() | Good morning, All I am going to place the tag propeties at each node. And the tag content will be file path. But my coding is not working..Can someone help me.. Thnx. My code to generate treenode tag properties from xml is as below: [CODE] Private Sub AddTreeViewChildNodes(ByVal parent_nodes As … ![]() |
hi, I am trying to wrap all the information inside <description> in CDATA [CODE]<xsl:output method="xml" indent="yes" version="1.0" encoding="UTF-16" standalone="yes" cdata-section-elements="description" />[/CODE] [CODE] <xsl:template match="produseXML/produs"> <item> <title><xsl:value-of select="nume_produs" /></title> <link><xsl:value-of select="url_produs" /></link> <description> <xsl:value-of select="descriere" /> <xsl:value-of select="pret" /> </description> <category><xsl:value-of select="categorie" /></category> <guid><xsl:value-of select="link_afiliat" /></guid> </item> </xsl:template>[/CODE] this is what … | |
Hello, I am getting the contents on my website from database using SQL Stored Procedure (C#). Now, I want to change the output look with XML / XSLT. How can I do this? Something like this http://forums.asp.net/t/1230093.aspx/1 but am not sure how to go about it, am new to C# … | |
Say i have these XML tag: [CODE]<?xml version="1.0" encoding="utf-8" ?> <AutoMobile> <KeyPhrases list="BMW"> <[COLOR="Green"]Question value="Is this type I or type II?"[/COLOR]> <[COLOR="Red"]Option value="Type I"[/COLOR] id="1"> <Question value="Is this controlled or uncontrolled?"> <Option value="Controlled" id="1"> <Diagnosis_List> <Diagnosis icd9=""> type I - controlled</Diagnosis> </Diagnosis_List> </Option> <Option value="Uncontrolled" id="2"> <Diagnosis_List> <Diagnosis icd9="">type I … | |
To make some operations on XML elements you have to know their types. This snippet is about getting the types of these elements. | |
[CODE] import java.sql.*; import javax.xml.parsers.*; import javax.xml.transform.*; import javax.xml.transform.dom.*; import javax.xml.transform.stream.*; import java.io.*; import javax.servlet.ServletException; import javax.servlet.ServletConfig; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletRequest; public class MySer extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void doGet(HttpServletRequest req,HttpServletResponse res) throws ServletException,java.io.IOException { String xml; Connection conn … ![]() | |
What is the difference between HTML and xml | |
Not all online stores provide RSS feeds to all of their products, so its difficult to keep track of good deals. Do you guys know of any tool that I can use to covert a webpage into RSS feed that can pull up all elements such as title, description, picture, … | |
Hi, I am new in xml programming and I need your help. I want to cataloging my cds and I have create a xml file and a dtd but they are not valid. :( xml [CODE] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cdcollection SYSTEM "cd-collection.dtd"> <cdcollection> <album barcode=""> <title></title> <artist></artist> <track id="1" … | |
I'm Working with register module with xmlHttpRequest. I have checking all. When i was trying to redirect after successfull its displaying the response with in the given div. [CODE] <script type="text/javascript"> function showRegister() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code … | |
Please help me in finding the xpath for these nodes [CODE]<IPAddses> <IPAddss><ix>0</ix><addss >124.123.123.330</addss ><desc /></IPAddss> <IPAddss><ix>1</ix><addss >124.123.123.331</addss ><desc /></IPAddss> <IPAddss><ix>2</ix><addss >124.123.123.332</addss ><desc /></IPAddss> <IPAddss><ix>3</ix><addss >124.123.123.333</addss ><desc /></IPAddss> <IPAddss><ix>4</ix><addss >124.123.123.334</addss ><desc /></IPAddss> <IPAddss><ix>5</ix><addss >124.123.123.335</addss ><desc /></IPAddss> <IPAddss><ix>6</ix><addss >124.123.123.336</addss ><desc /></IPAddss> <IPAddss><ix>7</ix><addss >124.123.123.337</addss ><desc /></IPAddss> <IPAddss><ix>8</ix><addss >124.123.123.338</addss ><desc /></IPAddss> <IPAddss><ix>9</ix><addss >124.123.123.339</addss ><desc … | |
I would like to make pugixml print the node_pi as [code] <?xml version="1.0" encoding="utf-8"?> [/code] How could I manipulate node_pi through pugixml? Thanks | |
hi... i'm getting a null reference exception unhandled error..... i have inserted the code snippet and a screenshot... please tell me where i'm going wrong..... [CODE] DataSources[] dataSources; int i = 0; _list = doc.GetElementsByTagName("DataSource"); foreach (XmlNode tempNode in _list) { //MessageBox.Show(tempNode.Attributes["Name"].Value.ToString()); //MessageBox.Show(tempNode.InnerXml.ToString()); dataSources[i]=new DataSources(); dataSources[i].getContent(tempNode); i++; }[/CODE] the class … | |
Hi everyone, I'm dealing with 2 messaging protocols: proto A and B. Their messages are described in XML: proto-A-messages.xml and proto-B-messages.xml Each message from proto A maps to one from proto B. When I receive a proto-A-message I want to map it to a proto-B-message. All I need to do … | |
![]() | i am writing an ajax code to collect information from a xml file but the file is not being read can someone please point out the problem for me the code is below. [CODE] <html> <head> <title></title> <script type="text/javascript"> var xmlHttpDoc = new XMLHttpRequest(); /*getcolor1 function*/ var options; function getColor1() … |
The End.