Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts

Monday, June 11, 2012

java.util.Date to XMLGregorianCalendar


Isn't there a convenient way of getting from a java.util.Date to a XMLGregorianCalendar?

Tuesday, June 5, 2012

Best practices to parse xml files?


The default methods for dealing with xml in c# seem incredibly crude to me, leading me to suspect that I must be missing something in my searches. What is considered the standard best practices to parse xml files in c#?

Monday, June 4, 2012

What is the recommended toolchain for formatting XML DocBook?


I've seen Best tools for working with DocBook XML documents , but my question is slightly different. Which is the currently recommended formatting toolchain - as opposed to editing tool - for XML DocBook?

Thursday, May 17, 2012

What"s the best way to validate an XML file against an XSD file?


I'm generating xml files that need to conform to an xsd that was given to me. What's the best way to do this?

Tuesday, May 15, 2012

Android: Is it possible to scale a xml drawable?


Here is what I want to do: I have this scale xml:

Is there a lax, permissive XML parser for PHP?


I'm looking for a parser that will allow me to successfully parse broken xml, taking a "best guess" approach - for instance.

Monday, May 7, 2012

HTML/XML Parser for Java


What HTML parsers have the following features:



  • Fast

  • Thread-safe

  • Reliable and bug-free

  • Parses HTML and XML

  • Handles erroneous HTML

  • Has a DOM implementation

  • Supports HTML4, JavaScript, and CSS tags

  • Relatively simple, object-oriented API

Wednesday, April 25, 2012

What are some of the pitfalls/tips one could give for developing a web service


Looking to develop a web service (api) in PHP to offer customers an easier way to integrate with our platform. There are workflow calls that will be validated with user/pass as well as some reporting options.

Tuesday, April 17, 2012

Android color xml resource file


Does anyone have or know where I might get an Android color xml resource file containing all the X11/w3c color codes?

Monday, April 16, 2012

How to parse XML using the SAX parser


I'm following this tutorial .



It works great but I would like it to return an array with all the strings instead of a single string with the last element.

Tuesday, April 10, 2012

How to parse XML using the SAX parser


I'm following this tutorial .



It works great but I would like it to return an array with all the strings instead of a single string with the last element.

Good Tools To Develop a GUI in Android?


I would like to know if there exists a good tool to implement a design in Android like tools to make easy to implement and that can generate XML

Sunday, April 8, 2012

Android Replace "…” with ellipsis character


Since AVD tools 16 I'm getting this warning:




Replace "..." with ellipsis character (..., …) ?

Friday, April 6, 2012

Send SOAP XML via curl, PHP




This has been bugging me for days, i'm trying to send a SOAP post via curl but i just keep getting a 'couldn't connect to host' error but i really cant see how.

Thursday, April 5, 2012

Convert String to XML Document in JavaScript


Saw this example on the jQuery examples page for Ajax:




var xmlDocument = [create xml document];
$.ajax({
url: "page.php",
processData: false,
data: xmlDocument,
success: someFunction
});

Tuesday, April 3, 2012

Thursday, March 1, 2012

Sending encoded XML to a server from iPhone


I'm communicating between an iPhone app and a server using XML. To get around the problem of the user entering any character that might break the XML before I send it to the server i'm using the NSString method:

Android button with image background and text and stateful functionality


I want to create "button" in XML layout (if possible) which has background image based on state (this image is NOT 9-patched) and with text. Which component to use?

Wednesday, February 29, 2012

How can i convert from String token fron edit text to integer in android


how can I get the data from edit text (the input type of the edit text is integer), I tried this code but it shows RunTime Error:

Tuesday, February 28, 2012

How do i write objects that i have no control over in jaxb?


I am trying to find a way to marshall classes that i have no access to. I am trying to achieve something like this: