First, install the following software:
- Ghost script
pstoedit to the environmental variable
For example, in order to add
pstoedit to the path:
Computer > Properties > Advanced > Environment Variables > PATH > Edit
Add the following:
;C:\Program Files (x86)\pstoedit;
Don’t forget semi colons.
Types of Channels
(1) You can have multiple file descriptors and streams (let’s call both streams and descriptors “channels” for short) connected to the same file. 
(2) There are two cases to consider: linked channels that share a single file position value, and independent channels that have their own file positions. 
(3) It’s impossible for two channels to have separate file pointers for a file that doesn’t support random access. Thus, channels for reading or writing such files are always linked, never independent. 
(4) Append-type channels are also always linked. For these channels, follow the rules for linked channels. 
(1) You should clean an output stream after use, before doing anything else that might read or write from the same part of the file. 
This statement implies that it is OK for multiple independent channels each write to different parts of the same file at the same time as long as they clean themselves after use.
(2) You should clean an input stream before reading data that may have been modified using an independent channel. Otherwise, you might read obsolete data that had been in the stream’s buffer. 
Create a remote branch:
git checkout -b your_branch
# where is typically origin
# reference: http://stackoverflow.com/questions/1519006/how-do-you-create-a-remote-git-branch
For Matlab R2013b, to use a specific libstdc++, launch matlab with:
Saxon seems to have trouble with resolve relative xinclude paths, even with the -xi option turned on.
We can use xmllint resolve the paths first, and then feed the file to saxon and taking advantage of saxon’s extension.
xmllint –xinclude input.xml > resolved.xml
saxon -s:resolved -xsl:style.xsl.
Example 1: From a Text File
while read line
done < input.txt