6,049 Topics
![]() | |
Hello, I have this part of php code... [CODE] <?php $dom = new DomDocument(); $dom->load("anna.xml"); $xp = new domxpath($dom); $unitid = $xp->query("/ead/archdesc/dsc/c01/did/unitid"); foreach ($unitid as $check) { print '<a href="#" onClick="displayResult2(' . $check->textContent . ')">' . $check->textContent . ' </a>'; // I presented the unitid's of a xml file and … | |
Hi, I am creating a word document using XSLT and FOP. I require different header and footer in first page and rest of pages. I tried different codes available on net but its not working. So please give ur responses where I am doing mistake. I am sending you my … | |
Which is the best, cheapest reseller web hosting provider on the web? | |
Hello. I just want to know if it's possible to use regular expressions in the match attribute of the template element. For example , suppose i have the follow xml document: <greeting> <aaa>Hello</aaa> <bbb>Good</bbb> <ccc>Excellent</ccc> <dddline>Line</dddline> </greeting> Now the xslt to transform the above document: <xsl:stylesheet> <xsl:template match="/"> <xsl:apply-templates select="*"/> … | |
I have big question about asp.net publish web site.... I am use vs 2005 asp.net with c# as code behind file... I was create web site,Then I publish this web site using solution explore "publish web site" tab... Then I create new virtual directory ,and set the parth,what i publish … | |
hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", … | |
Hello: listed below is the order for the creation of tables and execution of ALTER TABLE resources in an Apache Derby Embedded db; Note the error at: alterInstructor. I create the instructor table then the booking table. The instructor table has book_num FK. After the booking table is created I … | |
I wonder if anyone can advise why the sort param is being ignored in this xslt? The code is always performing the 'otherwise' section regardless of the sort parameter. [code]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:param name="sort"></xsl:param> <xsl:output method="xml" indent="yes"/> <xsl:template match="Products"> <xsl:element name="Products"> <xsl:choose> <xsl:when test="$sort='DATE'"> <xsl:apply-templates … | |
Lets say i have a jsp page which invokes a servlet. Now I want the servlet to forward this request to someother secured jsp page which i have configured to be secured in my web.xml. The problem is the jsp pages opens as secured if I open it directly from … | |
Hi everyone, I searched a while on the internet how to work with mvc for a school project. I found a really great tutorial on this site. ([URL="http://www.daniweb.com/forums/thread141776.html"]http://www.daniweb.com/forums/thread141776.html[/URL]) This tutorial has everything that i needed. In this tutorial the connection of the database is made by setting paramaters in de … | |
hello, I need some help with my assignment. I have a XML file (EAD) that has some general info about 106 old documents and the library that are located and a description for every one in 106 <c01> tags . Each document has an id in c01/did/unitid (unitid tag). I … | |
Hi! I am totally new to using a Sax parser! Can anyone help me understand how to grab my xml content and store each group in an array list for later access. Within the XML there is repeating groups of information for different days and I want to be able … | |
I have put some xml data in a file the python code below and have been trying to figure out how to get the data from the file add another "person" and then save to the same file again. [code=python] from lxml import etree from lxml.builder import ElementMaker E = … | |
Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 302 Warning: Cannot modify header information - headers already sent by (output started at /home/wesleysoccer/webapps/wp/wp-content/themes/infocus/functions.php:1) in /home/wesleysoccer/webapps/wp/wp-login.php on line 314 This is what I'm getting in my wordpress login screen...can't login to … | |
I have an XML here as follows, [CODE] <?xml version="1.0" encoding="ISO-8859-1"?> <countries> <country> <text>Norway</text> </country> <country> <text>Sweden</text> </country> <country> <text>France</text> </country> <country> <text>Italy</text> </country> </countries> [/CODE] And, I am trying to sort it without using XSLT, and I am not using this to edit the XML file. I only would … | |
HI , i'm new in xml. I'd like to ask one thing that what is the difference between .config file and .xml file? As long as i m not clear for this part, i can't go through anymore. Pls reply me :) :) | |
Hi Guys does anyone here ever used apache Ivy. I need help here, I am a newbie in Ivy and trying to set up local repository and apache website is not useful at all. | |
Hi, im a new user, and fairly new to ajax. I'm trying to create a blog that uses RSS. The problem is that google chrome displays the results from the rss.php script, yet Internet Explorer does not. Any help would be greatly appreciated. Here are the functions i am using … | |
Hi, I have an application as in the following, [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender As Object, ByVal e As EventArgs) songNodesOut.Text = String.Empty If Page.IsPostBack Then mess.Text = "<p style='margin-left:-2em'>You selected <b>" & drop1.SelectedItem.Text & "</b></p>" End If Dim file As … | |
I want to monitor the activities of all the folders present at "C:\Inetpub\ftproot\san".User can work on any type of files and not only text files.Since we have given 1GB space (lets say) to each user, so user can do anything to utilize this space. Variable "id" is redirected to this … | |
i have data which i am receiving as xml files and i need to put the data in a database and then use it to create reports on a windows app using vb 2008 anyone who can help me ????? | |
Hi, New to PHP, wondered if anyone could point me to a script that would do the following: get email address from a website. Basically there is a site that is open for public viewing with addresses and phone numbers and email addresses that my client would like to target. … | |
I have a insanely large file that has a lot of customer data in XML format. The start of a customer <CUSTOMER> and end </CUSTOMER> are how I'll determine the starting and ending points of the customer data I need to extract. The <DOC_NUM> is the number I'll be searching … | |
Trying to figure out how to parse the attribute value from an RSS feed which contains namespaces? Need to retrieve value "CA" from 'ac:country="CA"' in the code below. Thanks In Advance! [CODE]<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:ac="http://palm.com/app.catalog.rss.extensions"> <channel> <link>http://www.palm.com</link> <title>Device Apps for US</title> <description>Complete list of US Device channel applications … | |
Hi there, i am also currently working a project on the face detection using OpenCV but is using the Borland C++ to do the programming. Could anyone guide me i need help thank you and if possible can anyone send a example file that working and how do i really … | |
hello all, I get the error : dt.PrimaryKey = New DataColumn() {dt.Columns("Title")} "These Columns are not unique" when I doubleclick a cell in my datagridview... Does anyone know what I have wrong? Thank you. [code] Private Sub DataGridView1_CellDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellContentClick Dim con As … | |
Hi All, I've just upgraded from MX6.1 to CF8 and have noticed a couple of differences with CFChart. My chartseries line graph data consists of numeric readings taken every 2 hours each day. In MX6.1, I display the x-axis labels for each day and the vertical grid-lines correspond to each … | |
Hi all, I am trying to create a website project having multiple pages showing data from database. I am using Netbeans IDE 6.7 and Apache Tomcat Server and Microsoft SQL Server 2005. I was developing this site using JSP,Servlets,JavaBeans to fetch data using MVC Architecture but since i needed some … | |
Hi, I have the following code that I would like to get working, but for some reason, it keeps giving me the wrong output, and I wonder if anyone on the list might be able to help me fix it. Here is the code, [CODE] Sub submit(ByVal sender As Object, … | |
Hi all, i'm new in c# & xml. i want to add new element to the existing xml (data.config) file which was created by other person. i'm using microsoft visual studio 2005. and i also want to add some new attribute to that new element. My code is like ... … | |
Hi, I have an XML snippet as in the following: [CODE]<music_songs> <song> <title>(I Just) Died In Your Arms</title> <category>Rock</category> <album>80 Popular Hits</album> <artist>Cutting Crew</artist> <date added="03-24-2009"/> </song> </music_songs>[/CODE] Thiis is one of the songs out of 5 categories I have, and currently I use XPath expression as in the following: … | |
Hi, I have a question regarding an issue on submitting a form multiple times. For some reason, my form takes one submit, but then the others, I don't see changes of result. Here is the app: [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender … | |
hey guys, my problem is that my download speeds have gone down, and I mean noticeably down. i ran the speedtest and my speed was was not even half of what my ISP average is. i'm not sure if its my computer giving out on me since it is about … | |
I am working on a windows based project with WCF component. i have 2 problems with it currently. I use c#. 1. I get an error saying "Could not find end point element with the name xxx and contract yyy are in ServiceModel client configuration section. this might be because … | |
Hi Guys, I'm trying to evaluate the possibility of using Ontology for one of the tasks in an exercise but can't seem to get my head around its usage. I've read quite a few tutorials and the OWL documentation. I think I can create an ontology with some effort but … | |
i want to give administrator of my website the privilege to change his password tht is stored in xml.the administrator types the new password in "NewPass.Text" and then retype the password in "ConfirmNewPass.Text". We have successfully compared the condition in the "IF" statement.The problem is inserting the password into xml(in … | |
Hello, I am having a problem getting variables in my function. Below is my code and an explanation of how it is being called. 1. I set the vars: [code=php] error_reporting(2047); require_once('XML\RPC.php'); define("SITECODE", 000000); define("REQUEST_URL", "/external/request.php"); define("REQUEST_SERVER", "domain.com"); define("REQUEST_PORT", 443); define("XML_DEBUG", 0); $software_name = "domain.com"; $messages = array(); $errors = … | |
Hi, I have the code as in the following: [CODE] Sub submit(ByVal sender As Object, ByVal e As EventArgs) songNodesOut.Text = String.Empty Dim file As String = Context.Server.MapPath("alice_music_list2.xml") Dim document As XmlDocument = New XmlDocument() document.Load(file) Dim songList As XmlNodeList songList = document.SelectNodes("/music_songs/song[category='" & drop1.SelectedItem.Text & "']") Dim songDisplay As … | |
Hi I'm using python 3.1 and Windows. My program writes xml code to a text file, the problem is that windows needs to know that this file's encoding is utf-8. Right now it does write the proper code, but other programs (firefox, for instance) fail to read it because it … | |
Hi, I'm at present working on extracting data from various online news sites, and then analyzing it. The code is given below. But when I'm writing this last code, the following error is coming: >>> import newsfeatures >>> allw,artw,artt= newsfeatures.getarticlewords( ) >>> wordmatrix,wordvec= newsfeatures.makematrix(allw,artw) Error: Traceback (most recent call last): … | |
I'm a fairly advance Python programmer. I'm am making a text based RPG which is easy for my skill but I've been wanting to learn XML for my C# project especially. My RPG is HEAVILY inspired by fallout 3. I love the dialogue options and I want to write an … | |
I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [url]http://www.w3schools.com/php/php_aja...p?output=print[/url] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an … | |
Hello Guys, I am trying to read lines from .xml file using a C program. Basically what program does is read the date, and if the current system date is in the range of the date range given, it fetches some data from the next lines in the date. However,my … | |
Hi, I have an XML: [CODE] <A> <B> <C>a</C> </B> <B> <C>b</C> </B> <B> <C>c</C> </B> </A> [/CODE] and I need the output as [CODE] <X name="a"> <Y name="b"> <Z name ="c"/> </Y> </X> [/CODE] i don't know how to write the XSL for it, tried few things but couldn't … | |
There is this function: [CODE] function disguise_curl($url) { $curl = curl_init(); // setup headers - used the same headers from Firefox version 2.0.0.6 // below was split up because php.net said the line was too long. :/ $header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,"; $header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; $header[] = "Cache-Control: max-age=0"; $header[] = … | |
Hi, I have a question regarding an issue on submitting a form multiple times. For some reason, my form takes one submit, but then the others, I don't see changes of result. Here is the app: [CODE] <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> <script runat="server"> Sub submit(ByVal sender … | |
hi i designed an application in VS 2008 and i'm using .rdlc reports. My problem is when i deploy on the client machine and try to generate a report i get an error saying 'Operation must use an updatable query' then when i click the details See the end of … | |
Please Help I can not open Windows Explorer at all. I've run HijackThis and this is the log: Logfile of HijackThis v1.99.1 Scan saved at 09:49:02 AM, on 2010/06/05 Platform: Windows XP SP3 (WinNT 5.01.2600) MSIE: Internet Explorer v8.00 (8.00.6001.18702) Running processes: C:\WINDOWS\System32\smss.exe C:\WINDOWS\system32\winlogon.exe C:\WINDOWS\system32\services.exe C:\WINDOWS\system32\lsass.exe C:\WINDOWS\system32\svchost.exe C:\Program Files\Common Files\BitDefender\BitDefender … | |
Hi, I am wondering if anyone on the list could help me search an xml file based on the user input. Right now, I have two separate files, one that shows all the data from an xml file, and the other is a simple web form with a button like … | |
Hi, I am new at this... I am trying to display data from a text file to a JSP file and I'm using BufferedReader to do this but having problems getting to the file. Which directory should I put the text file? Should I add anything to web.xml to reference … |
The End.