libxml(3) Library Functions Manual libxml(3)NAME
libxml - library used to parse XML files
DESCRIPTION
The libxml library is used to parse XML files. Its internal document repesentation is as close as possible to the DOM (Document Object
Model) interface, an API for accessing XML or HTML structured documents.
The libxml library also has a SAX-like interface, which is designed to be compatible with expat(1). NOTE: SAX, the Simple API for XML, is
a standard interface for event-based XML parsing, developed collaboratively by the members of the XML-DEV mailing list, currently hosted by
OASIS. The expat library is a XML 1.0 parser written in C, which aims to be fully conforming. It is currently not a validating XML pro-
cessor.
The libxml library now includes a nearly complete XPath implementation. The XPath (XML Path Language) is a language for addressing parts
of an XML document, designed to be used by both XSLT and XPointer.
The libxml library exports Push and Pull type parser interfaces for both XML and html.
FILES
/depot/lib/libxml_2.0.0/libxml.a
static library
/depot/lib/libxml_2.0.0/libxml.so
shared library
/depot/package/libxml_2.0.0/bin/xmllint
binary application for parsing XML files
AUTHORS
Daniel Veillard (daniel@veillard.com). Red Hat Inc. Manual page by Ziying Sherwin (sherwin@nlm.nih.gov), Lister Hill National Center for
Biomedical Communications, U.S. National Library of Medicine.
SEE ALSO xmllint(1), libxslt(3), libexslt(3), xsltproc(1)
12 April 2000 libxml(3)
Check Out this Related Man Page
libxml(3) Library Functions Manual libxml(3)NAME
libxml - library used to parse XML files
DESCRIPTION
The libxml library is used to parse XML files. Its internal document repesentation is as close as possible to the DOM (Document Object
Model) interface, an API for accessing XML or HTML structured documents.
The libxml library also has a SAX-like interface, which is designed to be compatible with expat(1). NOTE: SAX, the Simple API for XML, is
a standard interface for event-based XML parsing, developed collaboratively by the members of the XML-DEV mailing list, currently hosted by
OASIS. The expat library is a XML 1.0 parser written in C, which aims to be fully conforming. It is currently not a validating XML pro-
cessor.
The libxml library now includes a nearly complete XPath implementation. The XPath (XML Path Language) is a language for addressing parts
of an XML document, designed to be used by both XSLT and XPointer.
The libxml library exports Push and Pull type parser interfaces for both XML and html.
FILES
/depot/lib/libxml_2.0.0/libxml.a
static library
/depot/lib/libxml_2.0.0/libxml.so
shareable library
/depot/package/libxml_2.0.0/bin/xmllint
binary application for parsing XML files
AUTHORS
Daniel Veillard (daniel@veillard.com). Red Hat Inc. Manual page by Ziying Sherwin (sherwin@nlm.nih.gov), Lister Hill National Center for
Biomedical Communications, U.S. National Library of Medicine.
SEE ALSO xmllint(1), libxslt(3), libexslt(3), xsltproc(1)
12 April 2000 libxml(3)
Hi all,
I am new to hp-ux.I installed depot file.But i don't know how to configure that depot file.If anybody knows the configuration of depot file please help me.
It's urgent, because i have to configure that depot file.
Thanks & Regards,
Balaraju. (2 Replies)
I've just started using libxml in c++, so far im able to parse a xml string. now i would like to replace <cms:CMSContent id="leftNav" /> with the string "left" and write the new xml out to cout; any ideas?
string.xml
<html xmlns:cms="http://www.test.com">
<body>
<cms:CMSContent id="leftNav"... (1 Reply)
Hi.
I am working on creating a depot that should be relocatable(I should be able to install it to a directory of my choice). The hp-ux help library talks about the variables SW_LOCATION and SW_ROOT_DIRECTORY to accomplish this.
I have set the is_relocatable parameter to true in my psf.
I... (1 Reply)
Hi
I need some help with XML file parsing. I have an XML file with the below tag,
I need a script to identify the value of srvcName which is this case is "AAA srvc name". I need to put contents of this value which is AAA srvc and name into different variables using an array and then reformat it... (6 Replies)
Hi,
I have one depot file. I would want to view the contents of this file with out extracting and with out installing in a machine. Like for
$rpm -qlp rpmfilename
will list out all the files in a rpm. Like I would want a command to view the files from a .depot file. I tried with swlist... (2 Replies)
Hi All,
Although I was able to find past XML parsing questions, as the questions were a little different than this, I had a pretty hard time adapting those answers to this scenario.
-> May I ask if anyone knows how to extract the IP addresses of the below "servers.xml" file into an array... (5 Replies)
Hi,
I am using xml::libxml.
Here is the code.
my $parser = XML::LibXML->new();
my $xmldoc = $parser->parse_file ("file.xml") || die("Could not parse config xml file\n");
my $root = $xmldoc->getDocumentElement()|| die("Could not get Document Element \n");
$id="121313131"; # For example... (2 Replies)
National Healthcare Will Require National RFID Chips
@Neo you're right, here i go with some personal comments about this :
In my opinion, i am quite happy that such a thing doesn't currently happen in my country ... but it doesn't mean i am confident in the futur.
What worry me is that those... (12 Replies)
Hi,
Using libxml++-2.6, is it possible to change the xsi:noNamespaceSchemaLocation in the root element node?
e.g.
from
<myxml xsi:noNamespaceSchemaLocation="ABC.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
:
:
</myxml>
to
<myxml... (1 Reply)
I am using libxml2 library for XMl parsing and libxml++ is C++ wrapper over that. So I am using API of libxml++. I am creating my class and composing instance xmlpp::Node *pNode in that. my class also have funciton prepareXPathQuery() which creates query string and have other fucntion... (2 Replies)
I am trying to parse the XML Google contact file using tools like xmllint and I even dived into the XSL Style Sheets using xsltproc but I get nowhere.
I can not supply any sample file as it contains private data but you can download your own contacts using this script:
#!/bin/sh
# imports... (9 Replies)
Hi All,
Need help to parse the xml file in shell script using xmllint. Below is the sample xml file.
<CARS>
<AUDI>
<Speed="45"/>
<speed="55"/>
<speed="75"/>
<speed="95"/>
</AUDI>
<BMW>
<Speed="30"/>
<speed="75"/>
<speed="120"/>
<speed="135"/>
</BMW>... (6 Replies)
Hi
I have an XML file which contains html urls in that node values. When i use xmllint to parse that, i am getting error (because of the sympols in the url). i have used --html option but it throws other tag errors.
Please guide me.
sample file.xml
<abc>
<bcd>
<cde>
<a>sometext</a>... (2 Replies)