XSLT - concatenating values to existing one

I have the following XML: I would like id to be the concatenation of subname + subname2. Example: For the first one id would be: ThinkVision, the second one: LenovoMind Is this achievable via xsl:for-each ? I tried using the following xslt: ...
more »

2017-01-16 19:01 (1) Answers

Listview scrolling is not working

Screenshot Of My Layout I added TranscriptMode in both xml and java. But its not working... Xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sc...
more »

2017-01-16 17:01 (2) Answers

Workflow Website - Back-end Design Advice

Background: I'm beginning to architect/design a new website that will track the workflow of a large amount of projects. Each project will have phases assigned to them (planning, implementation, post-implementation, closing, etc...). Each of the phas...
more »

2017-01-16 16:01 (1) Answers

Why XSL transformation to linear xml fails

For unknow reason SEPA payment file cannot converted to linear xml. I tried xml file and stylesheet below using http://http://www.utilities-online.info/xsltransformation result xml ei empty. Selector <xsl:template match="TxAmt/*"> must fin...
more »

2017-01-15 18:01 (1) Answers

read RDF/XML from url in Jena

I'm trying to read XML file by using Jena. and normally it is working. final String url = "http://www.bbc.co.uk/nature/life/Human"; Model model = ModelFactory.createDefaultModel(); model.read(url, "RDF/XML"); but when I try anot...
more »

2017-01-15 12:01 (1) Answers

Getting node value in xml column

Please let me know why the following XML query is not fetching any result. I am trying to get value EffectiveUserName tag. DECLARE @MyXML XML SET @MyXML = '<PropertyList xmlns="urn:schemas-microsoft-com:xml-analysis" xmlns:soap="http://sc...
more »

2017-01-13 18:01 (2) Answers

Search in xml using xpath in postgresql db

I have a database in Postgresql where I put some documents written in xml. I want to search twrough them using XPath, but my code is not working. The document are like this: <?xml version="1.0" standalone="yes"?> <TEI xmlns="http://www.tei-...
more »

2017-01-13 12:01 (1) Answers

Navigation Drawer Over Status Bar In Nougat?

I try to build navigation drawer in my application ,navigation drawer works fine in previous version of nougat but in nougat navigation drawer not comes over the status bar. i tried lot of solutions but not work in nougat please help !! this is my a...
more »

2017-01-13 03:01 (1) Answers

C# convert Exception Object to an XML document

I am wanting to be able to create an XML document to save to a SQL database from an Exception object. Is there a way to easily convert an exception object into an XML document? I want to be able to do something like: public void WriteError(Exception...
more »

2017-01-12 18:01 (3) Answers

Java JAXB - get intended output

I am trying to get an XML ile in a form: <?xml version="1.0" encoding="UTF-8"?> <image> <lines> <line id="a"> <coordinates x="297" y="44"/> <coordinates x="302" y="117"/> ...
more »

2017-01-12 13:01 (2) Answers

Write <?xml?> in PHP file

I have a index.php file: <?php // Load resources shared across the website include '../path/to/other_file.php'; ?> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/...
more »

2017-01-11 23:01 (3) Answers

Parsing RSS with php to get a json feed

I need to convert a RSS feed from another domain and turn it into json. In order to circumvent cross-domain warnings, I'm parsing the RSS feed server side using this PHP proxy script. but somehow the response is in one long string. I would like ...
more »

2017-01-11 19:01 (2) Answers

Collate while parsing xml

On same server I have few databases with diferent collation. I'm parsing xml as CREATE TABLE #tblDocuments ( Document varchar(5) COLLATE DATABASE_DEFAULT ,DocCode varchar(15) COLLATE DATABASE_DEFAULT ,Ammount decimal(18,2) ); IF @@ERRO...
more »

2017-01-11 14:01 (1) Answers

Android adding containers to a horizonalscollview

I have to admit my java is rusty and this is my first native Android app. I used Titanium studio a few years ago to build the same app. I have a HorizontalScroll view outlined in my main_activity.xml and I want to add LinearLayout containers to it w...
more »

2017-01-11 03:01 (0) Answers

Adding XML Schema Reference in SQL

I can't find for the life of me if it's possible to add a direct reference to the schema in the root of my XML. Here is my code: Declare @Employee table (EmployeeID int,First_Name varchar(50),Last_Name varchar(50)) Insert into @Employee values ...
more »

2017-01-10 22:01 (2) Answers

Loop for extracting attributes of elements XML

I need to extract all attributes from a long list of various elements. Therefore, I'm seeking to build a loop going through all of my elements and return their attributes. Through several posts I have been able to write the code below. However, I ...
more »

2017-01-10 20:01 (2) Answers