6,049 Topics

Member Avatar for
Member Avatar for vandalised

Hi basically i have this: [code]<?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> </cd> <cd> <title>Greatest Hits</title> <artist>Dolly Parton</artist> <country>USA</country> <company>RCA</company> <price>9.90</price> <year>1982</year> </cd> <cd> <title>Still got the blues</title> <artist>Gary Moore</artist> <country>UK</country> <company>Virgin …

Member Avatar for iceandrews
0
754
Member Avatar for rachS25

0 I am developing a project using Visual Studio 2008 in C#, I have added the class library within the project and set up the relevant references and used the relevant using statements. It seems to be a problem with just this one folder. can anyone help? this is the …

Member Avatar for rachS25
0
114
Member Avatar for rhiby

Am to develop an application (MIDP) running on mobile phone which can connect to database through a servlet and returns exams available in MYSQL database and stores it in a RecordStore and finally lets the user to pass an exam and view results after finishing exam. So please help me …

Member Avatar for peter_budo
0
72
Member Avatar for Oritm

Hi all, I'm programming an iphone app that uses an xml parser: I got 2 classes: DataManager and XMLParser. the XMLParser class is delegated so i can use functions like parserDidEndDocument. Now in the class DataManager, i call a function in the XMLParser: [CODE]XMLParser *xml = [[XMLParser alloc] init]; NSMutableArray …

0
84
Member Avatar for JohnDove

My vb 2008 app uses Excel, but only briefly. Can I avoid referencing the Interop library Microsoft.Office.Interop,Excel?? Is there another way to link to Excel? In terms of its dealings with Excel, my app does little more than open a workbook and shade some cells. Many thanks

Member Avatar for gever
0
197
Member Avatar for Roses89

Hey guys, I need an idea on how to determine wether a user that has been logged in is a supervisor. Ive made my login.php file and my choosereview.php.I have a very slight idea on how to do it but i just cant get it right.I want to determine whether …

Member Avatar for Roses89
0
161
Member Avatar for sachintha81

I'm trying to set a MIME type for a certain file extension (.jdf) using MimeMapClass in C#. Following is the code I use which works fine. [code] // directory is a virtual directory, say BSS // extension = ".jdf" // type = "text/xml" private static void SetMIMEType(DirectoryEntry directory, string extension, …

0
91
Member Avatar for laghaterohan

Hello, I want to create an XML file Containing 3 tables say Table 1 : Under this i have one column :Data which has 3 rows of data say 1, 2 ,3. Similarly i want to create more two tables which will have similar structure. All these 3 tables should …

Member Avatar for laghaterohan
0
112
Member Avatar for surajrai

hi, I have a linq query which fetches a collection of datas. I want to do some functionality with each collection of data. I am not getting how to pass var object to a thread. My linq to xml query looks like this: XDocument readStorelist = LoadData(); var searchResult = …

Member Avatar for apegram
0
140
Member Avatar for Ceviz

Hello there! I am pretty new to xml and xsl. I have been trying to achive a dynamic link creation. My xml file has the format like; <root> [INDENT]<customer>company_name</customer> [INDENT]<id>2334</id> <code>xsTu4</code> <mail>info@comany.com</mail>[/INDENT] </customer>[/INDENT] </root> I want to use an XSL file to give me a link like detail.aspx?id=2334 I have …

Member Avatar for iceandrews
0
220
Member Avatar for bonethirst

Hi guys, I might be new to jsp.. but i was trying to read an xml file through jsp and it doesn't show anything when i open it..can someone help me figure out whats wrong with it?? or is there anything that i missed? Thanks in advance. here's a bit …

Member Avatar for peter_budo
0
153
Member Avatar for f_atencia

Hi all, I have 2 xsl variables (currentBillDate and lastBillDate), both having access to dates in format of yyyy-mm-dd. How can I calculate the number of days in between both days? Example: 2006-08-28 - 2006-11-06 I tried it this way but it kept giving me NaN <xsl:value-of select="$currentBilldate - $lastBillDate" …

Member Avatar for fpmurphy
0
287
Member Avatar for Roses89

Ok so I have a login page which actually gets an employees ID and password and includes the employee id and surname+firstname in a session. Now in the following page: [code] <?php require_once("nocache.php"); session_start(); if (!$_SESSION["who"]) { header("location: logoff.php"); } else { $emp = $_SESSION["who"]; $sn=$_SESSION["surname"]; $fn=$_SESSION["firstname"]; } require_once("dbconn.php"); $sql="SELECT …

Member Avatar for Roses89
0
116
Member Avatar for sahirak

1)CREATETABLEProject( ProjectNovarchar2(5)notnull,ProjectNamevarchar2(20), StartDatedate, FinishDatedate,PRIMARYKEY(ProjectNo)); 2)CREATETABLEAssignment( StaffNonumber(3)notnull, ProgramNovarchar2(4)notnull,PRIMARYKEY(StaffNo,ProgramNo), FOREIGNKEY(StaffNo)REFERENCESStaff(StaffNo), FOREIGNKEY(ProgramNo)REFERENCESProgram(ProgramNo)); 3)CREATETABLEStaff( StaffNonumber(3)notnull, StaffNamevarchar2(10), SalGradenumber(2)CHECK(SalGradebetween1and12), YearsExpnumber(2), ProjectNovarchar2(5),PRIMARYKEY(StaffNo), FOREIGNKEY(ProjectNo)REFERENCESProject(ProjectNo)); 4)CREATETABLEProgram( ProgramNovarchar2(4)notnull, Titlevarchar2(20), Languagevarchar2(20),PRIMARYKEY(ProgramNo), CHECK(Languagein('VB','JAVA','ORACLE','C','XML'))); for the code above, what type of integrity constraints will be on them? (how many do u think?) also; i've created this code (below) but there seems to be …

Member Avatar for Ezzaral
0
129
Member Avatar for tsili

hi!!i'm new in java programming and i have a project in which i use regex and xml input and output!my project is about gathering information about weather predictions in weather forecasts for some cities!my problem is that i'm new in java programming and i have problem making this project to …

0
34
Member Avatar for MaxDes

Hi all first post! I am attempting to read an XML and display certain portions of the XML in a datagridview. I was able to get one table at a time, but I am having trouble figuring out how to get ALL the info I want from the XML and …

Member Avatar for MaxDes
0
1K
Member Avatar for Mongooseman

Is there a way to handle standard XML entities with the event-driven XML parser in PHP? I'm currently using an XML file to build a collection of objects and display a page based on those objects. I'd like my CData handler to handle text that includes standard entities, but as …

Member Avatar for Mongooseman
0
150
Member Avatar for ceyesuma

Would it be safe to assume that if I had a synchronized DAO for each model that implements an interface too each with access to XML resources. So when my JDesktopPnane builds each JTabbedPane with the corresponding view GUI panel that I could have the code in the in each …

Member Avatar for ceyesuma
0
103
Member Avatar for Roses89

Hi, I have the following J.s and Html code: [code] //function for mandatory function validatebox(field,alerttxt) { with (field) { if (value==null||value==""||value=="Please Choose") { alert(alerttxt); return false; } else { return true; } } } function validate_form(thisform) { with (thisform) { if (validatebox(Givname,"Given name must be filled out!")==false) { Givname.focus(); return …

Member Avatar for Roses89
0
179
Member Avatar for abdulraqeeb33

Hi, this is the error that I get..please help me debug is...the source code is below the errors...thanks the website must look something like this [url]http://www.sis.pitt.edu/~arazeez/index.html[/url] * Line 20, column 40: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag …

Member Avatar for Netprof
0
397
Member Avatar for sarfrazashfaq

Hi there I have following XML document that i want to read in python code. i know how to read, thing is i want to make hash/list from this XML document. <?xml version="1.0" ?> ‐<TradeExt> ‐ <fxall category="buyer" version="2.0"> ‐<tradeHeader> <sourceId>test_sourceId1</sourceId> <pmsId>4521363.0.0</pmsId> <fundId>ACCT1@TESTCUST</fundId> </tradeHeader> ‐ <tradeStatus> <dealImmediately>F</dealImmediately> <blockImmediately>F</blockImmediately> </tradeStatus> ‐ …

Member Avatar for ultimatebuster
0
357
Member Avatar for bschmitt78

Hello, I am writing a web app with an interface to query a MySQL database. The interface has a drop down list of 8 tables to choose from. The first action the user will take is to choose a table and click a "display table" button. After the user sees …

Member Avatar for bschmitt78
0
89
Member Avatar for LennieKuah

Hi Good Guys, I need your help. Please Help me. I am trying to extra CustomerID, CompanyName, from XML File to Update SQL SERVER using xpath function. Being new to XML I don't know how to do it. Please help me with sample coding so that I can learn the …

0
76
Member Avatar for blovatt

Hello - I need to create a utility using C/C++ to parse information from a XML audit log file that is continuously being appended by a separate process I need to read the information in and process it, then when I reach the EOF I need to wait/monitor for more …

Member Avatar for blovatt
0
97
Member Avatar for johnware

Hi XSLT Gurus, I am creating html from xml. I am calling a custom function to initialize the style attribute of a div element. This throws an exception during processing. I call a built-in function to initialize the id attribute of the same div element and it works fine. I …

0
76
Member Avatar for didi00

Hi everyone! So I have a XML code [code] <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="pizza.xsl"?> <pizza_list> <food> <name>Margarita</name> <description>tomato sauce</description> <price>3.60 </price> <diameter>30 cm</diameter> </food> <food> <name>Green</name> <description>tomato, oregano</description> <price>5.40 </price> <diameter>30 cm</diameter> </food> <food> <name>Primaverra</name> <description>tomato, mozzarella, cucumber</description> <price>5.30 </price> <diameter>30 cm</diameter> </food> <food> <name>Sandokan</name> <description>tomato, crab meat</description> <price>6.40 …

Member Avatar for didi00
0
152
Member Avatar for vho123

My task is to create a translation.xslt file that will use the wordlist.xml as input to transform into another XML file(translation.xml). I have attempted some coding but stuck how to do the rest. I am not sure how to create a <total>, he value of <total> is the total number …

Member Avatar for Intekhab_Sheikh
0
128
Member Avatar for ceyesuma

I am having a proplem checking the stu_uid for a specified stu_password. I am not really sure what error is. When I build the db for the first time and login as a student it says that unknown user name but it is all in the table and passed to …

Member Avatar for ~s.o.s~
0
159
Member Avatar for gunnarflax

Hi! I'm a java rookie and I'm trying to learn how to read and write to xml documents. I have a xml-file called tasklist which lies directly in the src directory, at the same level as the executing program but I get the following error: java.io.FileNotFoundException: tasklist.xml (Det går inte …

Member Avatar for gunnarflax
0
219
Member Avatar for Cap'nKirk

Hi, firstly, sorry about the title of this thread, I couldn't really think of one to explain what I am trying to get at. In my app I have an XML file that is loaded on formload and looped through to extract the required data into a listbox. That bit …

Member Avatar for Cap'nKirk
0
136
Member Avatar for rb3rd

Good day! We have to push an input XML file (see format below) thru an XSLT to transform it to a regular XML which can be read by our 3rd party software. The problem is, the XSLT will only store 1 set of "Identifier" and its subsequent "Quantity" values. I …

Member Avatar for rb3rd
0
144
Member Avatar for Nicole Maxx

This is my first real website, so please forgive my lack of knowledge, I am trying. Please ask any questions if I do not explain my problem well enough. This is where you can find my in progress site [url]http://www.maxxsunglasses.com/development/MaxxWeb2010/products.html[/url] When I click on products or about us or company …

0
110
Member Avatar for steveh44

Hello, I'm new to XML and working on a searchable movie reader application which will read an XML file called MovieData.xml. The XML file contains the following nodes: Example, [code=text] <movie> <title>Silence of the Lambs</title> <disc>5</disc> <year>1991</year> <director>Unspecified</director> <cast>Unspecified</cast> <genre>Horror</genre> <riptype>DVDRip</riptype> <codecvideo>DIVX</codecvideo> <codecaudio>MP3</codecaudio> <imdbrating>8.7</imdbrating> <comments>Some Comments Here</comments> </movie> [/code] To …

Member Avatar for apegram
0
140
Member Avatar for jank.iris

Hai there, Now im doing to display data in XML file to many textbox.. Can anyone show me how to do that..Thanks Here i give u the sample XML file: [CODE=xml]<ClearanceLogItem> <RecordID>C73B5191-C426-4306-8FDE-26D41773C895</RecordID> <TxnTimestamp>20100324154140</TxnTimestamp> <SiteID>1708</SiteID> <ClientID>MAG02</ClientID> <MoveType>1</MoveType> <TxnStatus>0</TxnStatus> <FailureType>4</FailureType> <WLStatus>0</WLStatus> <DocType /> <DocNo /> <BearerName /> <DOB /> <DOE /> <Nationality …

Member Avatar for jank.iris
0
167
Member Avatar for Irishlass2

Hello, I recently downloaded a flash template from a free website. I have been editing it in flash just fine. I am new to flash and there is a xml news feed on the second page. I was wondering how do you remove the feed to another page all together? …

Member Avatar for rajarajan2017
0
74
Member Avatar for Eregnon

I'm trying to use the web request class in vb.net to post some xml. On the reciving end, I keep getting an internal server error with the message: Missing Soap action header". I did some reasearch and saw that a firewall can strip out the soap action header so I …

Member Avatar for kronald
0
2K
Member Avatar for sp22403

Hi, I have a scenario as follows... can someone guide me a suitable solution? 1) I retrieve an XML string from database. 2) I need to modify an XmlNode attribute at runtime based on user input. 3) I need to to pass the updated XML string to code downstream. Currently …

Member Avatar for kvprajapati
0
87
Member Avatar for tuomari

Hi! I have been looking into this the whole day, and I haven't found any good straight answers to my problem. So what i am trying to do, is that I have a XML file where i have defined for example what is the name of the column (In this …

Member Avatar for kvprajapati
0
201
Member Avatar for gloris

Hi, Whats wrong with my code? [CODE=C#] XmlTextReader textReader = new XmlTextReader(@"D:\xml_file.xml"); textReader.Read(); // If the node has value while (textReader.Read()) { // Move to fist element textReader.MoveToElement(); Console.WriteLine("XmlTextReader Properties Test"); Console.WriteLine("==================="); // Read this element's properties and display them on console Console.WriteLine("id:" + textReader.id.ToString()); Console.WriteLine("name:" + textReader.name.ToString()); Console.WriteLine("time:" + …

Member Avatar for apegram
0
96
Member Avatar for Cap'nKirk

Hi, in part of my app I have to load an XML file and read an Attribute from it to output in a MessageBox. The MessageBox is called from a click event on a DataGridView. The way I have the code below I get an error that my INT gSize …

Member Avatar for Cap'nKirk
0
121
Member Avatar for PierlucSS

Context: I have a search functionnality in my webapp that is looking in a few different xml for the ids im searching for. (I can search for a range, or different values). After search is completed it returns me a bunch of objects that I can click on and it …

Member Avatar for sknake
0
78
Member Avatar for BDS_AT

All, I have a DataGridView bound to an XML file, then I add an unbound column of checkboxes to the DGV. [CODE] private void btnReconcile_Click(object sender, EventArgs e) { DataSet ds = new DataSet(); ds.ReadXml(txtPath.Text); DataSet modds = new DataSet(); DataTable dt = new DataTable(); dt = ds.Tables[0].Clone(); foreach (DataTable …

Member Avatar for BDS_AT
0
2K
Member Avatar for ceyesuma

Hello I am learning how to use setString() for "?" and using passwords in resultsets. my password ends up with the error [icode]java.sql.SQLException: Invalid cursor state - no current row.[/icode] Can this error be corrected? thanks. [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in StudentDAO.JAVA and in connect of the …

Member Avatar for ceyesuma
1
1K
Member Avatar for ceyesuma

Hello if I create newUser which is new StudentBean() why is StudentBean studentBean not equal newUser? [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable created table: createInstrAvailableTable created table: createInstrumentTable created …

Member Avatar for stultuske
0
184
Member Avatar for mcatominey

HI, I have a script which reads an xml feed then uses a loop to insert information from that feed into a multi-dimensional array. I need to sort the array by 'day' before outputting, day is a dimension of the array. Below is a print_r() of the array after the …

Member Avatar for nileshgr
0
148
Member Avatar for phingko

HI guys, I want to count the journals that classification is computing and published after 2000 this is my xml structure [CODE] <journal> <title classification= "computing">Approaching digital equity: is wifi the new leveler &</title> <authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors> <journalName>Information Technology & People</journalName> <volume>Vol. …

Member Avatar for fpmurphy
0
91
Member Avatar for ceyesuma

Hello I am recieving error [icode]java.sql.SQLException: At least one parameter to the current statement is uninitialized.[/icode] at ConnectStudentDAO.java at [icode]ResultSet rs=ps.executeQuery();[/icode] Not sure if the xml statment or the bean variables or if ps.close() is needed [b] output [/b] [code] run: driver tableName from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: …

Member Avatar for ceyesuma
0
668
Member Avatar for bjeffries

is it possible to use PHP to update an RSS feed. I dont already have the RSS feed created, but my site is finished, well for now it is, and want to know if it is possible to do this. My site is scripted using PHP and and every time …

Member Avatar for bjeffries
0
200
Member Avatar for vho123

Hi guys i have this small class task that i'm having trouble with. I need to create a PHP file using SAX to generate the display shown below from an XML file. *** This is the xml source code from which i need to generate the display: *** [CODE] <orders> …

0
52
Member Avatar for Cap'nKirk

Hi, I am trying to add multiple PictureBoxes dynamically at runtime using a loop but have come a little stuck. Here is the code I am working on:- [CODE] XmlDocument xDoc = new XmlDocument(); xDoc.Load(System.IO.Path.Combine(Application.StartupPath, "getPublicPhotos.xml")); XmlNodeList photo = xDoc.GetElementsByTagName("photo"); for (int i = 0; i < photo.Count; ++ i) …

Member Avatar for Ketsuekiame
0
3K

The End.