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.

Dom4j selectNodes(arg) don't give list of nodes

I am using DOM4j for XML work in java, my xml is like this: <?xml version="1.0" encoding="UTF-8" …

java xml-namespaces dom4j
Unable to add namespace to an attribute with PHP's SimpleXML

I am creating an Atom feed, when I tried below to add xmlns:i as an attribute - $node->…

php simplexml xml-namespaces
XElement is automatically adding xmlns="" to itself

I am creating a new XDocument from a table. I have to validate the document from an XSD document and …

c# linq-to-xml xml-namespaces
The prefix '' cannot be redefined from '' to 'http://www.sitemaps.org/schemas/sitemap/0.9' within the same start element tag

I'm getting this error The prefix '' cannot be redefined from '' to 'http://www.sitemaps.org/schemas/sitemap/0.9' …

xml vb.net xml-namespaces xmlwriter
Facebook Connect and HTML5, xmlns available?

Facebook Connect and their "Social Widgets" documentation mention that you need to add an xmlns attribute to your <html&…

html facebook xhtml compatibility xml-namespaces
How to write namespaced element attributes with LXML?

I'm using lxml (2.2.8) to create and write out some XML (specifically XGMML). The app which will be reading it is …

python lxml xml-namespaces cytoscape
Which XML namespace to use with JSF 2.2 and up

I have migrated my application from JSF 1.2 to 2.2. It used XML namespaces on java.sun.com domain like xmlns:f="…

jsf facelets jsf-2.2 xml-namespaces java-ee-7
XSL - How to remove unused namespaces from source xml?

I have an xml with a lot of unused namespaces, like this: <?xml version="1.0" encoding="UTF-8"?> <ns1:…

xml xslt xml-namespaces
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 …

xml delphi xml-namespaces txmldocument
how to remove namespace from XML root element?

is there a simple way to remove the namespace from the XML root element. I have tried with [XmlRootAttribute("MCP", …

c# xml-namespaces xmlserializer