1,599 Topics

Member Avatar for
Member Avatar for Roelof Wobben

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 …

0
55
Member Avatar for tadaweb

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 …

0
63
Member Avatar for jeraldmuthu

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

Member Avatar for hfx642
0
234
Member Avatar for dress237935
Member Avatar for peter20

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

Member Avatar for peter20
0
188
Member Avatar for depakjan

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 …

Member Avatar for mrame
0
110
Member Avatar for Ralphael

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

Member Avatar for PlyrJames791
0
140
Member Avatar for Virangya

i wrote this code but noting happens.. can't find the error. even firebug is empty :( please help soon! [CODE]$(document).ready(function(){ $.ajax({ type: "GET", url: "tinymce.xml", dataType: "xml", success: function(xml) { $(xml).find('userdata').each(function(){ $(this).find('dataset').each(function(){ var title = $(this).find('redo').text(); var id = $(this).find('redo').attr('id'); //var url = $(this).find('url').text(); alert(id); //$('<div class="items"></div>').html('<a>'+title+'</a>').appendTo('#system'); }); }); } …

Member Avatar for Virangya
0
122
Member Avatar for iswariak

1. I want to take unique district values from the below xml. How to do it in XPATH? 2. I want to take unique taluk values and district name="xyz". what is the xpath expression? XML structure: <?xml version="1.0" encoding="utf-8"?> <imageData> <row> <slno>1</slno> <sitecode>001</sitecode> <sitename>Mel Sittamur</sitename> <photono>001_001_001.jpg</photono> <photodate>07-09-2008</photodate> <district>Villupuram</district> <taluk>Senji</taluk> <monument><![CDATA[Jain …

Member Avatar for zaibi403
0
4K
Member Avatar for jainpraveen75
Member Avatar for johnnc

Greetings, I am trying to write XML using SimpleXML for a web service call. I was having success until the XML got a little more complicated. Here is the XML format where I am running into problems: [CODE] <Agent> <Person Last='Smith' First='John'> <Addresses /> <PhoneNumbers> <Phone Type='1' Number='888-555-1212'> </PhoneNumbers> </Person> …

Member Avatar for jmichae3
0
439
Member Avatar for aaloo

i am getting confused that which one can be implemented >sending data out from flash to php via xml or >sending data out from flash to xml via php i know we can load data directly from xml to flash but i dont know how to send data from flash …

Member Avatar for sufyan2011
0
122
Member Avatar for aaloo

this is my xml file [ICODE]<myxml> <a> I can load XML like the wind! </a> <b> I can load XML like the storm! </b> </myxml>[/ICODE] i want to trace "I can load XML like the wind!" in flash movie.for this i am using this syntax that is not working .somebody …

Member Avatar for sufyan2011
-1
91
Member Avatar for keithxm23

Hi.. I'm new to AJAX and I'm attempting to use this webservice ( [url]www.webservicex.net/CurrencyConvertor.asmx?op=ConversionRate[/url] ) in my html page. Now I've managed to make a form and stuff to correctly call the webservice, but then, I do not want the answer to be displayed as just the output xml data. …

0
55
Member Avatar for abathurst

Hello, I am having trouble inserting data from a XML file into a table in a SQL data base. The worst thing is it isn't coming up with an error but nothing is being inserted into the database Here is the condensed version of the XML code I am using …

Member Avatar for abathurst
0
2K
Member Avatar for DarkWolffe

I have an [URL="http://pantheonarts.host22.com/xml/feed.xml"]RSS feed[/URL] set up using XML on the website I've developed for [URL="http://pantheonarts.host22.com/"]Pantheon Arts Unlimited[/URL]. I'm still fairly new to PHP and MySQL, so I find myself often jumping to various forums looking for answers for what are usually fairly obvious questions. My newest problem, however, I've …

Member Avatar for DarkWolffe
0
188
Member Avatar for aaloo

this is my as3 code which is making an xml file [code] var submitListener:Object = new Object(); submitListener.click = function() { var login_xml:XML = new XML("<login password=\""+username_txt.text+"\" username=\""+password_txt.text+"\"> password_txt.text </login>"); login_xml.xmlDecl = "<?xml version=\"1.0\" ?>"; packet_txt.text = login_xml; }; submit_btn.addEventListener("click", submitListener); [/code] i want to insert password as node value …

0
87
Member Avatar for mulegoat

Hi there, I have a very simple schema where each node requiring HTML output contains 7 possible numerical variables (all within nodes N1 - N13). I need to output text and image content according to the number within each node. Below is a sample of my schema: [CODE] <?xml version="1.0" …

0
108
Member Avatar for vishal1949

I have this assignment where I have to make an xml that has movies names and info. Then i have to make a StAX program that locates the xml file and reads it. The program should also be able to count the number of movies in the decade. Thats the …

0
132
Member Avatar for kadriirdak

Hi There, I have an XML data [code] <coordinators branch="xx"><coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> <coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> </coordinators> [/code] I need to …

Member Avatar for veedeoo
0
171
Member Avatar for mole116

hi, i have a question in XPATH. i am reading from XML file and i would like to know how can i extract a name from this line: <Name><![CDATAEdi></Name> lets say i want to get Dani? my c# query is like this: strExpression = "A/B/C/D"; and i also would like …

Member Avatar for mrame
0
155
Member Avatar for hotice47

hi need little help displaying xml data from two website need to display data like this 1-website a 2-website b 3-website a 4-website b i am using this code can any one tell me how i can display two xml data from different websites i am using this what i …

Member Avatar for cereal
0
205
Member Avatar for raul8

Hi, I am using jax-b for XML binding. Just wanted to ask is there any other API, that is better than jax-b. Like it can create XML elements in the form of hashmap or something? Thank You

0
63
Member Avatar for Roelof Wobben

Hello, I found this script ([URL="http://www.bobulous.org.uk/coding/paging-xslt.html"]http://www.bobulous.org.uk/coding/paging-xslt.html[/URL] for makimg next/previous links. Now I wonder if I could make this work with a sort of offset because I like to have different number of articles on a page. Can anyone give me some tips. Roelof

0
44
Member Avatar for techyworld

Hii i want to save data to the database when user register. I dont know whats wrong. Am having this error: Warning: DOMDocument::loadXML() [domdocument.loadxml]: Empty string supplied as input in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\TestingAjaxRegistration\register_pro.php on line 13 Warning: DOMDocument::schemaValidate() [domdocument.schemavalidate]: The document has no document element. in C:\Program Files (x86)\EasyPHP-5.3.6.0\www\TestingAjaxRegistration\register_pro.php on …

Member Avatar for pritaeas
0
433
Member Avatar for spelltox

Hi guys ! A little something i hope you could help me with - I've converted an html to XML and now i want to get all the child nodes nested within a DIV element with a specific attribute (class="itemInfo"). Because the html that the XML is based on changes …

Member Avatar for spelltox
0
476
Member Avatar for gani_2

Hi, I am new to VB.NET and xml and I am trying to parse the xml file of format mentioned below and display it using textbox in VB.NET. But I am not able to parse it. Can anybody pls give me a code snippet to parse the xml shown below …

Member Avatar for thines01
0
4K
Member Avatar for techyworld

Hi am new to xml, can anyone explain to me how to insert data in database using xml? I have my form below. I want to use xml to post the data. How can i do it? Please help [CODE]<table> <form method="get" action="regist_pro.php" name="name" onsubmit='return chckemail();'> <tr> <td><label>First name</label></td> <td><input …

0
52
Member Avatar for saadi06

Hi, I am having problem in refreshing xml file.I have a flash file that is connected to xml file.When I insert or edit something the xml file does not update until I clear the cache of the browser.I tried to use [CODE]xmlLoader.load("myXML.xml?cacheBreaker=" + Math.random() * 500);[/CODE] but it gives me …

Member Avatar for nalini@121
0
115
Member Avatar for newboi

Hi guys I am trying to create multiple landing pages populated dynamically with data from a feed. My initial thought was to create a generic php page as a template that can be used to create other pages dynamically and populate them with data from a feed. For instance, the …

Member Avatar for diafol
0
208

The End.