6,049 Topics

Member Avatar for
Member Avatar for ibdatx

Hi all, I want to transform an xml file to another xml file based on the length of innertext in an element. Here is an example of the file to be transformed: [CODE] <?xml version="1.0" encoding="utf-8"?> <recipe xmnls=""> <recipeList> <recipeType description="Breakfast"> <recipeInfo> <name>Omelet</name> <summary>An English Breakfast</summary> <ingredients>Eggs,Butter</ingredients> <instructions>(1) You will …

Member Avatar for iceandrews
0
214
Member Avatar for gecata83

Ok I'm having a problem with this code. The problem occures when I set the POST request and alert me with 411 error. Without this two lines [CODE]curl_setopt($session,CURLOPT_POST,true); curl_setopt($session,CURLOPT_POSTFIELDS,$xml)[/CODE]this code output nice xml which shows all the info in my spreadsheet. With this two lines we should put in the …

0
57
Member Avatar for RenanLazarotto

hey guys! how can I read strings from a file? Like... They will compose part of the interface... something like, read a string from a file, then this string points to a image that will be used in a picture box, as same as a label that will be shown …

Member Avatar for RenanLazarotto
0
132
Member Avatar for kalpaX

Hi, I want to know exactly what is WS-Atomic transaction? please explain what is it it and what does it do on the SOA. thanks.

0
55
Member Avatar for ibdatx

Hi all, I have a textblock that is bound to an xml document. This displays the innertext of an xml-node element and the width of the textblock is fixed at "auto". The issue is that of the display as the innertext may exceed the width of the textblock and therefore …

0
105
Member Avatar for valdrian_miran

How will I parse this XML using jQuery? <item> <station></station> <headline><![CDATA[]]></headline> <showDate>12/28/2010</showDate> <showTime></showTime> <doorsOpen></doorsOpen> <buylink></buylink> <description><![CDATA[]]></description> <pubDate>Mon, 27 Dec 2010 10:48:28 PST</pubDate> </item> I have to display month and date separately..

Member Avatar for parry_kulk
0
125
Member Avatar for moonknight33

Hey, please help me, this html file run normally in other browser but Firefox. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Hello everyone... </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <!-- Redirect webpage <meta http-equiv="refresh" content="2; url=/web/forum/vanilla" /> --> </head> <body> <script language="javascript" type="text/javascript"> function …

Member Avatar for hielo
0
194
Member Avatar for Krstevski

Hello friends, I have a small problem with parsing XML documents... My program works great, but if some element is not exist in the XML then I got an exception error, and now I want to ask "How to check if the element is in the XML" ? Here is …

Member Avatar for Krstevski
0
7K
Member Avatar for mrcpp

I'm using jCarousel to create this multi-row slideshow and..well... It doesn't work. I really don't know why, and this is very urgent. I have less than an hour to finish it. Please, please help me. main page: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us"> <head> …

Member Avatar for mrcpp
0
358
Member Avatar for SoulMazer

I should begin by stating that XML and I don't seem to get along very well. I've just about finished the interface on the level editor for a game I've made, and the next step is generating a XML file so that it can be read into the game dynamically. …

Member Avatar for ultimatebuster
0
157
Member Avatar for daviddoria

Hi all, I am transitioning a bunch of data from html (yuck!) to some sort of separated schema. I was going to use xml: [code] <events> <event> <title> <date> <speaker> <description> </event> </events> [/code] but now I am wondering if I should use a real database instead. Can anyone comment …

Member Avatar for d5e5
0
113
Member Avatar for Acidburn

Hi guys, I'm dynamically loading a dll that I've written at runtime but for some reason I'm struggling to get the generics working. I keep getting the following error: [COLOR="Red"][B][I]Cannot create an instance of XmlPlugin.XmlPlugin`1[T] because Type.ContainsGenericParameters is true[/I][/B][/COLOR] Heres the code that's in the DLL that I'm trying to …

Member Avatar for Acidburn
0
2K
Member Avatar for felix001

I currently have an XML (pasted below) that I want to place into a dictonary. With each dictonary key being the content of the XML`s <TITLE> markup and the values containing the content of the XML`s <ARTISTS*> markup. [CODE]<EXAMPLE> <CD> <TITLE>TITLE1</TITLE> <ARTIST1>ARTIST-ABC</ARTIST1> <ARTIST2>ARTIST-DEF</ARTIST2> </CD> <CD> <TITLE>TITLE2</TITLE> <ARTIST1>ARTIST-XYZ</ARTIST1> </CD> <CD> <TITLE>TITLE3</TITLE> …

Member Avatar for griswolf
0
138
Member Avatar for daviddoria

Please excuse my newness. Currently I know how to execute a php script by simply naming the script [filename].php and browsing to that file on my webserver. I have also learned how to parse and display an xml file using php. What I want to do is have a .xml …

Member Avatar for P0lT10n
0
1K
Member Avatar for michd77

Having a problem that I cannot seem to get over. Simply trying to do a post of an xml string to a web site. Seems to work fine, until I hit a certain size of the string, then it fails. I have searched for other methods, but am coming up …

Member Avatar for michd77
0
185
Member Avatar for stljim

Hello everyone, I'm _very_ new to xml, especially converting using an xslt. Here's my source XML generated by Eeye Retina. This data is being used by MS Access and I don't need all the data from the original XML. When I try to run the MS Access app I get …

Member Avatar for iceandrews
0
272
Member Avatar for asifakhtar

Hi, How can I create an excel file or XML from pdf bookmarks? My bookmarks consist of 3 thing separated by “:” It is “DATE: AUTHOR: DESCRIPTION” I want my excel sheet or XML should look like the following: Date Author Description October 19, 2010 Dr. ABC (MD), Omega Medical …

-1
78
Member Avatar for Juginx

Hey I have problem... If i save playlist with 1 item then it work but if i have more then it bug. i can start debugging. [CODE]XmlTextWriter ^textWriter = gcnew XmlTextWriter(dig->FileName, nullptr); textWriter->WriteStartDocument(); for(int i=0; i < listBox1->Items->Count; i++){ textWriter->WriteStartElement("track"+ i); textWriter->WriteStartElement("url", ""); textWriter->WriteString(listBox1->Items[i]->ToString()); textWriter->WriteEndElement(); textWriter->WriteStartElement("name", ""); textWriter->WriteString(listBox2->Items[i]->ToString()); textWriter->WriteEndElement(); textWriter->WriteStartElement("start"); …

Member Avatar for kvprajapati
0
140
Member Avatar for terabyte

How can I make my url [CODE]example.com/query.pl?q=Dummy+Text [/CODE] look like this: [CODE]example.com/Dummy-Text [/CODE] is that possible with .htaccess?

Member Avatar for Barrett1
0
71
Member Avatar for soso30

Hi, i tried to use the `ActiveXObject("CiscoURLProxy.URLGrabber")`, but when i run the code it gives the following : Error Type: Microsoft JScript runtime (0x800A01AD) Automation server can't create object please help me to fix it . here is a part of the code : <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> <% Response.ContentType = "text/xml"; …

Member Avatar for snep
0
148
Member Avatar for Juginx

hey. How to load and save to XML. xml like: [CODE][track1] name= url= starttime= [/track1] [track2].... [/CODE] and how to load only name to listbox without all link.

Member Avatar for jonsca
0
88
Member Avatar for maykay

Hello, everyone. Well, the title is pretty self-explanatory. when I turn on m PC, it freezes 2 or 3 minutes after entering WinXP. Completely freezes: the mouse doesn't move, keyboard does nothing, C-A-D does nothing, etc etc. Safe Mode works fine, BUT Safe Mode with networking also freezes after a …

Member Avatar for maykay
0
593
Member Avatar for zobobthegreat

Hello community im new! I am really rusty at C# but i do not want to learn the basics all over again so i hit the ground running and ran into a hurdle. I want to use an xml file for a database. Its a car repair tracking system i …

Member Avatar for kvprajapati
0
3K
Member Avatar for yuri1969

Hi, I'm fighting with [B]make[/B] for hours and I rly don't know where is my problem. I need to have a static lib libxml.a and an application (make.c) which uses it. I tried to compile it under GCC 4.4.5 and 4.5.0 and the compilation run fine. But under GCC 4.3.2 …

Member Avatar for Martin B
0
2K
Member Avatar for lawrenceh

Hi How is it possible to write Ajax code using var timerId = setTimeout("test_function();", 250); and xmlhttp.onreadystatechange=function() but without the user doing anything. Thanks in advance, Lawrence

Member Avatar for lawrenceh
0
127
Member Avatar for rakesh4java

[CODE]import java.io.*; import java.text.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public class getname extends HttpServlet { public void init(ServletConfig config) throws ServletException { super.init(config); } public void destroy() { } public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException { String name = null; PrintWriter out = response.getWriter(); if(request.getParameter("txtname") != null) …

Member Avatar for rakesh4java
0
25K
Member Avatar for achava

I have an xhtml document that contains many lines that look like: <div style="position:absolute;top:224;left:108">The line was longer than we expected</div> For my first trick I need to be able to match or select this node and others like it, where like it means that it is a div tag with …

Member Avatar for achava
0
171
Member Avatar for cossay

[CODE] <html> <head> <title>MY FIRST AJAX SCRIPT</title> <script language = "javascript" type = "text/javascript"> function checkName() { var xml; try { xml = new XMLHttpRequest(); } catch(e1) { try { xml = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e2) { return false; } } xml.onreadystatechange = function() { if(xml.readyState == 4) { alert(xml.responseText); …

Member Avatar for cossay
0
104
Member Avatar for ozkanb

Hi, For example my xml looks like this: [code] <root> <Book_information> <bookTitle>Lorem 1</bookTitle> <choices>test1</choices> <choices>test2</choices> <choices>test3</choices> <choices>test4</choices> <choices>test5</choices> <choices>test6</choices> <calendar>2010-12-30</calendar> <calendar>2011-01-12</calendar> <calendar>2011-03-10</calendar> </Book_information> </root> [/code] I need to loop the elements "Choices"... How can i do this? I know how to work with the for each loop, but i don't …

Member Avatar for xml_looser
0
107
Member Avatar for emilybose

Hi, I want to read an xml file thru java..all examples in google r of same type.... my xml file shows <?xml version="1.0" encoding="UTF-8" ?> - <checkstyle version="5.3"> - <file name="C:\Checkstyle\Junit\LLU.java"> <error line="2" column="8" severity="error" message="Unused import - java.io.FileWriter." source="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck" /> <error line="3" column="8" severity="error" message="Unused import - java.io.IOException." source="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck" …

0
35
Member Avatar for daviddoria

I want to have files like this: File1.xml [code] <titletag> Title1 goes here </titletag> <contenttag> Content1 goes here </contenttag> [/code] and then use this data with something like: [code] <html> <body> ... Place <contents of titletag from File1.xml> here </html> [/code] Is this a reasonable request? How would I do …

Member Avatar for Kraai
0
121
Member Avatar for Naggelos

Hi, I'm making a website and I wanted to incorporate a 'News' page. As I'll display some of the news topics elsewhere (in home page), I wanted to make each of the topics in XML. I have the XML document, and tried using XSLT to parse the XML into XHTML …

0
59
Member Avatar for lse123

I use a PHP WS to get country by IP of visitors to my site, well is it needed save this country or, since is easiest save ONLY the IP and country for a particular IP never changes???

0
90
Member Avatar for bhupimahey

Hi i have fetch rss feeds url itms on page .i want that when we click on the particluar rss feed item than fetch that feed full article. If anyone know please tell thanks & regards bhupinder

0
59
Member Avatar for Nitin Daphale

I am getting that exception('Chart:' undeclared namespace) on executing the code [CODE] xmlString =" <Chart:Bullet values='100,200' size='100x20' shading='5' >"; XmlDocument doc = new System.Xml.XmlDocument(); doc.LoadXml(xmlString); [/CODE]

Member Avatar for hielo
0
92
Member Avatar for elhelow
Member Avatar for kvprajapati
0
37
Member Avatar for samarudge

So I just got a new centOS box with PHP 5.1.something but I wanted it on PHP 5.2, initialy running [ICODE]yum update php[/ICODE] returned [CODE]php-pecl-memcache-2.2.6-1.el5.x86_64 from installed has depsolving problems --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed) Error: Missing Dependency: php-zend-abi = 20050922 is needed …

Member Avatar for Chanpan
0
246
Member Avatar for onsir

I made application web using hibernate + spring + velocity and IDE Netbeans 6.8 + Glassfish this my files [CODE] applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:context="http://www.springframework.org/schema/context" xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd" > <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" p:location="/WEB-INF/jdbc.properties" /> <context:annotation-config/> <context:component-scan …

0
71
Member Avatar for katmai539

Hello, i'm working on a xml-style format protocol for question-and-answer applications. The concept is simple: there are just a few types answers possible (just like in real life): open answers which are entered as strings, numeric answers as integers, multiple choice answers and ratings (which are just numeric integers, really, …

0
223
Member Avatar for LogicWeb

Working on a web site and noticed that of about 70 pages total, only one page (regarding Roundcube webmail) has an issue with the sub-menu not working at all. This is the header [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <head> …

Member Avatar for LogicWeb
0
172
Member Avatar for ajittpawar

I have written Java client and service,locator,stub,proxy classes are created in eclipse.I also modified endpoint in locator class.The method we are consuming that is returning an object of class. Below error gettting while running web service client AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.io.IOException: java.io.IOException: java.io.IOException: Non nillable element 'stateCode' is …

0
93
Member Avatar for erniestl

I have windows 7 on my pc with 2 gig memory, 350 gig harddrive and 2.67 GHZ CPU. I run slimbrowser most of the time. This problems does it in IE,Firefox and slimbrowser. What ha}ppens is if I open like 15 websites aat once will close the browser down , …

Member Avatar for dvdreplication
0
413
Member Avatar for aplh_ucsc

Hi. I'm new to xml. This is my sample codes. [CODE]<!-- library1.xml --> <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="library.xsl"?> <lib> <book> <name>Modern Operating System</name> <author>Andrew S. Tanenbaum</author> <edition>3rd Edition</edition> <price>1500</price> <ISBN>978-81-203-3904-1</ISBN> </book> <book> <name>PHP and MySQL Web Development</name> <author>Luke Welling and Laura Thomson</author> <edition>4th Edition</edition> <price>1200</price> <ISBN>672-32672-8</ISBN> </book> <book> <name>Rapid …

Member Avatar for iceandrews
0
137
Member Avatar for fuggles

Are there any good C++ XML parsing APIs that anyone recommends? I tried TinyXML but couldn't get it to compile, or find any information about it.

Member Avatar for sundip
0
65
Member Avatar for rizvihaider72

Hello! I have made a flash xml / feeds reader which reads feeds from my blog. When i checked it in Flash Environment it worked correctly but as soon as I uploaded it to the server it doesnot load anything. I cannot get what the problem actually is. Thanks in …

Member Avatar for JasonHippy
0
83
Member Avatar for jfortiv

Hello, I'm developing an org chart for my company and I want to spend some effort to make it interactive. I'm utilizing the Google Visualization API Org Chart tool and writing JavaScript to extend the basic functionality provided by that framework. This is the general plan that I've devised so …

Member Avatar for jfortiv
0
115
Member Avatar for computerbear

Hello, Class assignment, I get partway there, but borders do not show up. We have text files we turn into XML and css by inserting some prefixes and namespaces, etc. Each listing under an agent should be in its own box with a border. I just get long paragraphs after …

Member Avatar for computerbear
0
167
Member Avatar for noliasoulja

syntax error, unexpected T_STRING can anyone help? here id my code. and I'm using 000webhost if that helps [code]</script></span></td></tr></table><span id="content"><table width="100%" class="uportal-background-content" cellspacing="0" cellpadding="0" border="0"><tr><td width="33%"><img height="3" width="10" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td><img height="3" width="1" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td width="34%"><img height="3" width="10" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td><img height="3" width="1" title="" alt="" src="/media/org/jasig/portal/layout/dlm/skins/xp_style/skin/transparent.gif"></td><td width="33%"><img height="3" width="10" …

Member Avatar for mschroeder
0
271
Member Avatar for swathys

hi, I have a problem with the below code. It gives error [COLOR="Red"]Public member 'resolveExternal' on type 'DOMDocumentClass' not found.[/COLOR] at the palce i mark in green. Please help me to solve this..... [CODE]Public Sub ReadIndXML(ByVal LoopID As Integer) Dim strXMLPath As String '= "" Dim xmlRoot As MSXML.IXMLDOMElement Dim …

Member Avatar for kvprajapati
0
167
Member Avatar for fabricetoussain

for home work assignment we have to Implement a class Product. A product has a name and a price, for example new Product("Toaster", 29.95). Supply methods getName, getPrice, and reducePrice. Supply a program ProductPrinter that makes two products, prints the name and price, reduces their prices by $5.00, and then …

Member Avatar for Eric Cute
0
643

The End.