Hi
Here is some dummy xml and dummy xml schema I made.
schema
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.domain.com"
xmlns="http://www.domain.com"
elementFormDefault="qualified">
<xs:element name="vehicles">
<xs:complexType>
<xs:sequence>
...
Hi,
I'm trying to parse a SOAP response that contains nested ComplexTypes using the kSOAP library on Android 2.1.
<event att1="value1" att2="value2" att3="value3">
<tag2> ... </tag2>
<tag3> ... </tag3>
</event>
I've implemented my own class Event that implements org.ksoap2.serialization.KvmSerializable to parse this response...
I am triggering the transformation using a .NET code,
unless I add "EnableDocumentFunction" property to the XSL-Setting, the program throws error saying .. "Usage of Document() function is prohibited",
Actually the program is not editable and a kind of read-only .. is it possible to edit the XSL code itself so that I can use document()...
How can I get the following code to add the element with "xmlns=''"?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string strXML =
"<myroot>" ...
What PHP libraries would you recommend to implement the following:
Three dependent drop-down lists
Three XML data sources
AJAX-based
Essentially, I'd like to create an XML database and wire up a form that allows the user to select three different dependent parameters:
User clicks Region
User clicks District (filtered by Region)
Use...
I have a big problem.
I have some applications made on an unix based system, and I use PHP with cURL to post an XML question to an IIS server with asp.net.
Every time I ask the server something I get error:
HTTP/1.1 500 Internal Server Error
Date: Tue, 04 May 2010 07:36:08 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Ver...
hi all,
I want to generate/write and then parse (write & read) the bpel process (xml). Is there any way api to this, something like wsdl4j... ?
thx
adnan
...
Hi all,
first of all: I'm not a programmer, never was, although had learn a lot during my professional carreer as a support consultant.
Now my task is to process - and create some statistics about a constantly written and rapidly growing XML like log file. It's not valid XML, because it does not have a proper <root> element, e.g. the l...
I am trying to query an XML document that uses namespaces. I have had success with xpath without namespaces, but no results with namespaces. This is a basic example of what I was trying. I have condensed it slightly, so there may be small issues in my sample that may detract from my actual problem.
Sample XML:
<?xml version="1.0"?>
...
I have classes generated (using xsd.exe) from an .xsd that I can serialize just fine, but when I try and deserialize it, I get the error:
{"<XMLLanguages xmlns='http://tempuri.org/XMLLanguages.xsd'> was not expected."}
I've searched for a couple of hours and found most peoples problems lie in not declaring namespaces in their xsd/x...
My application have a configuration xml-file. That file contains more than 50 program settings. At the present time I read and save each program setting separately. I guess It is not effiсiently for such tasks.
I need something that can auto-generate a code for load and save my program settings using predefined xml-schema.
I found a da...
This question about web page 'inclusion' triggered my curiosity. The XML allows you to specify a reference to an 'external' portion. Can you do the same in XHTML, then?
XML example:
<!ENTITY foo SYSTEM "http://www.mydomain.com/logo.gif" NDATA GIF87A>
...
<SOMETHING>&foo;</SOMETHING>
...
I'm working on a webservices client app and I have it mostly working. I can retrieve and read data from the third-party webservice fine. Now I need to submit some data and I'm stuck.
The classes for the objects I'm retrieving/submitting were generated from XSD files via the xjc tool. The part I'm stuck on is turning one of those obje...
Hi,
I need to find an inner text of an element inside an XmlDocument and return it's Xpath.
for example, searching for "ThisText" inside :
<xml>
<xml2>ThisText</xml2>
</xml>
should return the Xpath of xml2
what's the most efficient way of doing this in c#?
...
Hi,
Someone else has already asked a somewhat similar question: http://stackoverflow.com/questions/1888887/validate-an-xml-file-against-a-dtd-with-a-proxy-c-2-0/2766197#2766197
Here's my problem: We have a website application that needs to use both internal and external resources.
We have a bunch of internal
webservices. Requests to...
hi ..
I just work on web-based application for iPhone, And I try to retrieve data from my website to my app.
can I edit XML code for my website as I want to be in my iPhone app?
for example, XML for my website is:
<item>
<title>Announcement title</title>
<link>iphone feed</link>
<description>Announcement type</description>
<category>Stu...
I've used DocBook in the past and I love the idea behind the separation of content from presentation. I am very comfortable editing XML directly. In my extensive search to find the best documenting solution for my needs I am always coming back to this one solution:
DocBook -> Build system (ant, make, etc.) -> Output
I have seen lots of...
So, I've got a bunch of content that was delivered to us in the form of Excel spreadsheets. I need to take that content and push it into another system. The other system takes its input from an XML file. I could do all of this by hand (and trust me, management has no problem making me do that!), but I'm hoping there's an easy way to writ...
The quest is, given a site url (say http://stackoverflow.com/ ) to return the list of all the feeds available on the site. Methods acceptable:
a) use a 3rd party service (google?, yahoo?, ...) programmatically
b) using a crawler/spider (and some tips on how to configure the spider to return the rss/xml feeds only)
c) programmatically u...
Hello everyone, what are the best practices parsing XML from an HTTP resource in Android? I've been using HttpURLConnection to retrieve an InputStream, wrapping it with a BufferedInputStream, and then using SAX to parse the buffered stream. For the most part it works, though I do receive error reports of SocketTimeoutException: The opera...