3,634 Topics

Member Avatar for
Member Avatar for reidar

I'm just starting with PHP and I was given a rather difficult task. I need to search through multiple XML files in different directories, then return the name of the files that contain a given search input. Will it be easier to write a script that reads all XML files …

Member Avatar for SikoSoft
0
235
Member Avatar for pietromarchy

Hi guys, a not so complex question: [CODE] form xml.etree.ElementTree import * >>> tostring("<home><room>bedroom</room></home>") '<home><room>bedroom</room></home>' [/CODE] I would like to have the indentation in for the string. Something like: <home> [INDENT]<room>bedroom</room> [/INDENT] </home> Of course my document is a little complex. Is it possible to have it in an automatic …

Member Avatar for pietromarchy
0
668
Member Avatar for nirandhn

Hi, I am new in xslt ,i want to remove any tag from xml file with using xslt . Can anybody assit me. Thanks in Advance. Niranjan Kumar My XMl file:- [CODE=XML]<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="emp.xsl"?> <company> <employee id="1"> <name>Niranjan<p>tkadakdk sadfafk ff</p></name> <roll>1</roll> <contact>Delhi</contact> </employee> <employee id="2"> <name>brijesh</name> <roll>1</roll> <contact>Noida</contact> …

Member Avatar for nirandhn
0
2K
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
732
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
69
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
83
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
192
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
109
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
216
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
150
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
281
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
31
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
147
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
348
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
73
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
74
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
149
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
126
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
142
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
109
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
137
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
162
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
84
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
197
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
93
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
118
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
89
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
194
Member Avatar for andy_1234

hi i am new to coding i have an xml file named employees.xml [code] <employees> <employee id="1" name="carla weis" budget="100"/> <employee id="2" name="tom knox" seniorid="1" budget="50"/> <employee id="3" name="karl rogers" seniorid="1" budget="400"/> <employee id="4" name="beverly smith" seniorid="2" budget="200"/> <employee id="5" name="tom stern" seniorid="4" budget="700"/> <employee id="6" name="eveyln wilson" seniorid="2" budget="350"/> …

Member Avatar for andy_1234
0
343

The End.