xml-namespaces Questions
2
Solved
I am creating an xml file whose root elemenet structure shuould be like:
<RootElement xmlns="http://www.mysite.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="ht...
Pyuria asked 7/6, 2013 at 8:40
5
Solved
My goal is to extract certain nodes from multiple XML files with multiple namespaces using XPath. Everything works fine as long as I know the namespace URIs. The namespace name itself remains const...
Nernst asked 14/12, 2010 at 14:57
2
Solved
I am trying to add new nodes to an existing XML file.
i have this file with first test elements in it:
<?xml version="1.0" encoding="utf-8"?>
<Root xmlns="http://prpa.org/XMLSchema1.xsd...
Dogvane asked 10/2, 2013 at 14:41
3
Solved
I am trying to parse a piece if XML in Go:
package main
import (
"encoding/xml"
"fmt"
)
type XML struct {
Foo string `xml:"foo"`
}
func main() {
rawXML := []byte(`
<xml>
<foo>A...
Foothold asked 3/1, 2013 at 19:33
6
I am attempting to use Lxml to parse the contents of a .docx document. I understand that lxml replaces namespace prefixes with the actual namespace, however this makes it a real pain to check what ...
Shelby asked 30/3, 2011 at 23:40
4
I got thousands of XML files following all the same schema/structure.
I implemented IXmlSerializable and thus am reading the elements and attributes myself.
My problem is that these files each use...
Stinkhorn asked 25/9, 2012 at 20:24
2
Solved
I am using lxml to parse XML from an external service that has namespaces, but doesn't register them with xmlns. I am trying to register it by hand with register_namespace, but that doesn't seem to...
Lauer asked 21/1, 2020 at 23:47
2
Solved
How does XPath deal with XML namespaces?
If I use
/IntuitResponse/QueryResponse/Bill/Id
to parse the XML document below I get 0 nodes back.
<?xml version="1.0" encoding="UTF-8" standalone=...
Seclusive asked 25/11, 2016 at 0:43
6
Solved
Is there a way for me to serialize an object in .NET without the XML Namespaces automatically serializing also? It seems that by default .NET believes the XSI and XSD namespaces should be included,...
Dreyer asked 3/11, 2008 at 15:17
4
Solved
Before posting this question I have tried all other solution on stack, but with no success.
I am unable to remove empty xmlns attribute from XElement using C#, I have tried the following Codes.
X...
Sandglass asked 1/5, 2015 at 4:47
5
Solved
I'm trying to create an XML document in Java that contains the following Element:
<project xmlns="http://www.imsglobal.org/xsd/ims_qtiasiv1p2"
xmlns:acme="http://www.acme.com/schemas"
color=...
Diacritical asked 3/8, 2012 at 14:59
9
Solved
I have the following code
DocumentBuilderFactory dbFactory_ = DocumentBuilderFactory.newInstance();
Document doc_;
DocumentBuilder dBuilder = dbFactory_.newDocumentBuilder();
StringReader reader =...
Lobster asked 11/1, 2011 at 18:22
8
Solved
When my XML looks like this (no xmlns) then I can easly query it with XPath like /workbook/sheets/sheet[1]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workbook>
<sheet...
Efficient asked 17/6, 2011 at 18:45
6
Solved
In an xml schema document, if I have both the targetNamespace and the xmlns without a prefix.
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://example.com/" xm...
Meant asked 25/8, 2011 at 12:44
2
Solved
Here is an example of the app namespace that I've seen from a res/menu/main.xml file
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/r...
Regatta asked 1/11, 2014 at 19:23
0
I have a pojo which I am serializing using com.fasterxml.jackson.dataformat.xml.XmlMapper.
I have a Java class defined with serveral string values.
@JacksonXmlRootElement(namespace = "http://www...
Lanni asked 4/5, 2019 at 17:22
3
Solved
Here's the setup I'd like to have for my Windows Phone app, using c# in visual studio 2010:
**MainPage.xaml** contains elements that have an attached property, whose values will be modifiable/sava...
Tarratarradiddle asked 18/2, 2013 at 3:44
4
Solved
I'm trying to understand the correct interpretation of the "Namespaces in XML 1.0 (Third Edition)" definition for unqualified attribute namespaces.
"The namespace name for an unprefixed attribut...
Sheree asked 22/7, 2010 at 19:0
5
Solved
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 r...
Cytolysin asked 21/10, 2010 at 15:15
1
Long story short, I'm changing the web-server container for an application. The old container would send back SOAP responses as follows:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoa...
Dull asked 20/2, 2019 at 16:28
1
Solved
Assume that I've the following XML which I want to modify using Python's ElementTree:
<root xmlns:prefix="URI">
<child company:name="***"/>
...
</root>
I'm...
Underplot asked 30/1, 2019 at 11:15
5
Solved
I have seen conflicting information on how to best implement Open Graph namespaces. Specifically, the Open Graph website uses a few different methods, and the Facebook Open Graph examples use other...
Phantasy asked 23/11, 2011 at 0:7
2
Solved
Declaring a style, when I define an item android:backgroundTint, I get a warning that this is available as of API 21 onward, while my minimum API specified is lower (API 17). On the other hand, whe...
Unbacked asked 16/2, 2018 at 11:4
14
In layman's terms, what's a RDF triple?
Padraic asked 7/11, 2008 at 19:4
1
Solved
Assume that I have an XML schema definition for elements of a namespace that I would like to use as child elements of XML elements within a second namespace.
As an example, suppose we have file fo...
Gaptoothed asked 12/9, 2018 at 13:43
© 2022 - 2024 — McMap. All rights reserved.