1,599 Topics

Member Avatar for
Member Avatar for ritesh0104

i wish to post a xml data using php ; but wihtout cURL? what are the options available.

Member Avatar for pritaeas
0
67
Member Avatar for zackh123

Hello, I am currently helping my BI team convert a Cognos Tree Object into a Javascript tree object. The part where I am stuck is using javascript to parse the XML data file that would normally fill up the Cognos tree. Here is an example of the XML data file... …

Member Avatar for Troy III
0
502
Member Avatar for Mike Askew

Firstly I will say im a complete and total novice when it comes to XSLT and XML so this could be a very obvious mistake on my behalf. [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="node()"> <xsl:copy> <xsl:copy-of select="@*"/> <xsl:apply-templates/> </xsl:copy> </xsl:template> <xsl:template match="TestNode"> <RenamedNode> <xsl:copy-of select="."/> </RenamedNode> </xsl:template> </xsl:stylesheet> [/CODE] When …

Member Avatar for StephNicolaou
0
197
Member Avatar for kenhans

I have an XML that looks something like this. It contains Subscriptions with some attributes. There are about 50 attributes to one subscription (only 3 listed here) and I'm trying to find out if there is a difference between one of the <cell>-elements in <values> and <oldValues>. If there is …

0
58
Member Avatar for tomhack

Hi all, I need to transform xml --><xslt> -->xml I have flat xml file(source file) , Need to code Xslt file to get target file. (Files are given below) [B]This is source file(flat)[/B] [CODE] <CV:Hot> <CV:Aaa style="Title"> <b type="Aaa">Curriculum Vitae</b> </CV:Aaa> <CV:Aaa style="Subtitle"> <b>Personal Details</b> </CV:Aaa> <CV:Aaa style="Name">Tom Hack</CV:Aaa> <CV:Aaa …

0
65
Member Avatar for vijiraghs

My requirement is to parse through a HTML document ( which will be an article) and come up with a few keywords which describe what the document is about. For example, if a professor writes an essay about say, information security; i want to parse this HTML document and come …

Member Avatar for vijiraghs
0
199
Member Avatar for aals

I am new to XML and need headstart for a car hire website which requires XML connectivity with its partners. So please help understand what do I need to know to start it? Thanks for help!

Member Avatar for aals
0
133
Member Avatar for MikeFL

I'm still kinda new to php and have been getting this error: PHP Parse error: syntax error, unexpected T_STRING in /var/www/index.php on line 33 It's all running on a LAMP server in a local VM. Been looking at it for the last 2 days and can't find what is wrong, …

Member Avatar for MikeFL
0
3K
Member Avatar for M.Waqas Aslam

hello ! i want to make a xml file to store my Settings such as server name , user name , and password , etc , i try to search how to read and write xml file i found this code for writing an xml file it works fine for …

Member Avatar for M.Waqas Aslam
0
605
Member Avatar for Naggelos

Hi, I created an XML file that will hold the latest news and stories, and trying to display it now in my HTML file using Javscript (I scrapped XSLT, as it altered the CSS styling and alignments compared to the other pages and couldn't work my way around that). So, …

Member Avatar for ajcoder
0
215
Member Avatar for mani-hellboy

Hi friends., Actually I use datagrid to show my result from XML file.I load my data from XML file easily.But i need Sorting method for that and i don`t know how to solve it Please give me solution for that My code is [CODE] Imports System.Data Imports System.Xml Imports System.IO.StringReader …

Member Avatar for mani-hellboy
-1
122
Member Avatar for learner guy

Hi i am learning xml , in a very simple code i got an error saying [B]"Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"[/B] i am getting this in all browsers ,i have tried to look for solution on google but could not find ,Plz help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Troy III
0
1K
Member Avatar for kained

This is annoying me. I have made a simple RSS feed but i need some of the links to open in a new window But i can't find a way to do this. All i want is the same functionality you get in html when you specify target-"_blank" How is …

Member Avatar for ShailRathore
0
1K
Member Avatar for Mike Askew

I currently need to be able to read through an XML document, find certain nodes and either delete them (and child nodes) or edit the nodes name and possibly value. What would be the best way of going about this? XPath? XSLT? XMLReader/XMLWriter? My Code/XML contents cannot be posted though.

Member Avatar for Mike Askew
0
155
Member Avatar for ttback

This thread is related to my thread on Java's forum: [url]http://www.daniweb.com/software-development/java/threads/408377[/url] I don't mean to make multiple posts but I wasn't sure which of these forums this problem belongs to. I will focus on asking about the XPath part here. I have a problem to understand XPath when it comes …

0
93
Member Avatar for jsparger

Hi guys, I'm looking for a little help with Apache Xerces. I am currently trying to use Xerces-C++, but I'll soon be using Xerces-Java. As I look the the C++ programming guide and the DOM programming guide, a lot of my questions remain unanswered. The sample codes lack comments on …

0
98
Member Avatar for Tom_Krajci

Please see attached XML file. I am using the XPATH expression getValueXPath() in JavaScript to extract one value from an XML alert message - to control a robotic telescope. I need to extract the value for Dec, a coordinate location in the sky that is a child of <WhereWhen> The …

Member Avatar for Tom_Krajci
0
99
Member Avatar for TheQuestor

[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 …

Member Avatar for GeekByChoiCe
0
289
Member Avatar for mnewsome

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

Member Avatar for mnewsome
0
88
Member Avatar for luofeiyu

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 …

0
51
Member Avatar for asif49

[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 …

Member Avatar for asif49
0
1K
Member Avatar for davy_yg

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 …

Member Avatar for cereal
0
106
Member Avatar for SavantKing

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> …

0
66
Member Avatar for tungsten

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 …

Member Avatar for dknochen
0
223
Member Avatar for gokhantiknaz

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> …

Member Avatar for gokhantiknaz
0
157
Member Avatar for breakzzzz20

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.

Member Avatar for breakzzzz20
0
228
Member Avatar for agent154

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 …

Member Avatar for hericles
0
237
Member Avatar for sanityhien

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 …

Member Avatar for Troy III
0
300
Member Avatar for CN_Helper

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.

0
88
Member Avatar for sulagno

[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> …

Member Avatar for sulagno
0
306

The End.