Questions tagged [xsi]

XSI is the conventional prefix for the XML Schema Instance Namespace. It is used in the process of validating an XML instance document against an XSD Schema.

68 questions
0
votes
0 answers

set xsi:schemaLocation attribute when saving xml file with lxml

I'm using lxml to write xml file. I try to write a root element like :
0
votes
1 answer

XSLT get the right GUID from XMLNS/XML

I try to get the correct GGUID out of my XMLNS/XML file. I want the right GGUID so I can Log some actions on my Process with this ID. Here is my XMLNS/XML:
NvrKill
  • 327
  • 2
  • 16
0
votes
2 answers

JAXB marshaller to marshal super-class as root-element and use xsi:type

I'm trying to marshal a sub-class as super-class with xsi:type information as the XML Root element attributes. Currently this is what I have (let's say..): XMLDOCUMENTTYPE is a super class of XMLINVOICETYPE marshalling XMLINVOICETYPE will give me…
xandross
  • 911
  • 2
  • 11
  • 17
0
votes
1 answer

XML Schema Definition (XSD) for XML files

How can I check whether a XML file uses a XML Schema Definition (XSD)? For example, if you decompress a signed odt file (LibreOffice or OpenOffice text document), in the directory META-INF is the signaturefile documentsignatures.xml. In this file…
Kaleun
  • 13
  • 3
0
votes
1 answer

use custom XSD in Crystal Reports 2016

I am trying to export data from crystal reports in XML format but problem is data is enclosed in tags like Formatted Value and Value but my requirement is to get user specific tags. For E.g If my data has Employee name and Employee ID then I need as…
Siva
  • 9,043
  • 12
  • 40
  • 63
0
votes
1 answer

how to set my java variable to have xsi:type

I have a web application that need to call a web service to process something. As usual, I ask for the client code from client, so that I can code base on the client code. However, the given client code is in jar file format. Thus I just really…
Panadol Chong
  • 1,793
  • 13
  • 54
  • 119
0
votes
0 answers

How to remove unwanted declaration in XMLusing XSLT?

I want to remove the declaration in output XML. Tried using the "exclude-result-prefixes" but it didn't do anything. my output:
0
votes
1 answer

How to remove xsi: attributes in PI XSLT mapping?

I am working on SAP NW PI (Process Integration). We have an inbound payload from a third-party system using SOAP. The payload is similar to this:
0
votes
1 answer

XSD - how to declare xsi:type

Since several years, I have used this architecture in my models. I have 3 models: object which is the main model, A and B which extend the object model and add new elements. object.xsd:
lovelace63
  • 352
  • 1
  • 6
  • 15
0
votes
2 answers

Xml List Serialization and Node Type Names

Ive come across multiple questions and answers on here but none specific to my situation. I have a class 'Entity' with multiple classes that extend off of it. I want the serialization to hit the list and understand and use the type of each item for…
Matthew Wherry
  • 343
  • 2
  • 11
0
votes
1 answer

Are the xsi and schema portions needed in an XML sitemap? What do they mean?

For the XML sitemap of my website, I noticed that different articles suggest different things. For example, prior to my page listings, some articles suggest starting it this way:
StudioB
  • 117
  • 9
0
votes
1 answer

XML xsi:nil="true" value set but returning null

I have given XML doc: Later on in code the element gets updated to: some data No whey I try to deserialize the element in to an object the "element"…
Jeremy
  • 364
  • 3
  • 18
0
votes
0 answers

xmlns xsi declaration error in xml file results in Saw '301 Permanently Moved' error

I'm getting this error when I restart tomcat7: 15:07:00.314 [pool-2-thread-1] ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 2 in…
Dimpermanence
  • 47
  • 1
  • 9
0
votes
1 answer

Groovy Codenarc.xml org.xml.sax.SAXParseException xsi:schemaLocation not associated with element type ruleset not bound

I'm using Gradle 2.3 and project has Groovy code. For static code analysis, I'm using Codenarc (i.e. project folder has "config/codenarc/codenarc.xml" file). In the build.gradle / GRADLE_HOME/init.d/top-level.gradle file, I have: apply plugin:…
AKS
  • 16,482
  • 43
  • 166
  • 258