6,049 Topics

Member Avatar for
Member Avatar for alokshri67

Hello All, I am using [B][U][I]sotirovic:BannerRotator[/I][/U][/B] for my add file. In which I am taking image file and .swf files. With image files it is navigating properly, but with .swf file it is not navigating . Where I am went wrong? Here is codes [CODE] <div style="background-color: Aqua ; width:80%; …

0
54
Member Avatar for bharath54321

could anybody help me pls. the below is the text file. It contains n message flows and n nodes. i have to search each message flows which is available in that text file and if i select any text file it shoukd display the nodes which are available ... could …

Member Avatar for Katana24
0
297
Member Avatar for Joshua Kidd

Hello, I have an Image Specifically for a certain XML file. And in Visual Basic is there any way to add an image, then have the image read from the XML file? Any Help would be awesome. :)

0
61
Member Avatar for arjunpk

Hi.... I have just written a c# code which connects to a web server.... Pulls out xml, extracts data and inserts the data onto a database..... however i have a small problem scrubbing certain data of junk values..... few examples of the data i want to scrub are posted below... …

Member Avatar for arjunpk
0
665
Member Avatar for SerbOz

I have laptop Toshiba satelite L555 with MS Windows 7 Home Premium 64-bit; AMD Turion II Dual-Core Mobile M520; 4.0GB RAM; AMD M880G with ATI Mobility Radeon HD 4200 and it working reasonably good, however I think is not fast eneough what specifications would say. For that reason I make …

Member Avatar for jholland1964
0
414
Member Avatar for ibdatx

Hi, I am trying to serialize an operation to an xml file and have a specific xml format. I have 4 classes "Recipe" and the other 3 classes implement class "Recipe", being classes "Breakfast", "Lunch" and "Dinner". Class "Recipe" implements members "name" while the other 3 classes have the member …

Member Avatar for Momerath
0
125
Member Avatar for CMAUK

Hi guys, ran into a small problem, i can read & write anything i want to a text file as well as append to the end of the line but I cant seem to figure out how to edit a specific line. Lets say in the text file i have: …

Member Avatar for jon.kiparsky
0
3K
Member Avatar for Melow

Hy, I'm trying to read from a xml file and save it's data in an ArrayList then a HashMap my xml file looks like this: [code] <components> <component id="door1"> <bounds> <left>10</left> <top>5</top> <width>25</width> <height>10</height> </bounds> <properties> <propertie name="allignment" value="horizontal" /> <propertie name="orientation" value="top" /> <propertie name="isOpened" value="false" /> <propertie name="isLocked" …

Member Avatar for peter_budo
0
299
Member Avatar for CityThrille

Good day. How can I get the path from a Resource File(Resources.resx) just like a file path in Windows in VB.NET? Example, I imported a picture to my resource file, and want to use the picture while my form is loading, and want to use the path from Resources.resx file. …

0
65
Member Avatar for lttleastig

hey guys i get this error when trying to execute a stored procedure in my SQl DB [CODE] Warning: mssql_query() [function.mssql-query]: message: SELECT failed because the following SET options have incorrect settings: 'CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS, ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed …

Member Avatar for lttleastig
0
248
Member Avatar for samuelhenry

jsf page: [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%> <%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <f:view> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>JSP Page</title> </head> <body> <h:form> <center> <br><br><br> <h:dataTable id="dt1" value="#{tableBean.perInfoAll}" var="item" bgcolor="#F1F1F1" border="10" cellpadding="5" cellspacing="3" rows="4" width="50%" dir="LTR" frame="hsides" rules="all" summary="This is a …

0
133
Member Avatar for Krstevski

Hello friends, I have a small problem with creating XML documents. After creating the XML when I try to get a XML document as string using .toxml() or .toprettyxml() functions i got escaped string. [CODE=python] >>> from xml.dom.minidom import Document >>> html = '<a href="http://www.google.com/">Google</a>' >>> doc = Document() >>> …

Member Avatar for Gribouillis
0
446
Member Avatar for smandape

Hello experts, I am working on the following XML code [CODE]<GBSeq_source-db>UniProtKB: locus NR1I3_HUMAN, accession Q14994; class: standard. extra accessions:Q5VTW5,Q5VTW6 created: Jul 15, 1999. sequence updated: Jun 21, 2004. annotation updated: Feb 8, 2011. xrefs: Z30425.1, CAA83016.1, AL590714.27, CAH72153.1, CAH72154.1, CH471121.2, EAW52608.1, EAW52609.1, BC069626.1, AAH69626.1, A56197, NP_001070948.1, NP_005113.1, 1XV9_B, 1XV9_D, 1XVP_B, …

Member Avatar for smandape
0
145
Member Avatar for lttleastig

Hello there i am having trouble on how to compare the password of the input and the one in the DB since the one in the DB is encrypted with the code below for registration i just used a stored procedure in the db and called it in the php …

Member Avatar for lttleastig
0
119
Member Avatar for jaango123

I cannot find the xsl debug option in the xml option within VS 2008 express edition. Is it not available. What should we do to get that enabled.

Member Avatar for codeorder
0
88
Member Avatar for jasthiraja

Hi, We are upgrading our project to XSLT2.0 with websphere7.0.But Websphere is not supporting xslt2.0.plz suggest the procedure to configuring the websphere for saxon processor or IBM Processor. Thanks In Advance.

Member Avatar for iceandrews
0
95
Member Avatar for johnbo100

Hi All I am trying to get vb.net to select a single node by id. I then want get all of the childnodes within the id and place them in to textboxes. Please see code below: Xml doc [code] <Subject> <Items> <Item id="1"> <CustName>john</CustName> <Filename> </Filename> <StartDate> </StartDate> <FinishDate> </FinishDate> …

Member Avatar for johnbo100
0
5K
Member Avatar for special life

I made an windows application using c# express edition 2010 and i use the SQL database as mdf file inside my soultion and the connection string mad automaticaly in the app.config as the following: [CODE]<add name="MainForm.Properties.Settings.FamilyHistoryConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\FamilyHistory.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/CODE] then when i am trying to publish the …

Member Avatar for special life
0
236
Member Avatar for akshintlakalyan

I have written to take Backup of any database automatically, at any time given by the user in config file. It's working fine, now i wish to take the Backup of a certain database which was already taken Backup previously for the next time. Any help.[CODE] private void FrmRestoreBackup_Load(object sender, …

0
86
Member Avatar for tookerello22

hi how can i view the the web service result in my client app? the web service is: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Xml; public struct SecurityInfo { public string location; public string areacode; } [WebService(Namespace = "http://192.168.1.6/WebService/Service.asmx", Description = "A Simple Web Calculator …

0
84
Member Avatar for srinivas88

Help with DOM.I am trying to access the nodes acc. to their levels in an xml file.reached upto 3-4 levels then getting a nullpointer exception.Please help...wat datastructure would better suit this.i need to index all the nodes.the xml file is cs.xml given under and the java code below tht. <department> …

Member Avatar for peter_budo
0
229
Member Avatar for SuperFurryToad

I need some help figuring out how to parse an XML file in VB.net so I can find a particular node and write the contents into a database. Basically all the data in the XML node below needs to be read into an object. The file contains hundreds of these …

Member Avatar for el_vala
0
2K
Member Avatar for AngelaGadre

Hello, I am new in web technologies. Please, help! I've created xsd file, using Visual Studio to do validation for xml data xsd: <?xml version="1.0" encoding="UTF-8"?> <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="stations"> <xs:complexType> <xs:sequence> <xs:element maxOccurs="unbounded" name="station-entry"> <xs:complexType> <xs:sequence> <xs:element name="station-id" type="xs:unsignedByte" /> <xs:sequence> <xs:element name="entry" type="xs:string" /> </xs:sequence> </xs:sequence> …

Member Avatar for iceandrews
0
2K
Member Avatar for devinodaniel

I'm trying to get my page to redirect back to another page after the form has been submitted to its self via $_SERVER[PHP_SELF] . I've tried using the header(Location) script but to no avail. Anyone know of an easy way to do this? Right now.. when my page is submitted …

Member Avatar for devinodaniel
0
1K
Member Avatar for CronosAkroma

[CODE=c++]#include <iostream> #include <fstream> #include <string> using namespace std; int main() { string linea; ifstream fileIn("input.txt"); ofstream fileOut("output.html",ios::out); //working with the input text if (!fileIn) cout<<"\nERROR: Unable to read the file!\n"; else { //working with the output text if (fileOut.is_open()) { fileOut << "<html xmlns=\"http://www.w3.org/1999/xhtml"; fileOut << "\" xml:lang=\"en\">" << …

Member Avatar for WolfPack
0
139
Member Avatar for smandape

Here is the XML code i am trying to work on... [CODE]<GBSeq_definition>RecName: Full=Solute carrier family 2, facilitated glucose transporter member 1; AltName: Full=Glucose transporter type 1, erythrocyte/brain; Short=GLUT-1; AltName: Full=HepG2 glucose transporter</GBSeq_definition>[/CODE] I want to extract the elements such that I get the output as [CODE]<aliases> Glucose transporter type 1, …

Member Avatar for smandape
0
338
Member Avatar for gaboo

Hi, I am fairly new to XML and XSL. I tried reading through a few online tutorials, but have been unable to figure out the best way to transform my xml correctly. Below is a part of my sample XML: [CODE] <row> <row_element column="0" property_name="EventTypeName">Start</row_element> <row_element column="1" property_name="ObjectName">Process001</row_element> <row_element column="2" …

Member Avatar for iceandrews
0
144
Member Avatar for joshyxux

<?php echo '<?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>age.php</title> </head> <body> <?php require_once( 'output_functions.php' ); function connect_to_database( $host, $user, $password, $dbname ) { // Try to connect to database $dbconnection = mysql_connect('......', '...', '.....'); if ( ! $dbconnection ) …

Member Avatar for Agarsia
0
161
Member Avatar for vt123

Here is an excerpt of my input xml. I need to create an exact copy of this xml with only one change – the value of the element <FinancialNumber> should be formatted as a string of 5 characters – for example, in this case 1 should be replaced with “00001”. …

Member Avatar for vt123
0
192
Member Avatar for Tommymac501

I am trying to replace a fixed field name in an XML file with data. I know that I could do it the proper way using XML tools, but, this is a standard templae file that only needs one item replaced. It seems simpler to just hack a replacment. [CODE] …

Member Avatar for woooee
0
81
Member Avatar for ProfPickles

Hello I'm creating a simple Pizza website with online ordering capabilities. Since it's a simple site it doesn't require an extensive database which is why I'm using XML to store all my menu items. I'm new to PHP and XML so this site is part of a learning experience So …

Member Avatar for ProfPickles
0
227
Member Avatar for donaldw

I'm using the function CInternetSession::OpenURL in a "try" to open a webpage (a servelet which returns XML). The servelet take a little while to respond sometimes (around 13-15 seconds in a web browser). When it's slow like this, the code catches a CInternetException. Is there a way to see what …

Member Avatar for donaldw
0
416
Member Avatar for anirban1087

Hi, I am working on a order form using php, mysql & javascript. The problem I am facing is that while user input the quantity and rate of a product the js will auto calculate the total amount for the same. I am able to do this only for the …

Member Avatar for diafol
0
315
Member Avatar for crazyvonzipper

Hi, I am experiencing some abnormal application behavior. I wrote an application in C# that does hourly database , as well as directory backups. Its constructed in a way that all settings are saved in XML file. and once the user allows the application to start doing the scheduled backups, …

0
77
Member Avatar for f_atencia

Say I have some code: [CODE]<input type="text" name="{$valcompname}/@LikelyWeeklyUnfRental" value="{$valcompdata/@LikelyWeeklyUnfRental}" id="RentalValue" style="text-align:right">[/CODE] I want the text box to output a value in a format $#,##0.##. At the moment I can only get it to display only decimal place. I have tried using the format-number function with that regular expression, but no …

Member Avatar for JohnBampton
0
105
Member Avatar for soumya_mjmder

Hi, i have the folwing xml, i want to compare the dates Modifyts and ActualDate using XPATH and XSLT and print the date which is newer.Can you please help me regarding this. [CODE]<ABC> <InputDocument> <OrderList LastOrderHeaderKey="2011013111595948350" LastRecordSet="Y" ReadFromHistory="" TotalOrderList="1"> <Order DocumentType="0001" EnterpriseCode="XYZ" Modifyts="2011-02-14T13:53:04+00:00" OrderNo="Y100000042"/> </OrderList> </InputDocument> <EnvironmentDocument> <Order DocumentType="0001" EnterpriseCode="XYZ" …

Member Avatar for soumya_mjmder
0
242
Member Avatar for xunilxunil

Hello. First of all I am a newcomer to programming languages world and of course very new to Python. In my job, we are using Linux systems. Time to time I need to check some command and script outputs on the terminal. So, I wanted to code a small application …

Member Avatar for xunilxunil
0
306
Member Avatar for tig2810

Hi all, I have an XML schema which I use to validate inbound and outbound edi files. One of the top level elements is ID. This is the primary-key or the table and is only required on outbound messages. How would I correctly annontate this with my schema? Do i …

Member Avatar for iceandrews
0
109
Member Avatar for Fortinbra

I'm curious. I've been taught when is the proper time for XML, and when it's better to use SQL. I know what the text book says about it, what does the IT real world say about it? When would you use SQL vs. using XML?

Member Avatar for griswolf
0
97
Member Avatar for amalgorious

Hi. I write really terrible python, sort of like using crayons in art class. I have a couple questions. First is: where is the best forum for python newbies to learn how to write better code (standards) and optimize code (faster)? I just joined this forum, so it may not …

0
90
Member Avatar for arjunpk

hi.... i have a small problem using the DOM parser for XML in c# [CODE] XmlDocument doc = new XmlDocument(); XmlNodeList _list = null; doc.Load(location.Text); _list = doc.GetElementsByTagName("DataSource"); foreach (XmlNode node in _list) { //some processing } [/CODE] over here i am able to get specific nodes using the getElementByTagName …

Member Avatar for arjunpk
0
298
Member Avatar for bluetoot

hello people I Have this error mssg can anybody help me see what i am not seeing here that is wrong? thanks Parse error: syntax error, unexpected $end in /home/www/t.php on line 434 this is my php page [CODE]<?php session_start(); /****************************************************************************** * * * * * * ******************************************************************************/ /****************************************************************************** * …

Member Avatar for cilivili
0
261
Member Avatar for tomjrjones

hi i need help deleting files via php, i can delete files using php, but i want to be able to delete a file by typing in the name of the file. the directory i want to delete a file from is "users/" here is the unlink script i have …

Member Avatar for 84hd0ns
0
132
Member Avatar for Lioshenka

I have two pages, both extremely simple. One of the has some code on it which is literally an iframe with some basic CMS controls which allows the user to enter some text in it (by default it reads some pre-written text from a file and pastes it into the …

Member Avatar for Lioshenka
0
167
Member Avatar for srinivas88

Using SAX parsing method is there any way by which we can get all the children of a particular node. For example, if i am having a xml like this <a> <b> <c></c> </b> </a> Using DOM parsing i can get all the child elements of <a> with getChildNodes(). But …

0
127
Member Avatar for deepak.marur

Hi, I'm writing a sample spring web flow app with jsf as view technology. I guess I've got everything right in terms of configuration. However when I click on the "login" commandbutton of the jsf page, the flow does not go the next view (Welcome). Am I missing something ? …

0
133
Member Avatar for sweet_85dreams

<html> <head> <script type="text/javascript"> function loadXMLDoc() { var xmlhttp; var txt,x,xx,i; if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { txt="<table border='1'><tr><th>Title</th><th>Artist</th><th>COUNTRY</th><th>COMPANY</th><th>PRICE</th><th>YEAR</th></tr>"; x=xmlhttp.responseXML.documentElement.getElementsByTagName("CD"); for (i=0;i<x.length;i++) { txt=txt + "<tr>"; xx=x[i].getElementsByTagName("TITLE"); { try { txt=txt + "<td>" + xx[0].firstChild.nodeValue + "</td>"; } …

Member Avatar for sweet_85dreams
0
114
Member Avatar for Javalan

Hi, I am interested in understanding a little about how Automated Teller Machines communicated "fault alerts" back to central control departments. What I know so far is that ATM's have senors that can be triggered should say a cash jam occur. So a 'fault message' is first created locally and …

Member Avatar for doduncan
0
169
Member Avatar for ajmaly

I have below xslt file and want to implement code for altenet color row. I'm implementing below code, but it will color out coloumns and not the rows. I think I'm applying style on <TableCells>...where need to put code..please help..thnx [CODE]<xsl:if test="position() mod 2 = 1"> <BackgroundColor>#e0e0e0</BackgroundColor> </xsl:if> <xsl:if test="position() …

Member Avatar for xml_looser
0
126
Member Avatar for sireesha g

Hi All, I have an xml file like [CODE]<?xml version="1.0" encoding="UTF-8" ?> <?xml-stylesheet type="text/xsl" href="InProcess1.xsl"?> <Rowsets DateCreated="2011-02-14T12:24:00" EndDate="2011-02-14T12:24:00" StartDate="2011-02-14T11:24:00" Version="12.0.2 Build(88)"> <Rowset> <Columns> <Column Description="BatchNumber" MaxRange="1" MinRange="0" Name="BatchNumber" SQLDataType="12" SourceColumn="BatchNumber" /> <Column Description="VersionCode" MaxRange="1" MinRange="0" Name="VersionCode" SQLDataType="3" SourceColumn="VersionCode" /> <Column Description="MaterialType" MaxRange="1" MinRange="0" Name="MaterialType" SQLDataType="12" SourceColumn="MaterialType" /> <Column Description="LotNumber" MaxRange="1" …

Member Avatar for sireesha g
0
1K

The End.