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.

Requested: https://www.w3.org/2000/svg Found: http://www.w3.org/2000/svg

We are using Apache Batik to render SVG files. For security reasons, all the URLs are converted to HTTP. Now, …

java svg xml-namespaces batik
Using XSDs with includes

Here is an XSD: <?xml version="1.0"?> <xsd:schema elementFormDefault='unqualified' attributeFormDefault='unqualified' xmlns:xsd='http://www.w3.…

c# xml xsd xml-namespaces
Why are URLs in XML namespaces?

Take this line as just one example: <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> </configuration> …

xml url xml-namespaces
Weirdness with XDocument, XPath and namespaces

I have an XML document that looks like this: <kmsg xmlns="http://url1" xmlns:env="url1" xmlns:xsi="http://…

c# xpath linq-to-xml xml-namespaces
Define a default namespace for use in XSL XPaths with xpath-default-namespace

I have this simple xml document: <?xml version='1.0' encoding='UTF-8'?> <registry xmlns="http://www.…

xslt xpath xml-namespaces
XML: do child nodes inherit parent's namespace prefix?

Assume the following XML document: <root xmlns:foo="..."> <foo:parent> <child/> </foo:parent&…

xml xml-namespaces
Predefine XML namespaces for DataContractSerializer

I'm building a self hosted WCF service. I'm building a special data structure for a very flexible transport of data. …

c# xml-serialization xml-namespaces datacontractserializer
adding namespace and namespace prefix using dom4j

i am updating one xml using dom4j as below. SAXReader reader = new SAXReader(); document = reader.read( xmlFileName ); but it …

java xml-parsing xml-namespaces dom4j
Find all namespace declarations in an XML document - xPath 1.0 vs xPath 2.0

As part of a Java 6 application, I want to find all namespace declarations in an XML document, including any duplicates. …

java xml xpath xml-namespaces saxon
Cannot add namespace prefix to children using XSL

I checked many answers here and I think I am almost there. One thing that is bugging me (and for …

xml xslt namespaces transformation xml-namespaces