11-23-2007
xmllint
hi can anyone provide how to use xmllint tool?
its very important.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
How can I take a file in XML format and convert it to a comma separated format? Is there any scripts or programs that can
do this for Unix? I tried surfing the net for such an application, but everything seems to be for Windows OS. Any help or suggestions are greatly appreciated.
... (2 Replies)
Discussion started by: oscarr
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I'm looking for XML parsers for UNIX!
Thanks in advance
Tim (1 Reply)
Discussion started by: timvant
1 Replies
3. UNIX for Dummies Questions & Answers
i wanted to add a child element child2 into a below xml .
<parent1>
<child1></child1>
</parent1>
like
<parent1>
<child1></child1>
<child2></child2>
</parent1>
What is the best way to do this using unix commands.
I donot want to create a temp file....
cat original |... (3 Replies)
Discussion started by: sehgalniraj
3 Replies
4. UNIX for Dummies Questions & Answers
Hello, newbie (non-techie) here.
I'm a business analyst for a software company in the Bay Area. A
project I just got assigned to involved researching for an enterprise
version of a XML translator that will run on UNIX. I'm looking for
something that won't be too costly to purchase as the... (4 Replies)
Discussion started by: Antsy
4 Replies
5. Shell Programming and Scripting
Does anyone know of a lightweight freeware utility that will do the following?:
1) Input an XML file and XLS file
2) Do a transform
3) Then output a pdf file
for Unix Platform.
Thanks
Andrea (3 Replies)
Discussion started by: andrea.giovanno
3 Replies
6. Programming
Does anyone can tell me what is the best way to post a xml request to a web service on C. I am using expat for parsing the response, but until now i build my xml request with a bunch of strcat functions, then connect to the port and send it that way. I am wondering if there are libraries or a... (3 Replies)
Discussion started by: loquito
3 Replies
7. Shell Programming and Scripting
Hello Everyone!!!
I have a list of XML files, in different directories, the structure for which is:
<Data>
<Info>
<a> some text </a>
<b> some text </b>
<c> 3000 </c>
</Info>
<Info>
... (2 Replies)
Discussion started by: ad23
2 Replies
8. Shell Programming and Scripting
I need help
I have a unix command :
VERSION=$(ls -d /vsn/v12.??.??.?? | sort | tail -1)
when i do echo $VERSION, i get the exact value, i want.
Now i want to use this variable and pass it to an xml. How can i do that? (1 Reply)
Discussion started by: samk
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
I am new in shell scripting. i want to extract tag values in xml files by using shell script. my files like this:
<cw: properties>
<cw:std_properties>
<tns: properties>
<tns:name>AdminOutQueue</tns:name>
<tns:type>String</tns:type>
<tns:subtype>QueueName</tns:subtype>
<tns:value... (25 Replies)
Discussion started by: arindam guha
25 Replies
10. Shell Programming and Scripting
i have a unix script which generates the csv file. the data in csv file is dynamic. how can i convert/move the data from csv file to xml. please suggest (1 Reply)
Discussion started by: archana25
1 Replies
LEARN ABOUT DEBIAN
xmlparsing
xmlparsing(3) Coin xmlparsing(3)
NAME
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
purposes.
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().
See also:
XML related functions and objects, cc_xml_doc, cc_xml_elt, cc_xml_attr
Version 3.1.3 Wed May 23 2012 xmlparsing(3)