Category "xml"

How do you keep .NET XML parsers from expanding parameter entities in XML?

When I try and parse the xml below (with code below) I keep getting <sgml>&question;&signature;</sgml> expanded to <sgml>Why could

Extracting data from xml with Python 3

I am trying to extract figures from a series of xml data. The xml data looks like: <commentinfo> <note>This file contains the sample data for t

What is the difference between colorPrimary and colorPrimaryDark in themes

I'm trying to understand how the theme works in android. I don't know why colorPrimaryDark won't work with me or maybe i'm doing it wrong. I tried this set and

How can I read a binary file that contains xml in python?

I have a binary file containing contours of DICOM image for MRI (exported from cvi42 software), I want to convert it to XML format. with open('myfile.cvi42ws','

How to parse invalid (bad / not well-formed) XML?

Currently, I'm working on a feature that involves parsing XML that we receive from another product. I decided to run some tests against some actual customer dat

Tomcat Credentials

I want to start a dynamic web project directly from tomcat and I have defined the tomcat-users.xml file for the credentials: <?xml version="1.0" encoding

XSD to XML Converter

I am trying to convert an XSD file into its corresponding XML document. Using IntelliJ's built-in tool makes this easy but something is wrong. It seems to be

Opening RSS page errors with “This XML file does not appear to have any style information associated with it.”

I have BuddyPress on my website, and when I'm trying to go the link RSS, the result is this: This XML file does not appear to have any style information ass

Dynamically creating rows in Excel sheet with Apache POI

I'm writing a program to read a large xml file and create an excel file from it. The attributes of each node will be the column headers in excel file. I created

MySQL to update an XML attribute

In data load, it seems some XML attributes mapped incorrectly and I'm now trying to correct this, but am struggling with MySQL's handling of this XML column. I

How to strip namespaces from Xml Document

I am having some trouble with removing namespaces from a document in order for a proprietary Parse() function to work properly. I am receiving an XML string tha

uncompressing xml feed gzip deflate php

I am being sent an XML feed which needs to be downloaded in a 'compressed way'. The example I have been given is this: $url = 'http://myurl.com'; $headers[] =

How to map JSON field names to different object field names?

What is the equiv way in Jackson json annotation for the following jax-b annotations? I need to produce json rather than xml and need to know the conventional

SaxonC 11.1 transform_to_file Produces No Output File

Using SaxonC-HE 11.1 in Python3 to transform XML into a new file appears to produce no file. Here's the py code: import os import saxonc with saxonc.PySaxo

How are XML namespaces validated on W3C's validator?

I have two files: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg width="210mm" height="297mm" viewBox="0 0 210 297" version="1

Azure Data Factory (ADF) - Parse/Flatten XML file - Get content of all elements match wildcard criteria and sitting in different segments in Hierarchy

I have XML file something like below and need to get all complex elements having different names but all ends with "_KEYS" and they are part of different segmen

How to retrieve a exchange property in the camel route XML?

I have to run a loop in the route. my route looks as <camel:loop> <camel:constant>${property.x}</camel:constant> </camel:loop>

XSLT Transformation to create xml with cdata section

Iam trying to do xslt transformation with cdata section in it.I need to put the transformed xml in to aXMLInput tag as cdata section.iam able to create the xml

Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain

I am using m2e to build a java project. I need to use JAVA VERSION 1.6 . So i am trying to configure toolchains plugin to achieve it. by referring the below lin

Error generating code from FixML 5.0 SP2

I'm using the Fix standard as the source (file fixml-main-5-0-SP2.xsd). I get the following error when trying to generate C# code using Liquid XML Data Binder: