xml

Borders on button using custom layout template

When I use the custom layout template I created using Ribbon.SizeDefinitions, all buttons now have borders. Has anyone else had this problem? How do I get rid of the borders? Here is the XML. <!-- ***** Custom Template like ThreeButtonsAndOneCheckBox but with the checkbox on top ***** --> <Ribbon.SizeDefinitions> <SizeDefinition...

Sending contents of an xml file as response using php

Hello, I wrote xml to a file using php, and then I sent the file data as a response to the client's browser. But, I'm getting the following error: XML Parsing Error: not well-formed Below, is my code. Any way to fix this? $file= fopen("result.xml", "w"); $_xml ="<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"; $_xml .="<friends>"; $timest...

string to Xml conversion

How to convert the following string to xml ? var query = @"<Cars><Car manufacturer='lindo'/> <Car manufacturer='Opera'/></Cars>"; As it is a string i can't apply the extension method .cast() to convert it to XDocument or XElement. ...

Can a jax-ws web service use an rpc type call and receive raw xml?

Hello. I have a web service that I've been working on and it's wokrring fine so far by creating a port in the client and then calling a method on the port. However, I've just been told that a couple of the clients who will be using the web service plan on sending it raw xml based based off of the schemas used by the web service and I was...

PHP5 SOAP XML into Array

I currently have a return from a SOAP call. <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"&gt; <soapenv:Body> <ns:getMakeResponse xmlns:ns="http://ws.fds.com"&gt; <ns:return> <ResponseCode>000</ResponseCode> <ResponseDescription>No Errors</ResponseDescription> <MakeRetur...

Light Blogging system sans database

Hi, This is a general programming question. What is the best way to make a light blogging system that can handle images, bbcode-ish styling and text without a database back end? Light means not more than 50 to 100 posts in extreme cases. What language(s) should be used? Is there any preferred data format for the information? How does s...

How to remove &amp; from an XML file using java?

Hi, I am reading the input Excel file and in that i have 1 fields for the address.In that field the special character is coming which is (&).While i am going to parse this character (&) and trying to write it to the XML file at that time the character converts into the (&amp). I want to remove the translated character (&amp) from the X...

XML file is not write when accessing it by creating virtual directory on IIS 5/ 6.0

I am working on ASP.Net 2.0 project. I have a problem is that when we accessing this application by creating virtual directory on iis 5/6.0 then XML file is not write.It show path error.But actually path is right. But when we run application then XML file make writable. Pease help me.. with regrds RShyam ...

xml string to file

Hi All, I want a xml string to be converted to file,for which i am doing in the below way, String xmlFile=responseXMLName; log.info("xml file :" +xmlFile); fr = new FileWriter(new File(xmlFile)); Writer br= new BufferedWriter(fr); log.info("respose string"+responseXMLString); br.write(responseXMLString); br.close(); i want to pass x...

loading xml into SQL Server 2008 using sqlbulkload component

"Error: Schema: relationship expected on 'headerRecord'." I get the above error while load xml file to SQL Server 2008 using SQLXMLBulkLoad4 Component , the xml file contains Call Detail records, I have generated schema file from xml file using both , Dataset and XSD.exe tool, but the error remains same., if there is another way to imp...

Centre a button in a Linear layout

I am using a linear layout to display a pretty light initial screen. It has 1 button that is supposed to centre in the screen both horizontally and vertically. However no matter what I try to do the button will top align centre. I have included the XML below, can some one point me in the right direction? Thanks <?xml version="1.0" e...

problem persisting xml in Mysql using hibernate

Hi, I am trying to persist a string object in Mysql(5.0.67) using hibernate. My entity is as follows: @Entity @Table(name = "info", schema = "DB") public class info { @Column(name = "InfoXml") private String InfoXml; } The problem is when I persist the xml with value: String InfoXml = "<?xml version="1.0" encoding="UTF-8" standalon...

XSLT to convert XML schema to HTML

I've made an XML schema but I don't know if I need an XSL stylesheet to show it in HTML. Do I need one? If I do, has anyone got an example which I could see and learn how to make one for my XML schema? ...

XML and XSL files.

I've got 4 different XML files which I want to join to make one file. How can I do that? Each file contains a parent and at least 4 children. Parents are called genre 1,2,3,4 and the children are artist, name, etc. Each file is shown in an HTML table. Can someone shed some light on this? ...

android: simple LinearLayout and fill_parent question

I'm sure I am missing something simple... Background: I am new to android and UI design, and I just wanted to play around with layouts. Right now I want to stack a checkbox on top of text label. I am using the following xml layout which works fine: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.andr...

JAXB - marshal object with XML string property

suppose i have an object with String property that has an XML string. like: class myObject { String xml; @XmlElement(name = "xml", type = String.class) public String getXml() { return xml; } public void setXml(String xml) { this.xml = xml; } } i set an XML String to this property - such as m...

filter xml based on query string

I want to filter xml based on query string my xml is like this <Categories> <Category> <Title>Food1<Title> <Cat>Cat3</Cat> <Duration>12/1/2009-12/1/2011</Duration> <Description>Who is hungry</Description> <Category> <Category> <Title>Food1<Title> <Cat>Cat2<...

get a list of all schemas referenced in an XML document

In C#, how can I get a list of all XSD schemas referenced in an XML file, including those referenced via xsi:noNamespaceSchemaLocation? ...

XML not well formed error

Hello, I have a php script that writes xml data to a file and another one that sends the contents of this file to the client as the response. But on the client side,im getting the following error: XML Parsing Error: not well-formed When i view source of the page, the XML i see is as follows: <?xml version="1.0" encoding="UTF-8" standal...

Importing data from an XML file into R

I want to import an XML file from polarpersonaltrainer.com that stores heartrate data into a R data.frame. Is there a package that makes importing XML easy or do I have to write my own parser? ...