3,634 Topics
| |
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, | |
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. | |
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. … | |
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 … | |
![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 … | |
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 … | |
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: … | |
[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] … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
| 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> … |
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" … | |
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 … | |
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 … | |
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 } … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.