XSLT on docx for merging adjacent elements

I have a set of interview transcripts in MS Word docx format, which I want to convert to my own custom xml schema: A paragraph in my word doc looks like this: Jon: This is my interview. Now I am...

Allow single and double quotes in PHP

I have a PHP forum application (PHPBB) that displays the forum title on the front end of the site. The code that generates this title is stripBBCode($row1["topic_title"]) Each forum title is...

how to get first some line from a paragraph

I have a paragraph stored in database i want to get only first five line from . it how to do this ? should i convert first array to srting ? if yes then how to do this ? if its string than i can...

Logging using @Loggable jcabi annotations trims the logs

I am annotating my function @Loggable jcabi annotation. The statement it logs is not complete, it trims the line and just prints .. for the truncated data. I want the entire line to be printed....

SQL join, compare two column values, match col values

I have two tables. Table 1 columns are ==================== (MAINID, XID, Name) ==================== (A1 1 SAP) (B2 2 BAPS) (C3 3 SWAMI) Table 2 columns are =================== (ID ...

google author not working for my site

I have a website: http://www.radhanath-swami.info/mysterious-intervention-of-the-divine-will/ I have added everything properly. Even in my google+ contribute. Still it says author not working ...

json data not showing up in morris bar

i am storing the Json data into a variable and calling this data into a Morris.Bar function in jquery,by doing so i am geting undefined data and unable to show graph Below is my code.Have a look...

Binding not happening with AngularJS

I just downloaded the AngularJS SPA template for Visual studio and started with my first application. And i am facing lot of problems already !!! Below is my PersonView : <!DOCTYPE html> <html...

Application crash when signup with new user in quickblox

I am developing a chatting app and i have added Quickblox framework for chat, but when i trying to signup with new user application is crash with following error: 2014-12-22 14:14:59.369...

How do I create a loop for a c# hangman game?

I've made this hangman game but the only problem is I can't figure out which simple loops (For,While, or Do While) I should use to make the program give the user three chances to answer correctly...

arangodb: node merge history: best approach

We are building a contact management application. Each contact is a node. If 2 or more contacts are discovered to be duplicates we want to provide the ability to merge them into a single node....

stop scrolling once last li is visible on screen

I have a set of images that is aligned in a single row and overflow:hidden. I have 2 buttons, Left and Right, which when clicked scrolls the div to their opposite sides. The problem I am facing...

C# Saving screenshot with incrementing number

I have created a different class which to call screenshot. Below is my code Program.cs static int i=1; ...

Angular JS ng-show throws "TypeError: f is not a function"

I'm working on a gallery page template that takes in an object and uses ng-show or ng-hide to display certain information if the object contains it. Each instance of ng-show or ng-hide I use...

UITableView filtering

I have to perform a search operation in tableview with searchbar. Which have a label of a person's name and an image for these persons in its cell. My code is override func viewDidLoad() { ...

How to search a column value of a particular table in SQL Server?

Input : EMP table has 100 columns. If we type any value for @searchparameter, it's like Google search. It has to check all the columns internally and display the relevant rows of all columns EmpID...

How to instantiate QSystemTrayIcon?

How do I fix the following error? from PyQt5 import Qt import sys app = Qt.QApplication(sys.argv) systemtray_icon = Qt.QSystemTrayIcon(app, ...

Can't Share Tweet containing quote & author (FCC Random Quote Machine)

jQuery on click function to tweet current quote doesn't want to work. I have to build random quote machine and tweet current quote for Free Code Camp. I can generate a new quote but I am not able...

Tinymce New Line and Escaping error

I have a online webpage editor in which i have used Tinymce. I am having extreme problem as when i press enter key , instead of <br>, it inserts /r/n special characters. Moreover whenever I insert...

Masking password in Django

I am new to python and Django framework and I created a login form which works well but only thing is that I am not able to mask the password while it's being entered. Views.py class...

Add box-shadow css property to div

I am trying to add 'box-shadow' css property to my 'about-section', 'portfolio-section' & 'about-section' in the page I am trying to create. However, no matter what I do, it does not seem to...

Variadic template issue

I have the following code I'm trying to adapt for my own purposes. This is a learning exercise for me to attempt an update of my C++ skills. This was originally written with Clang 3.1 in mind as...

Accessing Session Data in ColdFusion

Here I am trying to access session data in a cold fusion page. you can verify below code Section A code was placed in first page and Section B code was placed in second page. When I am going to...

Pdftotext - parse data from text file and export to mysql or json

I have hundreds of PDF files which I need to parse and insert into MySQL tables. I have converted a pdf file to text with pdftotext using -layout option. The data is voter information in the...

Trouble parsing XML with XML Service Service in Google Apps Script

I'm trying to write a script in Google Sheets that uses an ISBN number to query the Amazon Product Advertising API for product information. I'm totally stuck parsing the XML. I've exhausted my...

Serializing a dictionary that is not a model in Django restframework

I have read a few answers and posts about serializing an dictionary . But I still can't get it to work. Here is the problem. I do some data processing in django app , and it returns this...

Facebook messenger integration - bot does not provide the responses

I had integrated the Dialogflow with Facebook messenger integration. I had followed the steps in the dialogflow docs. I am not getting any output /message from the messenger. I had used...

MV command line not working for certain files (OSX)

I downloaded a bunch of youtube videos and transcripts, and I am trying to rename them using the 11-character youtube ID that is part of the file title. I created a text file where I have on each...

Using same connection with multiple resolvers in graphene

I have a code like this, # SWAMI KARUPPASWAMI THUNNAI import jwt import graphene from flask import request from auth.helper import medease_token from database.get_connection import...

How to add dynamic multiples markers on flutter google map?

I'm browsing for it from yesterday and couldn't get any satisfying solution. I used geolocator plugin for the get current user location and defined it from initState() method. I set static markers...