3,634 Topics

Member Avatar for
Member Avatar for kv79

Hallo there, Can anyone explain to me, 1) how to use XML schema in future 2) any kind of specific purpose please take a look at the link here [Propel](http://propelorm.org/cookbook/working-with-existing-databases.html#dumping_da) Thanks advance,

Member Avatar for diafol
0
95
Member Avatar for bikashjit

I have one video to download its 69MB video. I need to check online that what is the video resolution of this file ? Is there any websites that shows such information.

Member Avatar for pritaeas
0
67
Member Avatar for pxalpine

Is there a way to read in a two-columned CSV file, and based on the fields in 1st column, output many different files? The input/output looks something like: input.csv call Call Mom. call Call T-Mobile. go Go home. go Go to school. go Go to gas station. play Play music. …

Member Avatar for rrashkin
0
195
Member Avatar for visweswaran28

Hi, I have a DSD file. I am reading DSD file content into XMLdocument, after some modification and trying to save that entire content in same exising DSD file. No Error / Exception has occured. But the DSD file is updated. (FYI, this is running in Win 7) Please suggest …

Member Avatar for tinstaafl
0
108
Member Avatar for will ton

![ScreenShot](/attachments/large/4/ScreenShot.jpg "ScreenShot") # INTRODUCTION # This toolsuite will let peolple hide or unhide secret message inside of Microsoft Office 2007 files .just in an intelligent way.Since the newer Office files are basically just zip files containing XML and resources.By zip library,we can extract some xml parts inside of the file.This …

Member Avatar for will ton
0
471
Member Avatar for zachattack05

So I downloaded the [Adventureworks 2012 SQL database](http://msftdbprodsamples.codeplex.com/releases/view/55330) to browse hoping to find something interesting and just nearly fell asleep looking at example data when I came across something new or that I at least never noticed before...a field with a data type of "xml(CONTENT Person.AdditionalContactInfoSchemaCollection)" and when viewing the …

Member Avatar for zachattack05
0
211
Member Avatar for shahai.ali

how to get the data from the following `xml`: <HostipLookupResultSet version="1.0.1" xsi:noNamespaceSchemaLocation="http://www.hostip.info/api/hostip-1.0.1.xsd"> <gml:description>This is the Hostip Lookup Service</gml:description> <gml:name>hostip</gml:name> <gml:boundedBy> <gml:Null>inapplicable</gml:Null> </gml:boundedBy> <gml:featureMember> <Hostip> <ip>182.0.0.1</ip> <gml:name>Private</gml:name> <countryName>Private</countryName> <countryAbbrev>PR</countryAbbrev> <!-- Co-ordinates are available as lng,lat --> <ipLocation> <gml:pointProperty><gml:Point srsName="http://www.abc.net/xyz/srs/epsg.xml#4326"> <gml:coordinates>68.7833,30.4</gml:coordinates> </gml:Point></gml:pointProperty> </ipLocation> </Hostip> </gml:featureMember> </HostipLookupResultSet> following is what i was trying: …

Member Avatar for diafol
0
256
Member Avatar for Buggaya

[B]I have an application that saves some data in xml document.[/B] [B]The user can add a new data to xml document.[/B] [B]The problem is the old data will be overwritten by the new one,How could I solve that?? [/B] [B]Here is my code for that method which still needs "APPENDING":[/B] …

Member Avatar for Behrangbina
0
2K
Member Avatar for UberJoker

Hi guys. Feels great to post back on DaniWeb. Hope everyone is doing great! I am currently playing around with the google websearch api. They have a javascript example where they created a "hello world" page. https://developers.google.com/web-search/docs/ This code only returns 8 pages of each type of search. I was …

Member Avatar for farhanahanat010
0
176
Member Avatar for genevish

I created a JTree from an XML file like this: //Load Tree from XML file File stocks = new File("//Users/scott/Desktop/saSample.xml"); DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); doc = dBuilder.parse(stocks); doc.getDocumentElement().normalize(); // Set root folder DefaultMutableTreeNode rootnode = new DefaultMutableTreeNode(doc.getDocumentElement().getAttribute("saName")); DefaultTreeModel treeModel = new DefaultTreeModel(rootnode); objMgrTree.setModel(treeModel); // Set Pages …

0
96
Member Avatar for anithamarath

I need to pass parameters to my xml nodes like <NewsService FormalName="Feed" link-url="http://www.tv.com/">http://www.tv.com/img/UTv.jpg</NewsService> here newsservice is my node and FormalName and link-url are my parameters. Below specified is my code .There i have read a rss feed and converted that data to xml besides i have added some information from …

Member Avatar for anithamarath
0
210
Member Avatar for alex2356

I am very new to xslt and the like, and was looking for a xsl file to transform a junit-test xml output to something readable, with tables etc. However, when trying to apply the xsl file I get the error `Namespace 'xalan://org.apache.tools.ant.util.StringUtils' does not contain functions` (or similar, as the …

Member Avatar for Mike Askew
0
409
Member Avatar for codesforcoffee

I think this simple example might ask the question a lot more clearly. I have an input file with multiple products. There are different types of product (2 types with 2 product IDs is fine enough for this example), but the input will have many more. I only want to …

Member Avatar for codesforcoffee
0
2K
Member Avatar for subrata_ushasi

Hi all , I have a wevservice link say http://abc.com/wscom/MKWebService.rem from where I am trying to return value giving some parameters . The method and parameters are given below. method : GetInfo Parameters: string LicenseID string password Return Value: struct AnswerInt Now I have two xml files request.xml and response.xml …

Member Avatar for pritaeas
0
334
Member Avatar for lokesh.r.kandula

Hi, My xml has got several tags with same name. I am trying to pick out only top 5 tags. I initially thought this would be simple and tried, but after spending so much time I couldn't get the desired output. Any help would be greatly appreciated. The scenario is …

Member Avatar for Mike Askew
0
166
Member Avatar for persianprez

Hi all, I'm new to xml and xslt. I'm trying to apply a stylesheet to my xml document but I keep getting no stylesheet available. Here is my code for my XSL document, XML, DTD, and CSS: XSL: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <style …

Member Avatar for Mike Askew
0
185
Member Avatar for myfit

Hi all, I have question that I have a xml file, I add it to my Project C# Win Form, Now I want to change a value of 1 node or element, so what I need to do? Please give a guide or link or example project to me reference, …

Member Avatar for Mike Askew
0
335
Member Avatar for mehnihma

I am trying to build XML to csv conversion The problem is extended attributes ( <AttrList> ) that I do not know how to read: This is the XML: <?xml version="1.0" encoding="UTF-8"?> <ProductCatalog> <Product> <ProductCode>FFC4UINTSATA</ProductCode> <Vendor>INTEL</Vendor> <ProductType>Cable</ProductType> <ProductCategory>Cables</ProductCategory> <ProductDescription>INTEL SAS/SATA internal cable (4xSerial ATA 7-pin (Male) - 1x (Male))</ProductDescription> <Image>https://www.it4profit.com/catalogimg/wic/1/FFC4UINTSATA</Image> …

Member Avatar for mehnihma
0
231
Member Avatar for ismael ahm@d

Hi all friends, I am trying to insert XML data using DOM, i completed mostly but little bit left, issue in the <field></field> the data between that not inserted in db, please consider the below mentioned XML file... <?xml version="1.0" encoding="UTF-8"?> <form name="mc1.dpp" application-name="mc1.dpp" application-id="34" document-id="1342" producer="Penvision Formidable Application Server" …

Member Avatar for ismael ahm@d
0
2K
Member Avatar for shahai.ali

hi i have a following form in html: `<form action="upload_file.php" method="post" enctype="multipart/form-data"> File Name: <input type="file" name="file" id="file" /> <br /> <input type="submit" name="submit" value="Submit" /> </form>` and here is my `upload_file.php` if (($_FILES["file"]["type"] != "file/XML")) { echo "Invalid file type"; } else { echo 'file is uploaded'; } it …

Member Avatar for Robert1995
0
282
Member Avatar for mee_ram

Hi, I have used xerces for xml parsing and it was working fine. But recently (i didn't change any coding) the same code doesn't work and it crashs the application after executing the XMLDomParser::parse() --> fatalError() method. It gives an runtime error exception: xercesc_3_1::XMLErrs::Codes at memory location xxx. For a …

0
49
Member Avatar for servis

i want to get the alert on responce text, but getting nothing, my code is as follow, [ICODE] <?php session_start(); ?> <script type="text/javascript"> var xmlHttp function checkCAP(str) { if (str=="") { alert("plase enter the code"); return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { alert ("Browser does not support HTTP Request") return } …

Member Avatar for karlosdpm
0
3K
Member Avatar for shahai.ali

hi to all m lil bit confuse as m beginner to the xml+xpath. so m sorry if i m unable to ask any kind of wrong question. now the question is m trying to accessing the name of the of the attribute of xml file using xpath and tyring to …

Member Avatar for shahai.ali
0
162
Member Avatar for dwhite12

I am running into a strange error everytime I use lxml.etree and was wondering if anyone else has ran into this problem before. It was not until, what I believe happened my lxml was updated to a new version, that I started to get this problem. the error is "File …

Member Avatar for dwhite12
0
304
Member Avatar for samiyahg

This is a sample of the string of data that i need to extract the price of. "Price Rs 475 000 - CHEVROLET AVEO LS // SEP 11 6,000 kms - Red.. full options.. MANUAL 5 door // hatchback Contact me on 786 8394" I have many such strings after …

Member Avatar for samiyahg
0
565
Member Avatar for santhoshkumar.k.372

I have sample xml content set in a string like, String s = "<MainInfo><Info><Param1>123</Param1><Param2>santhosh</Param2><Param3>001</Param3></Info><Info><Param1>123</Param1><Param2>santhosh</Param2><Param3>001</Param3>"; Now,I want to validate this ,If the xml content is valid with respect to opening and closing tags,the entered content does not have invalid junk tags etc....some validations like this. If(valid) { say success; } else …

Member Avatar for L7Sqr
0
124
Member Avatar for gidireich

I'm learning http, and trying to use telnet to send my own http requests. In the command prompt, I entered: telnet google.com 80 Result: The screen is cleared and I see a blinking cursor. 1. Why don't I see any indication that I'm connected? Now, trying to type an http …

Member Avatar for JorgeM
0
108
Member Avatar for nemoOooZ

Hi all, I have two xml files and I need to export the result of applying a left outer join between them into a list var result = from file1 in XDocument.Load(f1).Descendants("Contract") join file2 in XDocument.Load(f2).Descendants("Profile") on (file1.Element("CustomerAccID") != null ? file1.Element("CustomerAccID").Value : "") equals (file2.Element("Id") != null ? file2.Element("Id").Value …

0
64
Member Avatar for tukky

Im making a small xsd/xml file for a restaurant based system. Here is the code that i have for my XSD file: <xs:element name="table_cat"> <xs:complexType> <xs:sequence> <xs:element name="category" maxOccurs="unbounded"> <xs:complexType> <xs:sequence maxOccurs="unbounded"> <xs:element name="category_id" type="CatID" /> <xs:element name="catdescription" type="Length50"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> <xs:unique name="unique-catid"> <xs:selector xpath="category" /> <xs:field …

Member Avatar for Anark10n
0
164
Member Avatar for Anark10n

Apologies if the title is bit confusing, had to keep it concise. Okay so the xml document looks like this <students> <student sid="S2208"> <fname>Ben</fname> <lname>Doe</lname> <scourses courseid="DSA" mode="full-time"/> <scourses courseid="INT" mode="part-time"/> </student> <students> <lecturers> <lecturer lid="L1101"> <fname>Dohn</fname> <lname>Joe</lname> <lcourses courseid="DSA"/> <lcourses courseid="INT"/> <lcourses courseid="ACT"/> </lecturer> <lecturers> Using the courseid attribute …

Member Avatar for Anark10n
0
185

The End.