Category "xml"

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

How to change value of XML Node with Self closing Tag using C#

I have an XML file, which is being loaded into an XmlDocument object in my code. It contains some nodes which have self closing tags. How do I access and change

Custom Image Slider Android studio?

Style Slider Corner radius Layout is getting scattered on corner radius so i have no idea about it if any one help ! xml File <com.smarteist

Floating Action Button is not showing an image in Android?

As title says, I don't know how to fix this issue. I read this problem but that was in 2018, I'm not very familiar with all those libraries and dependencies how

java.lang.IllegalStateException: view!!.findViewById(R.id.dog_image) must not be null

I am working with Android Studio and Kotlin. I am trying to create an RecyclerView and a Adapter. I obtain the following error when I try to use the RecyclerVie

How to send parameters in soap request in php in __soapcall() function

i want to send a below xml request to the server which is sending ok by using soap UI but not in php: <ns:AgentLogin> <ns:AgentLoginRQ