Top "Xml-namespaces" questions

According to the standard, "XML namespaces provide a simple method for qualifying element and attribute names used in Extensible Markup Language documents by associating them with namespaces identified by URI references.

XDocument containing namespaces

I have the following XML which I am trying to query with XDocument: <E2ETraceEvent xmlns="http://schemas.microsoft.…

c# xml linq linq-to-xml xml-namespaces
XSD with elements from other namespace

I have two XSDs that are definining different documents. Say A.xsd defines an element ElementA as the root, with …

xml xsd xml-namespaces
Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function

I am trying to call SelectNode from XmlDocument class and trouble due to this error: Namespace Manager or XsltContext needed. …

c# xml xml-namespaces xmldocument
How to remove xmlns attribute of a node other than root in an XDocument?

Situation I'm using XDocument to try and remove an xmlns="" attribute on the first inner node: <Root xmlns="http://…

c# .net xml linq-to-xml xml-namespaces
Use Linq to Xml with Xml namespaces

I have this code : /*string theXml = @"<Response xmlns=""http://myvalue.com""><Result xmlns:a=""http://schemas.datacontract.…

c# linq-to-xml xml-namespaces
xpath expression from xml with namespace prefix

I could not get the following xpath expression to work when the xml path namespace prefix set. /bk:BookStore/bk:…

xml xpath namespaces xml-namespaces prefix
xmlns, xmlns:xsi, xsi:schemaLocation, and targetNamespace?

For the following XML fragment: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" …

xml xsd xml-namespaces xsd-validation xml-validation
Adding namespaces to root element of xml using jaxb

I am creating an xml file whose root elemenet structure shuould be like: <RootElement xmlns="http://www.mysite.com" …

jaxb xsd xml-namespaces
HTML5 <html> attributes xmlns, lang, xml:lang

I don't understand the HTML5 specifications for the lang and xml:lang attributes of the opening <html> tag. …

xml html xml-namespaces
Changing the default XML namespace prefix generated with JAXWS

I am using JAXWS to generate a WebService client for a Java Application we're building. When JAXWS build its XMLs …

java web-services jax-ws xml-namespaces webservice-client