3,634 Topics

Member Avatar for
Member Avatar for shishtawitch

hi, how can i make a link attache ment system with php, culr / ajax one like in facebook..........!! i.e by typing a link fetching meta, title and images from that link...!! thanks in advance.........!!

Member Avatar for digital-ether
0
105
Member Avatar for kievari

Hi, I have a variable of type Object, which is obtained from an xml-rpc call like: [CODE] Object[] params = new Object[]{new Double(4.0), new Double(5.0)}; Object result = client.execute( "foobar.add", params ); [/CODE] and I know that it contains this xml data: [CODE] <methodResponse> <params> <param> <value><struct> <member><name>value1</name> <value><double>4.2</double></value> </member> …

1
84
Member Avatar for muchomagic

Hi all, I'm attempting to write an XPath expression that can follow references recursively. I'm doing this for a Schematron rule, so it's not in an XSLT template that I can modify. The setup: [code] <strawberry id="strawberry-1"> <extends ref_id="berry-1"/> </strawberry> <berry id="berry-1"> <extends ref_id="fruit-1"/> <extends ref_id="plant-1"/> </berry> <fruit ref_id="fruit-1"/> <extends …

0
68
Member Avatar for londonstan

If i have some xml in the form [code=xml]<root> <a>hello</a> <b> <bi>hiya</bi> <bii>hey</bii> </b> <c/> <d>hello again</d> </root>[/code] how can I a) count the nodes? i.e. a, b, bi, bii, c, d so 6 b) count the nodes that are non empty a, bi, bii, d so 4 ? i …

0
48
Member Avatar for erees

I'm sure I missed something simple but I'm getting frustrated with this code simply because I'm so sure it should work. I have created a short program for exporting some XML data was use at the office into .tsv files. I have a thread dedicated to reading the xml data …

Member Avatar for erees
0
196
Member Avatar for whiteyoh

Hi All, Im wanting the following script to output to an XML file, but im getting an error on line 18 and i have hit a brick wall. Help would be appreciated. [code] <?php require_once("connect.inc.php"); $db = getConnectionMySql(); $stmt = $db->query("SELECT email, name, lastlogin FROM subscriber"); while ( $obj = …

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for Apeksha82

I have a web method in a web service (in .Net 2.0) which takes in an XmlSchema object as a parameter. When I add a reference to this web service in my application, it shows the parameter type as "WebServiceNamespace.XmlSchema" instead of "System.Xml.Schema.XmlSchema". and I cannot make a successful call …

Member Avatar for kvprajapati
0
60
Member Avatar for nsr

hi all. I have created a java web project to make a servlet in NetBeans6.7.1, using Tomcat 6.0.16 App Server. The Web Service reference doesnt not show the operations and gives the following error. The web service works fine though. A solution is to add xerces file to the runtime …

0
135
Member Avatar for Oceanblue

hello i have started learning action script and ive been trying to create a dynamic nav bar. the xml i have is [CODE]<home> <navLinks> <links>DESIGNER IN FOCUS</links> <links>EMERGING TALENT</links> <links>FASHION MENTOR</links> <links>E-BOUTIQUE</links> <links>FASHION JOBS</links> </navLinks>[/CODE] and i have found that [CODE]mainNavCont_mc.link01.linkTxt.text = "text in here";[/CODE] works to replace one dynamic …

Member Avatar for Oceanblue
0
90
Member Avatar for mrjoli021

i am writing a php program to read simplexml file. i get the following error Parse error: syntax error, unexpected T_STRING in /Applications/MAMP/htdocs/TestSite/sqlconnectstring.xml on line 1 here is the php file [code] include ('sqlconnectstring.xml'); class sqlConnection { var $server; var $user; var $pass; function __construct() { $xml = new SimpleXMLElement($xmlstr); …

Member Avatar for pritaeas
0
69
Member Avatar for capitanf

Hi I was wondering... how can I publish a web service but only to few client programs? I thought maybe a solution is simple apache access (for restful service) but maybe it's another way..? thanks in advance

0
104
Member Avatar for carobee

How to parse an xml from javascript from code beside page? i have tried [code] var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc.async = false; xmlDoc.onreadystatechange = Readxml; xmlDoc.load("abc.xml"); [/code] but the error is that the xml is not loaded? i am using visual studio 2008.thnks in advance

Member Avatar for sahmed_12
0
110
Member Avatar for veera_kumar

Hi all, I have a one problem in xsl. I dont want to do further execution, when a condition reaches. I need to come out from the style sheet. Could you any one help me out on this. Thanks, Veera

Member Avatar for kvprajapati
0
118
Member Avatar for lifeh2o

I am trying to make a desktop application that can fetch live scores from web and save them to a database for offline view. Also if you know any open source application that is capable of displaying scores by fecthing from web then please tell. I dont know how to …

Member Avatar for kvprajapati
0
123
Member Avatar for jsmunroe

Is there a way to parse HTML within an XML element in an XSLT stylesheet? I am using XSLT to create a template but I want the XML instance to contain HTML markup. I find that the value-of element ignores the HTML markup altogether. There just has to be a …

Member Avatar for jsmunroe
0
63
Member Avatar for dhanya_piit

hey, can any one tell me whether i can write methods other than getxm or put xml in restful web services.If yes then which will be the first function to be called

Member Avatar for klactose
0
93
Member Avatar for Namibnat

I am trying to create an RSS feed dynamically with php, and for the most part it seems to work out right. When I try to validate, it gives me an error with this line: [CODE]<link><a href='index.php?tt=Getting it all together&m=1'>Getting it all together</a></link>[/CODE] And it points to the = between …

Member Avatar for Elbudster
0
141
Member Avatar for Alxandr

I get an error trying to parse som XML. The error is [icode]System.Xml.XmlException: Root element is missing..[/icode], and I can't understand why. Here is the code I run: [code=C#] MemoryStream xmlStream = new MemoryStream(); StreamWriter xmlStreamWriter = new StreamWriter(xmlStream); String xml = "<html>\n<body>\n\n<h1>My First Heading</h1>\n\n<p>My first paragraph.</p>\n\n</body>\n</html>"; xmlStreamWriter.Write(xml); xmlStreamWriter.Flush(); XmlReader …

Member Avatar for Alxandr
0
3K
Member Avatar for extkml

I have orders.xml like the following [CODE]<?xml version="1.0" encoding="UTF-8" standalone="no"?> <orders> <order orderDate="1/1/2009" orderNo="1"> <customer id="nnghiem" name="nguyen nghiem"/> <item id="item-1" price="25000" quantity="0"/> <item id="item-2" price="22000" quantity="3"/> </order> <order orderDate="2/2/2009" orderNo="2"> <customer id="lp" name="lampard"/> <item id="item-1" price="25000" quantity="2"/> <item id="item-2" price="22000" quantity="8"/> </order> <order orderDate="3/3/2007" orderNo="3"> <customer id="nnghiem" name="nguyen nghiem"/> <item …

Member Avatar for extkml
0
178
Member Avatar for extkml

I have a xml file like this [CODE] <?xml version="1.0" encoding="UTF-8" standalone="no"?> <orders> <order orderDate="1/1/2009" orderNo="1"> <customer id="nnghiem" name="nguyen nghiem"/> <item id="item-1" price="25000" quantity="0"/> <item id="item-2" price="22000" quantity="3"/> </order> <order orderDate="2/2/2009" orderNo="2"> <customer id="lp" name="lampard"/> <item id="item-1" price="25000" quantity="2"/> <item id="item-2" price="22000" quantity="8"/> </order> <order orderDate="3/3/2007" orderNo="3"> <customer id="nnghiem" name="nguyen …

Member Avatar for kvprajapati
0
636
Member Avatar for sushil.sharma75

I need to convert the following XML file [code=xml]<Para> <PgfTag value="Body" type="str"/> <Pgf> <PgfFont> <FFamily value="Times New Roman" type="str"/> <FWeight value="Regular" type="str"/> </PgfFont> </Pgf> <ParaLine> <String>Underlined charcter</String> </ParaLine> </Para> <Para> <PgfTag value="Body" type="str"/> <Pgf> <PgfFont> <FFamily value="Times New Roman" type="str"/> <FWeight value="Regular" type="str"/> <FAngle value="Italic" type="str"/> </PgfFont> </Pgf> <ParaLine> <String>Italic …

Member Avatar for kvprajapati
0
127
Member Avatar for alsoumhi

Hi guys, I am trying to restrict users to access the sources of my application so I have used tomcat-users.xml file , but later I will be facing a problem which is how if I have a lot of authorized users , so I will add each one to that …

Member Avatar for javaAddict
0
114
Member Avatar for veledrom

Hi, I need an php soap example that should run on my local wampserver. Also, wsdl file should be in my www/mytest folder with server and client php files. Not outsourced. I tried a lot from web but they all outsource wsdl in their servers. Thanks in advance

Member Avatar for network18
0
106
Member Avatar for shankmuchlove

Hello people, I had an idea of storing my website's feedback form data into an xml file rather than using a database table. It works faster using an xml file when retrieving data than using a database table. Please suggest me, what if I use xml files for storing complex …

Member Avatar for network18
0
58
Member Avatar for mr_scooby

hi guys, I would like to be able to take all the output of a order form and the database output of the selected items and return it to a xml document. I tried the file_get_contents and that just took the actual code from the php page. My website is …

Member Avatar for mr_scooby
0
77
Member Avatar for markyjj

I would like ask for some advice please, I am trying to create a program in C# but have the following problem. I am currently trying to loop through a batch of XML files that are stored in a folder. However, I just don't want to loop through the XML …

Member Avatar for thines01
0
484
Member Avatar for meli7a

Hi all, I have 2 unrelated questions. I need to do a grouping of data using XSLT. I need this to function like how a nested IF within an IF would function. After which, I need to group the data so that I can split it into multiple files according …

0
81
Member Avatar for hangon

I have an xml like below <PO> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1001</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1001</ID> <PRICE>10</PRICE> </ITEM> </PO> I want an xpath that will get only ID = 1000 and the output should be like below <PO> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> </ITEM> <ITEM> <ID>1000</ID> <PRICE>10</PRICE> …

Member Avatar for fpmurphy
0
118
Member Avatar for Tales

Hello, I wanted to ask about a new small program that ihave to do. I am supposed to take some information from an excel (the structure of this excel is fixed) and save it as an XML. I am still deciding if I should do it with Visual C++ (which …

0
63
Member Avatar for daniyalnawaz

I want integrate following apis in my website, 1. Yahoo BBAuth 2. Google OAuth 3. Live ID Delegated Authentication 4. Facebook Connect Does these facilities enable me to get their email addresses as i cant find any mention of email address of the logged user in the API documentations.

Member Avatar for pritaeas
0
144

The End.