08-21-2001
Re here doc
Nice one thanks for the info.
Just one little extra question.
If I'm using FTP, and I want to sign in as another user other than myself with a password, does it work the same, or do I have to do something else.. Or is that when the .netrc file comes in so I don't need a password..
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi. I wanted to increase my knowledge base with unix. can you help me find a like that talks about luns, physical volumes, volume groups, logical volumes then mountpoints? i would appreciate it
thanks
Jigar (1 Reply)
Discussion started by: jigarlakhani
1 Replies
2. AIX
Hi,
I having trouble while installing domino.doc 3.5 on aix 4.3. The error details are as follows. Pls let me where i am doing wrong. Domino server6.0.2 is already installed.
# cd /ddoc/dd31aix/install
# ./install
Can't load '/usr/opt/perl5/lib/5.00503/aix/DDInst.so' for module DDInst:... (0 Replies)
Discussion started by: vinod2all
0 Replies
3. UNIX for Dummies Questions & Answers
hi i ama dunmmies in Unix.
I created a .doc file and copied it to unix via FTP as a ,doc file itself
i want to delete that file , i tried with rm command it does not work
file name is DDL's.doc
plz help :confused: (2 Replies)
Discussion started by: agarwalniru
2 Replies
4. Shell Programming and Scripting
Hello,
I need to know how to edit or set different fields in a MS-Word doc using perl. or altleast generate one.
Thanks,:b: (1 Reply)
Discussion started by: rimser9
1 Replies
5. Shell Programming and Scripting
I need help running a script. I have the script looking into a folder and converting .doc files to .odt. The script works fine except that I want it to only run when .doc files are present. If I can do this then I can put .xls files and .ppt files in the folder and convert them when they are... (2 Replies)
Discussion started by: handband2
2 Replies
6. UNIX for Advanced & Expert Users
Hi Everyone
How you doing all.Im planning to write a script that will crawl a MS-Document
and should take the values from it.Is it possible at all.Im not a scripting guru just want to know your thoughts..
Im planning to do some thing like this:
Microsoft Document has:
Servername:... (1 Reply)
Discussion started by: coolkid
1 Replies
7. UNIX for Dummies Questions & Answers
im tring to make backup to the files end with "doc" extension but the code give me error ... what is the problem!!!!
#! /bin/sh
if
then
for name in `ls *.DOC`
do
kk= $(printf "%s_temp" $name)
cp $name $kk
done
else
echo "error" (9 Replies)
Discussion started by: maga6610
9 Replies
8. UNIX and Linux Applications
I am trying to find a way to convert a Word doc saved in the XML format to a PDF file (that looks like the original Word doc). Yes, there are all kinds of ways to do this interactively. What I need is something that can be run as a background process so that when XML files are placed in a... (0 Replies)
Discussion started by: garzon
0 Replies
9. UNIX for Dummies Questions & Answers
This is a very simple question.
So I have:
# cat << 'EOF' > /usr/share/servers/test man EOF
From the command line I want to put "man" into a /usr/share/servers/test. I have file "test" in directory /usr/share/servers/.
However when I run that it come back with # cat << 'EOF' >... (2 Replies)
Discussion started by: scj2012
2 Replies
LEARN ABOUT LINUX
xmerl_xpath
xmerl_xpath(3erl) Erlang Module Definition xmerl_xpath(3erl)
NAME
xmerl_xpath - The xmerl_xpath module handles the entire XPath 1.0 spec
XPath expressions typically occurs in XML attributes and are used to addres
parts of an XML document.
DESCRIPTION
The xmerl_xpath module handles the entire XPath 1.0 spec XPath expressions typically occurs in XML attributes and are used to addres parts
of an XML document. The grammar is defined in xmerl_xpath_parse.yrl . The core functions are defined in xmerl_xpath_pred.erl .
Some useful shell commands for debugging the XPath parser
c(xmerl_xpath_scan).
yecc:yecc("xmerl_xpath_parse.yrl", "xmerl_xpath_parse", true, []).
c(xmerl_xpath_parse).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("position() > -1")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("5 * 6 div 2")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("5 + 6 mod 2")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("5 * 6")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("-----6")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("parent::node()")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("descendant-or-self::node()")).
xmerl_xpath_parse:parse(xmerl_xpath_scan:tokens("parent::processing-instruction('foo')")).
DATA TYPES
docEntity() = xmlElement() | xmlAttribute() | xmlText() | xmlPI() | xmlComment() :
nodeEntity() = xmlElement() | xmlAttribute() | xmlText() | xmlPI() | xmlNamespace() | xmlDocument() :
option_list() :
Options allows to customize the behaviour of the XPath scanner.
Possible options are:
{namespace, #xmlNamespace} :
Set namespace nodes, from XmlNamspace, in xmlContext
{namespace, Nodes} :
Set namespace nodes in xmlContext.
EXPORTS
string(Str, Doc) -> [docEntity()] | Scalar
Equivalent to string(Str, Doc, []) .
string(Str, Doc, Options) -> [docEntity()] | Scalar
Equivalent to string(Str, Doc, [], Doc, Options) .
string(Str, Node, Parents, Doc, Options) -> [docEntity()] | Scalar
Types Str = xPathString()
Node = nodeEntity()
Parents = parentList()
Doc = nodeEntity()
Options = option_list()
Scalar = xmlObj
Extracts the nodes from the parsed XML tree according to XPath. xmlObj is a record with fields type and value, where type is boolean
| number | string
AUTHORS
<>
xmerl 1.2.8 xmerl_xpath(3erl)