03-13-2004
neophyte for unix
hi everyone! I'm the newest member of the forum. Im interested learning unix programming. Could anyone give me some points on which book have the best approach for begginers. What kind of unix os that suite for my needs.. Or anyone who has free manuals that are downloadable.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Okee problems...!!
What is happening: Unix server with some programms, workstations are windows 2000, the workstations work good but when you start a programm on the Unix server the CPU of the workstations go to 100% usage resulting that the system gets very slow. The programm well its running so... (2 Replies)
Discussion started by: zerocool
2 Replies
2. UNIX for Dummies Questions & Answers
I tried looking for the answer online and came up with only a few semi-answers as to why file and directory names are case sensitive in Unix. Right off the bat, I'll say this doesn't bother me. But I run into tons of Windows and OpenVMS admins in my day job who go batty when they have to deal... (3 Replies)
Discussion started by: deckard
3 Replies
3. UNIX for Advanced & Expert Users
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies
4. Shell Programming and Scripting
Hi,
My local server is :/usr/abcd/
Remote server is :/Usr/host/test/
I want to send files from local unix directory(All files starting with O_999) to
remote host unix directory.
Can any body give me the Unix Shell script to do this.
One more doubt: Shall we need to change the file... (1 Reply)
Discussion started by: raja_1234
1 Replies
5. Solaris
Hi everyone -Long story short, I'm a complete neophyte that is as green as the day is long (but I want to learn).Anyways, I have installed a fresh version of Solaris 10 08. I am currently using a wireless mouse/keyboard combo (feeding through on USB cable obviously). In my installation, Solaris... (1 Reply)
Discussion started by: Hurin
1 Replies
6. Shell Programming and Scripting
I need to write two shell scripts for an rsync backup solution. The first script will copy all backed up files into a folder named after the original folder, plus a date stamp (so e.g. if the original folder name is 'foo' and is backed up on the 10th of September, then the backup folder will be... (0 Replies)
Discussion started by: LambdaCalculus
0 Replies
7. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
8. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
9. Shell Programming and Scripting
Dear All,
Can someone help to command or program to transfer the file from windows to Unix server and from one unix server to another Unix server in secure way.
I would request no samba client. (4 Replies)
Discussion started by: yadavricky
4 Replies
LEARN ABOUT LINUX
xmerl_xs
xmerl_xs(3erl) Erlang Module Definition xmerl_xs(3erl)
NAME
xmerl_xs -
Erlang has similarities to XSLT since both languages
have a functional programming approach.
DESCRIPTION
Erlang has similarities to XSLT since both languages have a functional programming approach. Using xmerl_xpath it is possible to write XSLT
like transforms in Erlang.
XSLT stylesheets are often used when transforming XML documents, to other XML documents or (X)HTML for presentation. XSLT contains quite
many functions and learning them all may take some effort. This document assumes a basic level of understanding of XSLT.
Since XSLT is based on a functional programming approach with pattern matching and recursion it is possible to write similar style sheets
in Erlang. At least for basic transforms. This document describes how to use the XPath implementation together with Erlangs pattern match-
ing and a couple of functions to write XSLT like transforms.
This approach is probably easier for an Erlanger but if you need to use real XSLT stylesheets in order to "comply to the standard" there is
an adapter available to the Sablotron XSLT package which is written i C++. See also the Tutorial .
EXPORTS
built_in_rules(Fun, E) -> List
The default fallback behaviour. Template funs should end with:
template(E) -> built_in_rules(fun template/1, E) .
select(String::string(), E) -> E
Extracts the nodes from the xml tree according to XPath.
See also: value_of/1 .
value_of(E) -> List
Types E = unknown()
Concatenates all text nodes within the tree.
Example:
<xsl:template match="title">
<div align="center">
<h1><xsl:value-of select="." /></h1>
</div>
</xsl:template>
becomes:
template(E = #xmlElement{name='title'}) ->
["<div align="center"><h1>",
value_of(select(".", E)), "</h1></div>"]
xslapply(Fun::Function, EList::list()) -> List
Types Function = () -> list()
xslapply is a wrapper to make things look similar to xsl:apply-templates.
Example, original XSLT:
<xsl:template match="doc/title">
<h1>
<xsl:apply-templates/>
</h1>
</xsl:template>
becomes in Erlang:
template(E = #xmlElement{ parents=[{'doc',_}|_], name='title'}) ->
["<h1>",
xslapply(fun template/1, E),
"</h1>"];
AUTHORS
<>
xmerl 1.2.8 xmerl_xs(3erl)