How to call a xslt from a xslt?
Vote count: 0 I'm looking for a possibility of calling a 2nd xslt from 1st xslt. My xml-Input looks like <xml> <Subject name ="A1" type="a"> <Subject name ="B2" type="b"> <Subject name ="C1" type="c"> <Subject name ="A2" type="a"> <Subject name ="B1" type="b"> <Subject name ="C2" type="c"> <Subject ...
How Makefile split string into individual words?
Vote count: 0 I write a Makefile like this: all: @echo $(wildcard $(include)/*.sh) @echo $(include) .PHONY:all I input make "include=~" and output is /home/ubuntu/caps_esc.sh /home/ubuntu/ss.sh /home/ubuntu But when inputing make "include=~ "(note the white space!) the output is /home/ubuntu /home/u...
datetime checker using if else condition c#
Vote count: 0 i use this code check date availability from the database and so i use one textbox which is linked to a datepicker ui and a dropdownlist to select time. the problem is if i select a date and fullday and if it is in database table already it shows date unavailable as its supposed to sam...
Give Permission to Users in Alfresco
Vote count: 0 I want to give different type of permission(eg- read, write) of specific folder or documents to different different users in alfresco. For example there is a folder called A, I want to give read permission for user1, write permission for user2 like that. Please some one suggest me how ...
React - flux - Store dont react on dispatch() but another do
Vote count: 0 I have 2 Stores a lot similar. First listen react on dispatch() right but another dont. My dispatcher: var Dispatcher = require('flux').Dispatcher; var JustDispatcher = new Dispatcher(); JustDispatcher.handleAction = function(action){ console.log('dispatcher',action); this.dispatch({ s...
onCreateDialog depreciated in Android licensing lvl
Vote count: 0 To correct the following by removing the deprecated code, would you use a dialogue fragment? Or is there is different/cleaner way to update this? I am fairly new and after much reading, I am wondering if I am over-complicating this? protected Dialog onCreateDialog(int id) { final boole...
How to sell items live on google spreadsheets?
Vote count: 0 I have a list of 960 items with a count for each. I am sharing a spreadsheet with 20 people who want to buy these items (Price is not a conce here). I need the spreadsheet to automatically update the number of items once someone enters say they want some items (1,2,3 any number less th...
C++11 variadic function without template type?
Vote count: -3 Is it possible to have a function with a variadic number of non-template-type parameters? For example, a function that takes an arbitrary number of strings std::string concat_all() { retu ""; } std::string concat_all(std::string const& s, std::string const&... t) // won't compile { re...
PHPUnit mocked method returns null
Vote count: 0 I am trying to test the below class using PHPUnit class stripe extends paymentValidator { public $apiKey; public function __construct ($apiKey){ $this->apiKey = $apiKey; } public function charge($token) { try { retu $this->requestStripe($token); } catch(StripeErrorCard $e) { echo $e->g...
How to make ios config file?
Vote count: 0 How to make objective-c in ios config file not plist file? This file would be used by complete application for configuring variables. Do i need to write a object class for that ? asked 13 secs agoManzoor Let's block ads! (Why?)
Python - Having user sort list smallest to biggest
Vote count: 0 So I'm making a code where it asks the user to to swap two places on the list until the list is from smallest to biggest. So it should look like this: Hello: Your current list is [6, 7, 8, 2 , 9, 10, 12, 15, 16, 17] Please pick your first location -> 4 Please pick your second location ...
GAM R variance explained by variable
Vote count: 0 My current problem is to calculate the variance explained by the different variables of a general additive model (GAM) with R. I followed the explanation given by Wood here : https://stat.ethz.ch/pipermail/r-help/2007-October/142743.html But I would like to do it with three variables. ...
Catch Nil Error in If/Else
Vote count: 0 While this seems beyond simple to me, I ca ot seem to figure out how to code this. I am trying to write an if/else if/else statement, but it's not working. Here's what I have: for value in values { if Float(value) > 0 { print("positive") } else if value == "N/A" { print("not available"...