xml-namespaces

Help in parsing XML, simple string - but I can't seem to parse it

I have the following XML: <iq xmlns="jabber:client" to="[email protected]/agsXMPP" xml:lang="en" id="sub23" from="search.google.com" type="result"> <pubsub xmlns="http://jabber.org/protocol/pubsub"&gt; <subscription subscription="subscribed" subid="5077774B57777BD77770" node="search" jid="3985077777...

Can PHP5 SOAP generate multiple namespaces?

I'm trying to send a PHP SOAP request that requires the following format: <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:S...

Firefox Wicket + Nitobi XHTML namespace parse error

I'm having an issue using multiple XML namespaces in a XHTML document. Specifically, I'm trying to use Wicket and Nitobi in the same document. The code looks something like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1...

Xml Schema namespace

1) I realize namespaces are a means of differentiating between different schemas/vocabularies specified using XML Schema, but I don’t understand why it’s a good idea that a namespace ( for which the schema is developing a vocabulary ) is specified within the schema itself ( via targetNamespace attribute ). a) Wouldn’t it be better if w...

How do I add a namespace prefix to each node using TXMLDocument

I used the XML Binding Wizard to create a descendant of TXMLDocument. The files generated by this class would declare the namespace in the root node and create just plain, unadorned nodes for the rest of the document. <?xml version="1.0"?> <RootNode xmlns="URL" xmlns:xsi="URL" xsi:schemaLocation="URL"> <SomeNode> <AnotherNod...

Why is creating Servlets in Eclipse breaking my web.xml?

Being somewhat lazy, I was rather happy to find that I could create a new servlet source code by going New -> Servlet, instead of going New -> Class and then editing the class into a servlet. However, I have discovered that every time I create a new servlet in Eclipse, Eclipse modifies my web.xml. Specifically, it modifies the top elem...

XPath and Jabber-RPC

I'm trying to access the methodName element of an XML document using XPATH in Cocoa via the NSXMLElement object. This is the XML representation of element <iq type='set' from='[email protected]/jrpc-client' to='[email protected]/jrpc-server' id='rpc1'> <query xmlns='jabber:iq:rpc'> <methodCall> <m...

Xaml converter in another project

Sorry for the F#... I have a VS project with the following class: namespace ABCCommonSilverlight module ConvertersAndFormatters = type FixedDecimalConverter () = interface IValueConverter with member this.Convert(value, targetType, parameter, culture) = if value = null then ...

JAXB annotations to deal with same element name in different namespaces.

The problem that I am trying to solve is that JAXB cannot handle the parent and inherited objects of the same name in different namespaces. I have two schemas: schemaA.xsd <xs:schema xmlns:A="..."> <xs:complexType name="mytype"> ... schemaB.xsd <xs:schema xmlns:B="..." xmlns:A="..."> <xs:import namespace="..." schemaLocation="schem...