Questions tagged [xml]

77129 questions
1

votes
2

answer
179

Views

how to expand child on particular Button click in Expandable List View [duplicate]

This question already has an answer here: ExpandableListView expand only on a specific Button? 3 answers How to expand child on particular Button click in Expandable List View rather than Group click
Kavya
1

votes
0

answer
26

Views

block direct access to a folder using web.config

I want to block the direct access in url tab fora folder and allow access through the website links using web.config please advise
user9144056
1

votes
0

answer
42

Views

Replace attributes values in a XML with php

I have the next XML NOTA And I need to replace all attribute values with uppercase letters by values with the following JSON { 'CODIGOIMPUESTO': '1A', 'TEXTOMONEDA': 'MXP', 'EMISORCORREO': '[email protected]', 'EMISORNOMBRE': 'IVAN SANDER SANDER', 'CODPPROVEEDOR': '6001005599', 'CORREORECEP': 'tes...
Omar Sanchez
1

votes
1

answer
87

Views

How to map Map<String, MyValueObject> with xml in jpa?

To decouple my domain model from persistance mechanism, I'm using XML to config mapping from my domain model to db entities. I have this entity: public class Tenant { long id; Map authApps; ... } And this value object: public class AuthApp { String authCode; int durationInDays; ... } The value objec...
S.min Chen
1

votes
1

answer
104

Views

Java XML DOM - how to use Element.getAttributeNS

I have XML node: .... What values should I pass to org.w3c.dom.Element.getAttributeNS(namespaceURI, localName) to get the value of attribute Id? Note I can use Element.getAttribute('wsu:Id') to get the value but I have to use getAttributeNS method. Additional Info: org.apache.wss4j.dom.message.toke...
lonelyloner
1

votes
1

answer
574

Views

Camunda: Cannot resolve identifier for an exclusive gateway

I tried to use a html form for a user task in which a variable gets defined, to select a sequenzflow in the following exclusive gateway. html: Neukunde Altkunde Sequenceflows: I get this exception when executing: An error happend while submitting the task form : Cannot submit task form 713c798f-ebeb...
Ricardo Schumacher
1

votes
0

answer
121

Views

Is there any way to view the “Request Body ” received by the server in the server logs

I am having trouble in logging the 'Request body ' sent to an engine that i created . The engine is present as a war file (in webapps) and I want to access what request body was posted to the engine . I get only this response in the ' localhost_access_log.2017-12-28.txt ' : 192.168.3.206 - - [28/Dec...
CamundaGuy
1

votes
0

answer
25

Views

Create a Custom Toolbar programatically on Android

I have an app with some behavior. As an upgrade I'm going to add a Toolbar to the app. I know, I can do it putting de XML on each activity. But I want to create a Layout XML for the action Bar and inflate on each activity on the OnCreate method. This way I think I can add the bar whenever I need it...
Albert
1

votes
0

answer
100

Views

How can I make any selected text in an EditText Bold or Italic in android studio and store it into a SQLite database?

How can I make any selected text in an EditText Bold or Italic in android studio and store it into a SQLite database?
V. Tank
1

votes
0

answer
187

Views

How to display specific xml attributes from multiple xml files in HTML

My apologies if this has already been asked and answered, but after about 8 hrs of searching, I'm knackered. Displaying the attribute values of a single xml file in an HTML table is straight forward using xsl, css and Microsoft.XMLDOM. Here's where I'm stumped... the HTML table needs to display addi...
RickEEE
1

votes
1

answer
303

Views

Serializing custom classes with custom Settings Provider

I'm trying to save the following classes using a custom Settings Provider but keep getting a null reference error (error details below). [Serializable] public class SoundClips { [System.Xml.Serialization.XmlElementAttribute('Items')] public List Items { get; set; } public SoundClips() { Items = new...
Daniel
1

votes
0

answer
24

Views

graph-refactoring of an TEI-xml-Textgraph

I'm trying to do a graph-refactoring to a TEI-XML-textfile which I imported into neo4j. For importing this XML you need this special apoc-library (only version 3.2, thanks to Stefan Armbruster): https://seafile.rlp.net/f/bf9fbe3cde30491ea26a/?dl=1 Then you can import a sample graph, which consists o...
Andreas Kuczera
1

votes
1

answer
244

Views

unable to download the static xml file using spring Rest Controller

Here is my code snippet when i test it from postman, getting the file content but i am expecting file to be downloaded as opening window . @Override   public ResponseEntity downloadXmlFile() {     try {        String FILE_PATH =new ClassPathResource(ApplicationConstants.my_xm...
Nag-Raj
1

votes
0

answer
126

Views

Qt5. How to load xsd schema from resources.qrc?

I want load xsd schema from my resources.qrc file. This part from *.qrc: xml/my-custom.xsd This xsd is VALID (tested on W3C validator)! I not want load this schema from local file. Because i want compile it as resource. My target: single executable file without other files and not required installat...
Deep
1

votes
0

answer
45

Views

When create a new Persistence Unit?

I'm developing a GEO based app using PostGIS and Hibernate and I'm stuck on persistence units. I have entities with and without GIS attributes. And my persistence.xml is this: java:jboss/datasources/PostgresDS entity.PersistentEntity.Account entity.PersistentEntity.Score java:jboss/datasources/Postg...
GabrielRado
1

votes
0

answer
171

Views

Python Spyne XML GET (not POST)

I am creating a simple Web Service using Spyne, the client (which I don't control) send a GET to verify that SSL is up and working. The Spyne service I created responds with an error, saying only POSTS are supported. Any ideas on how I can make it respond to a simple get on the same path? Example of...
bcb
1

votes
1

answer
383

Views

Writing contents of XML Variable to File

The code below creates me an XML file that shows up as a link as shown in image1 DECLARE @xmlentire AS XML = ( select (select @xmlheader as returnXml), (select @xmlbody as returnXml) for xml path ('IndirectSalesMessage')) select @xmlentire SELECT @loop = @loop + 1 the contents that are returned to m...
jp3nyc
1

votes
1

answer
22

Views

XPath: Getting an element where one of its childs has certain conditions

I have the following data: 95419b4f-006f-44c4-b83d-bc6e0ef18478 FORMHUB-JSON 865770027212853 2017-07-26 14:31:07 2017-07-14 00:00:00 20170714 0947428980 2017-07-26 14:32:31 E AA 198 198 EAA2001 EAA2001_20170714 0 1 7fbf04b1-7fd6-4920-9a1f-8d375020af1b e5d2810e-2db4-40ef-baf0-15c77d31797a FORMHUB-JSO...
QLands
1

votes
0

answer
35

Views

need an example trying to use svg/png

This is my first post...im a beginner trying to make an app for android. im trying to make a simple match game using a deck of playing cards. Ive been able to get open source svg and png playing cards online. They either come in individual cards images (in png or svg formats) or one image (svg or p...
con100
1

votes
0

answer
130

Views

Informix. How to insert data in blob field

I have the Informix database and I have to create the one more table that contents a field for the byte array data storing. Which data type I need to use for these goals in db. Also I tried to insert test record, but unsuccessful.
user3525444
1

votes
0

answer
408

Views

Sign Xml using PKCS11 interop

I want to sign XML using the pkcs11Interop library, I am using below code to sign XML but signature verification fails. when I use System.Security.Cryptography.Xml.SignedXml to sign it passes signature verification. The DigestValue generated by my method and SignedXml are same but signatures are di...
Prashanth
1

votes
1

answer
73

Views

How to change xml every time Taurus tests run?

I have following yaml for Taurus tests : - url: 'someURL' method: POST label: 'SomeLabel' headers: Content-Type: 'application/xml' Authorization: 'auth' remote_user: 'someUser' body-file: './requests/some.xml' assert: - contains: - 200 subject: http-code regexp: true assert-xpath: - xpath: '//respo...
Saurabh Prajapati
1

votes
0

answer
54

Views

IBM Qradar - Hardcoded devicetypeid doesn't work with other application with same devicetypeid?

Assume my log source extension has 4001 as hard-coded value as devicetypeId. If any app installed on the same machine is already using 4001, my extension automatically gets a different ID like 4002 while installing. This creates a problem for custom property extractions and event mapping. Because my...
Tarang Dave
1

votes
1

answer
1.2k

Views

PHP and CURL POST XML

I have been tearing my hair out for 2 days trying to figure this out and I wonder if any of you could help? I am trying to post an XML string to a server and they state 'All XML requests should be sent to our server with the 'xml' parameter name using the HTTP POST method'. I have tried numerous way...
Dean
1

votes
1

answer
85

Views

pulling multiple entries in xml with different data using R

I have a set of XML files that I am reading in, and wanted to know the best way to deal with the following: X1234 DOBMismatch PrimaryChecksFail IncomeReferral At the moment, I am running some R code but get the response: Error: Duplicate identifiers for rows (2, 3, 4) The intended output is a datafr...
Northernlad
1

votes
2

answer
51

Views

How can I iterate this XML API response in js or jquery

I am getting XML response from one of the API which I have to iterate and extract required data from it. As I am working on XML response for the first time I am having some difficulties to do it. Below is the XML response file: EMC_SR_NUMB http://demo_url:3000/url/example.xsodata/EMC_SR_NUMB http://...
Anand Vaidya
1

votes
1

answer
229

Views

How to validate naming conventions in an XML Schema

We're working on naming conventions for XML Schemas (XSD) we're using inside our company. To make sure everyone will honour the conventions I'm looking for a way to validate the XSD. The IDE we're using is IntelliJ,so that should be able to use an XSD file to validate other XSD files. One way wou...
Johan Vergeer
1

votes
0

answer
333

Views

get the list of nodes and node-text that contains specific text using XPATH

I am playing around with parsing XML files on remote server using oracle apex and pl/sql. I use APEX_WEB_SERVICE.MAKE_REST_REQUEST to get the xml file into a clob variable and then use XPATH and XMLTable to get specific text. Here's a sample XML file that I have (note that, the original file is qui...
Sejal Parikh
1

votes
0

answer
83

Views

CLR Assembly in SQL Server Error “Timeout Exceeded” when executed in stored procedure, runs fine in new query window

I have this stored procedure, we'll call 'wrapper', that calls another procedure to build an XML message then executes a CLR Assembly to send that XML message to a web service. The web service should then return a message saying success or failure. The issue is, the assembly is exceeding its timeout...
John Donahue
1

votes
0

answer
63

Views

RadioButton not changing it pressed state after clicked on other RadioButton

i am designing a layout for dialog fragment in which i have 8 RadioButton the problem is by selecting one button its changing its background but when i click on another RadioButton previous one is not going to its older state (Icon) this is my xml and this is my selctore default icon is arrow for u...
Mateen Chaudhry
1

votes
1

answer
118

Views

How to check if public X509Certificate is trusted

I've signed XML which I validate by code below 1.0.2 454589 P2P_WEB MTUxNDQ2Nzg0NDk0OTAwMDAwMDA= 20171228 16:30:44 1000 810 2 0000000000002635 20171228 13:31:04 Y AAABB3YieEkDliVhUyJ4AAAAAAA= 05 2 vjiyJgkYUPKeX79NBcvZNcZuH7g= LcITisdhnjQSLaQnL/VPg8EWCFbmfDhDpOLo8xGntbcCiubVCi6o+luhu38JA2Vo8G8fcSTH/2...
koa73
1

votes
0

answer
84

Views

docx4j excel xlsx insert image on android platform

i am new to docx4j ,i have previously used apache poi to insert multiple images into excel xlsx on my Android app,due to Huge and heavy library size imposed by poi, i am looking for alternative. docx4j image inserting seemed to be much more complex than i thought after looking at the examples sampl...
1

votes
2

answer
62

Views

Apply filtering criteria to several SQL columns based on the values of temporary table

I have the following Input data: Chr Start End Ref Alt FORMAT Sample_01 Sample_02 Sample_03 row_id 1 1111111 1111112 AG - GT:AD:DP:GQ:PL 0/1:233,233:465:99:0,120,1800 0/0:117,0:117:99:0,120,18...
Yatrosin
1

votes
0

answer
380

Views

How to enable CSRF protection in Spring Security 3.0

I'm trying to enable CSRF protection in Spring Security 3.0. All the articles I've found point to using the tag, which doesn't exist in this version of Spring Security and there's no chance of me upgrading to a newer version of Spring any time soon. (Corporate environment) With this in mind, how c...
Beth
1

votes
1

answer
64

Views

How to find the largest attribute value in a XML file? [duplicate]

This question already has an answer here: What is a NullPointerException, and how do I fix it? 12 answers I am trying to create a small program that is able to print out the largest value of a attribute in an XML file. I have wrote the following code: public class GetMaxLog { public static void mai...
Harsh
1

votes
1

answer
54

Views

XML & PHP issue

I am trying to echo a 4MB XML file, but the file is invalid: My PHP it worked perfectly with the sample xml file 4 1 but after adding the original XML file, It has multiple header in the file itself as shown below: 2 8 4 Is there a way to: Ignore the multiple headers to avoid errors. echo all data...
Haitham
1

votes
2

answer
37

Views

XML & Lambda - accessing fields that don't implement the IEnumerable interface

I'm using Linq/Lambda to write output to an XML file, just in the standard way: new XElement('Employees', from emp in empList select new XElement('Employee', new XAttribute('ID', emp.ID), new XElement('FName', emp.FName), new XElement('LName', emp.LName), new XElement('DOB', emp.DOB), new XElement('...
user5956088
1

votes
0

answer
269

Views

Google Blogger - How to show a widget with a specific label

I wish a blogger gadget to be displayed only on post pages that have a particular label only, I've tried different methods, it worked but the result didn't make me satisfied. I use this Method and it worked: http://www.southernspeakers.net/2011/10/blogger-label-specific-gadget.html Yet the problems...
Ray
1

votes
1

answer
310

Views

Parsing xml in python gives null values

I'm programming in python and I'm trying to read the status of my Yamaha network stereo. I get the following xml response On All good so far. Now, I'm trying to search for Power to get the latest status. It is there in XML but I can't locate the Power Status value when I use a XML parser such as...
Tony De La Rosa
1

votes
2

answer
213

Views

Error in sending email in Anypoint Studio (MuleSoft)

Everytime I try to send an email in AnyPoint Studio I get an error. I've tried sending it from other computers and it always works. It just doesn't seem to work in mine and I have no idea why. This is my .xml: When I open the browser and type localhost:8081/sendemail, no email is sent and the browse...
Amy

View additional questions