10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2. Shell Programming and Scripting
I have a direcory as mentioned below:
unser the above i have directories
I need to write a script which can delete the nth version of the directories.
as in if n=10 then the script should arrange the directories in... (2 Replies)
Discussion started by: Arun Mishra
I am trying to downgrade the version of rsyslog to the older version (i.e) and when i issue the below command to check the packages i dont see the required package (i.e)
and when i try to install it is complaining about package not found.
Please advise on how to install the... (1 Reply)
Discussion started by: prash358
4. Shell Programming and Scripting
I want to know what version of the java is installed?
Please let me know the command or process to identify the installed java version in sun solaris box.
Thanks in advance for all your support. (3 Replies)
Discussion started by: sridhardwh
5. Shell Programming and Scripting
When I am trying to use below code of for loop on older version of ksh
it not working,and I just want to use only FOR loop
for i in (1..5)
please suggest.it really stoping me.
FYI: i want to do this only by for loop (2 Replies)
Discussion started by: RahulJoshi
6. Shell Programming and Scripting
This should be a simple script, but can't find one with google search.
I just need to find the file that is in many directories, then overwrite that file with a newer version i.e.
find file.jar then overwrite with /root/file.jar
All I get in searches is substitute text with new test inside... (1 Reply)
Discussion started by: haircat
7. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
manny (2 Replies)
Discussion started by: mr_manny
8. UNIX for Dummies Questions & Answers
.profile has been replaced with a new one. I need to know the variables used in the older version of .profile. I have a session opened using the old .profile.
Is there a way that I can get the exact file.
I had some luck by using set command. But is there any way that I can get the... (5 Replies)
Discussion started by: shash
9. Shell Programming and Scripting
With the command perl -v i can see the perl version, but it's like a text file..
is there a command which could give me just the perl version number?
thanks!! (6 Replies)
Discussion started by: kfad
10. UNIX for Advanced & Expert Users
I wanted to know how can I get the version of underlying HP-OS installed on a HPUX workstation. The output required is "June 2001" version or "March 2003" version etc whatever OS is present.
Thanx in advance for your help.
Pankaj (3 Replies)
Discussion started by: pankschawla
xmlparsing(3) Coin xmlparsing(3)
xmlparsing - XML Parsing with Coin For Coin 3.0, we added an XML parser to Coin. This document describes how it can be used for generic
Why another XML parser, you might ask? First of all, the XML parser is actually a third-party parser, expat. Coin needed one, and many
Coin-dependent projects needed one as well. We therefore needed to expose an API for it. However, integrating a 3rd-party parser into Coin,
we can not expose its API directly, or other projects also using Expat would get conflicts. We therefore needed to expose the XML API with
a unique API, hence the API you see here. It is based on a XML DOM API we use(d) in a couple of other projects, but it has been tweaked to
fit into Coin and to be wrapped over Expat (the original implementation just used flex).
The XML parser is both a streaming parser and a DOM parser. Being a streaming parser means that documents can be read in without having to
be fully contained in memory. When used as a DOM parser, the whole document is fully parsed in first, and then inspected by client code by
traversing the DOM. The two modes can actually be mixed arbitrarily if ending up with a partial DOM sounds useful.
The XML parser has both a C API and a C++ API. The C++ API is just a wrapper around the C API, and only serves as convenience if you prefer
to read/write C++ code (which is tighter) over more verbose C code.
The C API naming convention may look a bit strange, unless you have written libraries to be wrapped for scheme/lisp-like languages before.
Then you might be familiar with the convention of suffixing your functions based on their behaviour/usage meaning. Mutating functions are
suffixed with '!', or '_x' for (eXclamation point), and predicates are suffixed with '?', or '_p' in C.
The simplest way to use the XML parser is to just call cc_xml_read_file(filename) and then traverse the DOM model through using
cc_xml_doc_get_root(), cc_xml_elt_get_child(), and cc_xml_elt_get_attr().
XML related functions and objects, cc_xml_doc, cc_xml_elt, cc_xml_attr
Version 3.1.3 Wed May 23 2012 xmlparsing(3)