6,049 Topics

Member Avatar for
Member Avatar for poeticinsanity

I'm using HTMLParser to find some thing among this page given below. The link i'm looking to find and follow is in red. I'm using the code, also provided below to find this link, but it isn't seeming to find it at all. The portion of code that isn't working …

0
59
Member Avatar for PinoyDev

Good day.! I am getting stuck with parsing my xml data in order for me to display it on a listview. The xml data to be parsed is not constant. The the <NumRows> is changing. I need .bas or any other function in VB6 that will parse the xml and …

0
46
Member Avatar for antwan1986

Hi all, hopefully my question is simple as I'm fairly new to OOP coding. I've found an RSS Parser on the internet (which is open source and I can adapt it to however I please yada yada). I want to hide certain variables. [CODE] <?php # RSSParser ## Using the …

Member Avatar for antwan1986
0
92
Member Avatar for naveenduttvyas

Hello Tenchnocrats, I am getting the following error while invoking the "getSession" method of sessionmanager webservice deployed in weblogic OCSG. I have created a soap message properly but its giving error as "javax.xml.soap.SOAPException: No Security header in message but required by policy." The SOAP message created is by below code …

0
89
Member Avatar for mem81

Hi Guys, Spent lots of time looking around , reading MSDN help and whatnot. I don`t seem to get the right answer still. What I would like to do is To parse XML file to an array in vb.net console application.The XML file is very simple. The thing is that …

Member Avatar for mem81
0
2K
Member Avatar for serkan sendur
Member Avatar for serkan sendur
0
2K
Member Avatar for antobx

Hi , I create a xml string using a xmldocument (c# 2.0 ) This is my code (more or less) XmlElement MySearchNode = xmlDoc.CreateElement("MySearch"); xmlDoc.AppendChild(MySearchNode); ... XmlNode node1 = xmlDoc.SelectSingleNode("/MySearch/Objects"); XmlAttribute nameAttrib = xmlDoc.CreateAttribute("result"); nameAttrib.Value = "012"; node1.Attributes.Append(nameAttrib); xmlDoc.outerxml I want to validate the xml string against a XSD : …

Member Avatar for kvprajapati
0
449
Member Avatar for junrest

Hi, I'm newbie in nusoap library, and I'm getting stuck how to declare soap:header to be use in authentication from the client to the server. My script/wsdl server works fine, but I just want to secure my functions using authentication and also as of now dont have any idea how …

0
116
Member Avatar for petrica

Hello, I'm working on a project using web services in C#. I have a Oracle database and different clients are requesting data using the web services from the Oracle database. In time after a few hours of running the web services IIS server memory usage seems to increase. I've checked …

0
110
Member Avatar for chedderslam

I don't use XSLT very much, but need to modify our current file. Right now, we have the following statement: [CODE] <business_use> <xsl:value-of select="if (*:PersDriverInfo/*:kait_BusinessUseInd = '1') ))then 'Y' else 'N'"/> </business_use> [/CODE] I am trying to modify it to look at an additional node like this: [CODE] <business_use> <xsl:value-of …

Member Avatar for cwlocke
0
102
Member Avatar for Swijr

I have a task where I'm transforming a response like this: [code] <Names> <Name> <First></First> <Last></Last> <Middle></Middle> </Name> <Name> <First></First> <Last></Last> <Middle></Middle> </Name> </Names> [/code] But I have to format it into nodes like this: [code] <name_first_1></name_first_1> <name_last_1></name_last_1> <name_middle_1></name_middle_1> <name_first_2></name_first_2> <name_last_2></name_last_2> <name_middle_2></name_middle_2> [/code] So I wanted to use position() to …

Member Avatar for Swijr
0
96
Member Avatar for behrk2

Hey everyone, I am going to be developing a reporting component based on a relational database. Reporting is a big thing, naturally. So I want to make sure I do it right. I have been doing a lot of research, and I want to see what you all think of …

Member Avatar for xml_looser
0
102
Member Avatar for Talguy

I am trying to develop an application for my phone that will communicate with my personal linux server. The phone application will not be java based but the server will be. The Server will be sending me information from my database to my phone. How should I package my data …

0
56
Member Avatar for jonnytabpni

Hi folks, I'm trying to write an XMLHandler for my epos app. The XML file (which is received by a network stream) will include multiple "operations" which may include updating the product database or opening the cash drawer etc.. My sample XML file looks like this: [CODE]<paypointXML> <op> <command>opendrawer</command> </op> …

Member Avatar for jonnytabpni
0
123
Member Avatar for undead25

Hi there. I'm sor of beginner in c# and want to compare the value of the elements form a XML file with other values wich i declare for example. My XML file looks like this: <alarma> <conditii> <conditie> <semnal>Umiditate</semnal> <operator_semnal>=</operator_semnal> <valoare>90</valoare> </conditie> <operator>&</operator> <conditie> <semnal>Temperatura</semnal> <operator_semnal><</operator_semnal> <valoare>37</valoare> </conditie> </conditii> </alarma> …

Member Avatar for undead25
0
2K
Member Avatar for polo_coins

Hi I wrote such code it works mostly perfect(you may use it) but I don"t know how to add attributes to some TAGs for example I want to change Expire date to attribute of buyer I want you suggesting how to add attributes [ICODE] class Program { static void Main(string[] …

Member Avatar for kvprajapati
0
102
Member Avatar for starengineer

can someone direct me to a tutorial that will give me step by step instructions on how to link xml to my index page. I don't quit understand the concept around xml. and how it work with an index page Thank in Advance

Member Avatar for essential
0
75
Member Avatar for affee

I have a script that needs to extract data using perl modules. I cannot write it using php because the site would need a complete rewrite. I need to get a string (it is xml) sent by a post to a php script. and I have no idea how. I …

0
40
Member Avatar for SergioQ

Does anyone know of a decent Geo Ip Tool locator? I used to use GEOIPTOOL.com. It appears to no longer work. Have tried some others, but nothing was as close as the one above. Not even sure where to ask this, this was my best guess. Sorry if I'm in …

Member Avatar for wilson2
0
188
Member Avatar for tummalavishwana

Could any one you help me in resolving this issue. I want to write the content to a file line by line. I have done the following in my java class. I have to append the some content into an xml file. For this I am reading an xml file …

Member Avatar for kvprajapati
0
96
Member Avatar for ashokrajendran

Hi all, I'm doing the project, in which i'll get a string as response from the server. That string contains the xml content. I need to parse it and extract the required value of the xml tags... i have no idea about this, Kindly any one has a code to …

Member Avatar for kvprajapati
0
111
Member Avatar for bhanu1225

Hello All. I am working on Mac OS X. I installed Python 2.5.4 and Mysql 5.1.31. For the interface, i installed Mysql-Python 1.2.2. I did the right steps for the installation. But , getting some warnings. So, i checked in Python shell for the modules. Python 2.5.4 (r254:67917, Dec 23 …

0
63
Member Avatar for cfusr12

I'm working in a CFMX 7 development environment inside our company's firewall. I've developed a coldfusion front-end to access and pass data to a .net web service (also inside the firewall). It's a simple program (.cfm) that allows a user to browse and upload a file to the web service. …

0
59
Member Avatar for sonya_sml

Hi, Can someone please help me. I am getting error: The process cannot access the file 'c:\reports\PaymentDetailReport.xml' because it is being used by another process. in following function. This method is suppose to be called couple of times. but at second time, it throws the error. I have even closed …

Member Avatar for Alxandr
0
162
Member Avatar for VIeditorlover

Hi, I have a php script which generates loooong 500kB+ scripts. If there were gzip used it should greatly improve performance. I have found this magic line: [code] <?php ob_start( 'ob_gzhandler' ); ?> [/code] but nothing happened - no error, but dumped data are not definitely gzipped. What should I …

0
57
Member Avatar for wewehalim

Hi, this is my final project. I have generated an xml string, and i want to parse it with dom parser, but i have error here.. this is my code: import java.io.StringReader; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CharacterData; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.xml.sax.InputSource; …

0
82
Member Avatar for jitesh_83

Hi, Is there a way to do a mail merge (data coming from sql server) from a web form? I've looked into Word Automation, but for this you need Office installed on the server, and even then the mailmerge might just open on the server. I've also tried looking into …

0
57
Member Avatar for gamodg

Hi I am using CGI/C at the server. When the user clicks on a link the server sends a xml as response which undergoes xslt at client. The problem is 1. Sometimes Xslt takes 2 to 3 sec 2. User navigates to other link meanwhile 3. Xslt is done for …

0
63
Member Avatar for Neo7

Hello everybody!! I am a newbie with MySQL but I still need to do this: 1. MySQL should be listening on a port, waiting for an XML document. 2. When it arrives, parse the XML file or just take the contents I am interesting in and insert them into the …

0
55
Member Avatar for lonestar23

I am trying to merge two different RSS sources with the same structure into a single list concurrently. I have two foreach statements but would like to combine them. Problem I can not turn a DOM Method into an array... Thanks in Advance. ###### CODE BELOW Using DOM METHOD ##### …

Member Avatar for lonestar23
0
127
Member Avatar for jamojo

Hello everyone, How can I convert this format using Java? 2009-05-20T18:19:23+08:00 I was able to convert this using the SQL Statement below. select cast('' as xml).value('xs:dateTime('2009-05-20T18:19:23+08:00')', 'datetime'); I would like to know how Java handle this format. Any suggestions are greatly appreciated. Thanks in advance, Jamojo

Member Avatar for masijade
0
163
Member Avatar for sbutt

Hi Folks, I have an xml response, which I want to store into the database (mysql) through XSLT script. For basic data types, I can just prepare a simple insert statement through xslt script which further passed to java for further execution. <xsl:template match="ota:OTA_TT_HotelResRS">insert into booking (createdBy, bookingNumber, created, modified, …

0
67
Member Avatar for lolodede

i need to put html login and php in same page and save it as loginphp can i do that [code] <?php require_once("nocache.php"); ?> <?xml version="1.0" encoding="UTF-8"?> <!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"> <head> <title>login.php</title> <?php if(isset($_POST['Submit'])) if (empty($id) || empty($pword)){ header("location: login.php"); }else{ …

Member Avatar for tweeeter
0
152
Member Avatar for fastoy

I use an old program favoritesync.exe to manage Windows Favorites across multiple PCs. It creates an xml with the Favorites data and an xsl file to render it. It has been working successfully through IE7. Now I've begun using Firefox (3.5 beta 4) and I get the message "Error loading …

Member Avatar for fpmurphy
0
245
Member Avatar for Anaksagor

Most <url snipped> SEO resources say to get high search engine rankings one must ensure they create quality content, relevant linkage and researched, targeted keywords. Optimizing the site, the process of optimization, and submitting it to search engines is an important e-marketing function, but few truly understand how it works, …

Member Avatar for Flower
0
166
Member Avatar for NinjaLink

Hello, I am having a problem trying to get the "News" section directly in the middle of the page while keeping the "Links" section staying the same. Right now, the "News" section appears in the middle below the "Links" section. I want both the Links and News section to appear …

Member Avatar for sreein1986
0
117
Member Avatar for wyahaw

I have a web site and am trying to produce an RSS feed for it for when things are changed. The following code is the RSS generated (from dreamweaver). Google Reader acknowledges it as a valid feed, but some other RSS feeders, such as Bloglines, do not recognise it as …

Member Avatar for shree2006
0
230
Member Avatar for MattTheHat

I'm having a problem with a quite complex piece of code, basically i cannot use an onClick event on my <div></div> element because it contains a flash file that is capturing all the clicks on it. Let me guide you through my code: It uses an XML document to load …

Member Avatar for MattTheHat
0
174
Member Avatar for phoenix.zhp

hi, I need select a node like "//element[@attr='value']", but the "attr" in document can be "Attr", "ATtr" and so on, as well as the "value". I know I can select element with case insensitive using translate function like "//*[translate(name(), 'abc','ABC')='ABC']" But how can I let it work with attribute and …

Member Avatar for phoenix.zhp
0
1K
Member Avatar for kranthi_543

Dear All, Passing condition as string to XSLT using Javascript as a parameter is not giving any results. Below is the code snippet:- [ICODE]script: var processor = new XSLTProcessor(); processor.importStylesheet(xslt); processor.setParameter(null, "query","not($projectId = 9820) and not($projectId = 9164)"); xsl code: <xsl:if test="$query"> I verified by priting xsl:value-of and string is …

Member Avatar for kranthi_543
0
129
Member Avatar for nschessnerd

Hey, I need help keeping a http connection alive. I have used setsockopt to set keepalive to 1, and in the http packet i set keep-alive to 300, but the server replies with: [code] Connection: close[/code] my packet looks like [code=cplusplus] string buffer2="POST "+P.path+" HTTP/1.0\r\nHost: "+P.httpUrl+"\r\nUser-Agent: Mozilla/5.0 (Windows; U; Windows …

0
94
Member Avatar for guruward

I have a questions table and it has a couple of columns startTag and closeTag which contain html which tells the page how I want to render the question [code] <xsl:value-of select='Questions/startTag' /><xsl:attribute name="name"><xsl:value-of select='practiceResponseId' /></xsl:attribute><xsl:attribute name="Value"> <xsl:value-of select='response' /></xsl:attribute><xsl:value-of select='Questions/closeTag' /></td> [/code] this way I can render the question …

Member Avatar for guruward
0
98
Member Avatar for m_hustle

hi, i have the attached xml file and i wish to perform some xpath expressions in java which i have declared as follows. [CODE]final String xPathexp1 = "sbml_ns:sbml/sbml_ns:model/sbml_ns:annotation/rdf_ns:RDF/rdf_ns:Description/bqmodel_ns:is/rdf_ns:Bag/rdf_ns:li/@rdf_ns:resource"; final String xPathexp2 = "/sbml_ns:sbml/sbml_ns:model/sbml_ns:listOfSpecies/sbml_ns:species/sbml_ns:annotation/rdf_ns:RDF/rdf_ns:Description/bqmodel_ns:is/rdf_ns:Bag/rdf_ns:li/@rdf_ns:resource[starts-with(.,"urn:miriam:uniprot:")]";[/CODE] I have set the namespaces as follows: [ICODE]try { NamespaceContext ctx = new NamespaceContext() { @Override public …

0
66
Member Avatar for ashoo

Today is my first venture into Xpath.. I have a table that looks like this Date Level 1 Level 2 05/20/2009 Value1 05/21/2009 05/27/2009 Value2 Whenever date for value1 in level 1 changes date for value 2 in level 2 must change consistently by a week. that is if date …

Member Avatar for fpmurphy
0
93
Member Avatar for FOR Offshore

Hi, In regard to .xml sheets and style sheets and .xsl; On my site [url]www.foroffshore.com[/url] can I use xml on my index page and if I would google crawl the content of the star sheet or would it just look at the xml? Cheers, Chris

Member Avatar for alicebstn9
0
44
Member Avatar for sonia sardana

hi frnds, i want to get the safari history in VB.Net..Safari maintains its history in history.plist file.....I want to know that how to convert this file to XML format??Plz help me out from where to start,,,cz i have no idea..

Member Avatar for Teme64
0
218
Member Avatar for ned69

Hi All I'm a newbie at XSLT and I need help to do the following. I am trying to transform the attached XML so it inserts a blank row whenever the current account number(curACCTNO) does not equal the previous account (preACCTNO) number i.e. group similar rows with the same accno …

Member Avatar for ned69
0
261
Member Avatar for echman

:icon_cry: Help pls! The following code is meant to upload images to a folder on a my server, but it does not work, Could any one pls helpme solve this problem :icon_cry: Heres the code ==================================== [code=php]<!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" lang="en"> <head> <meta …

0
56
Member Avatar for pythonian4000

Hey everyone! I have been teaching myself Python, and so as an exercise, I have tried writing an image grabber for OneManga.com. You put in the path to the comic page you want to start the grab from, and it grabs every page from there to the end of the …

Member Avatar for pythonian4000
0
222
Member Avatar for bovlb

I'm trying to use XPath/XQuery to identify HTML elements. In particular, I want to be able to match elements where the "class" attribute contains a specific token. As I understand it, "class" is now defined as NMTOKENS, which means it should be treated as list-valued. So does that mean that …

0
58

The End.