Category "xml"

Generating xml with SQL Server with child namespace

I am generating an XML using SQL Server and I need the following name space: xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance" ns0:noNamespaceSchemaLocation

ScrollView too long therefore produce white borders

I'm still working on my android application and I still struggle with XML ans scroll views. I want to display an AlertDialog which contains: A JPEG image a the

context.getInitParameter("") and config.getInitParameter("") always returning null

I am a beginner in servlets and JSP and I've tried my best to get the values yet I am getting null, any help is welcomed: This is basic code on using ServletCon

SQL - UTF-8 to varchar/nvarchar Encoding issue

Problem background - I am receiving response data from a website, formatted in json and UTF-8 encoded. A body attribute of json has values in a base64binary typ

How to parse a xml feed using feed parser python?

Im trying to parse a feed in python using feedparser. But all I get is None returned. Im not sure what im missing. Here is my code: import feedparser def rss(

Floating Action Button is duplicated in fragment

In a project, there was a FloatingActionButton in one of the activities. I attempted to add a Fragment in that activity and move the FAB inside that Fragment. E

Group by key in xslt 3.0

I am trying to group by an attribute . Example input: <?xml version='1.0' encoding='UTF-8'?> <ns1:map xmlns:ns1="http://www.w3.org/2005/xpath-functions

How to add tags?

First xml file "in.xml" to be updated: <root attr="root"> <xItem key="1" th="1"> <m1 /> <b attr3="j" attr4="x"> <m4 /

How to extract FREEFORM shapes from ppt and save it in png file using pptx

I have a ppt file that contains some maps(for eg. world map) tagged as freeform shape in xml file. I want to decode the freeform object and extract it in png or

AspectJ - Aspect from external JAR

I've added a github repo that show exactly my problem: https://github.com/runefist/AspectJ-Stackoverflow-Q In short, I have a project we'll call it ProjectA.

Odoo - Context defined in view not passed in form

I'm using Odoov15, I try to inherit the Odoo sale_crm module. To make my tests, I modify the sale_order_views.xml in sale_crm/views. I add thoses lines in the s

XDocument xmlns url attributes persist to child nodes

Based on this SO solution, adding the same namespace to your child node will prevent creating empty xmlns="" attributes. I'm not getting empty attributes, inste

How do I remove the special characters within multiple lines in Regex?

I'm trying to solve a problem that wants to display the given text from a file omitting the special characters and modifying the multi-line input to a single-fo

OpenIDConnect provider's HTTPS certificate doesn't match configured thumbprint

- name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@master with: role-to-assume: ${{secrets.ARN_GITHUB_ACTI

How to use Unicode chars with Nokogiri::XML::DocumentFragment

I want to use Unicode char with Nokogiri::XML::DocumentFragment. frag = Nokogiri::XML::DocumentFragment.parse("<foo>ü</foo>") => <foo>

JAXB: Concrete type information (xsi:type) missing on marshalled XML

I'm generating JAXB classes from XSDs for a SOAP WebService I'm building a client for (generated with jaxws-maven-plugin v2.4.1, wsimport goal). I'm having a

POST changes to OPTIONS + Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header

XMLHttpRequest cannot load http://xxx.xxx. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is pr

Clone nodes while expanding flat to hierarchical XML using Microsoft XSLT 1.0

TL;DR: Here is my Fiddle: https://xsltfiddle.liberty-development.net/6qtiBn6/2 Expanding on the answer to my previous XSLT 1.0 (Microsoft vendor) problem, I act

how to make gpx file in android

I wanna write gpx file with DOM and Transformer My code is like that try { val document = DocumentBuilderFactory.newInstance().newDocumentBuilder().

"<" character in kotlin language translator not working

I'm about to translate my app into different languages. My problem is though, that kotlins 'translation tool' doesn't allow special characters like "<". So i