Questions tagged as 'xml-namespaces'

2
answers

Xpath with Python

I have the following XML (simplified): <produto refid="cat01" idprod="tv01"> <marca>xxx</marca> <modelo>xxxx</modelo> <genero>xxx</genero> </produto> <v:utilizador iduser="U00000"...
asked by 28.02.2015 / 13:00
1
answer

What problems can occur when using the "http://tempuri.org/" namespace in our webServices?

When creating a webService, in my case using ASP.NET, I always change the default namespace to someone related to my project, usually using the site URL for this. But lately I've had the need to integrate systems and usually other developers...
asked by 14.11.2014 / 12:22
1
answer

What are namespaces in XML?

Well, I understand the concept of namespaces in C #, C ++, etc. But I do not understand the concept of namespaces in WPF (XAML). I've been trying to understand the xmlns parameters in an XAML code. I read MSDN publications on th...
asked by 12.07.2016 / 18:24
3
answers

Remove from: xml generated by my web service

When you generate XML in a web service rest, it looks like this: <getCnpjParceiroResponse xmlns="http://tempuri.org/"> <getCnpjParceiroResult xmlns:a="http://schemas.datacontract.org/2004/07/V99SuporteTecnicoContracts"...
asked by 23.05.2014 / 22:38
1
answer

How to generate an XML schema, where I have some nodes with namespace and others without

I'm trying to generate an XML schema, for future validations, where some attributes contain a specific namespace, and others do not: <?xml version="1.0" encoding="UTF-8"?> <root xmlns:g="http://base.google.com/ns/1.0" version="2.0">...
asked by 22.09.2014 / 21:47
0
answers

Parsing an XML and their respective XSD

I need to parse a WADL manually and create an XML specification that I have here. Example: - > File YahooSearch.wadl [...] <application * xmlns:yn="urn:yahoo:yn" * > <grammars> <include href="NewsSearc...
asked by 04.11.2014 / 19:00
2
answers

Modify in xml in multiple files

Hello, I need to modify a value inside an xml node, the problem is that I need to do this in 1300 files at one time, the value I look for inside the node can be any one, it does not matter what value it is there, just need to modify this node...
asked by 05.09.2016 / 16:29
1
answer

Remove XNamespace in XElement c #

I need to remove the XNamespace that comes as default on an rss return. Here is the code below: static void Main(string[] args) { XNamespace ns = "http://search.yahoo.com/mrss"; var item = new XElement(ns + "content",...
asked by 28.07.2014 / 21:54
1
answer

Declaring namespaces in XML in classes imported by WSDL (jax-ws)

I'm developing a WebService application using jax-ws. In this model, after importing the WSDL, the IDE generates the classes that will be used in the information exchange. However when I create the object and pass as a parameter I get the messag...
asked by 18.07.2017 / 21:29
0
answers

Removing XML namespace via php

I have an XML with namespace that I can not read via PHP. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <ns1:informationTable xmlns:ns1="http://www.sec.gov/edgar/document/thirteenf/informationtable"> <ns1:infoTable>...
asked by 28.11.2018 / 15:30