Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zktreeutil(1) [debian man page]

ZKTREEUTIL(1)							   User Commands						     ZKTREEUTIL(1)

NAME
zktreeutil - manual page for zktreeutil 0.0 SYNOPSIS
zktreeutil [args-and-values]+ DESCRIPTION
ZK-tree utility for managing ZK-tree with XML import/export, viewing diff between live and saved ZK-tree and performing incremental update of the same. --import or -I: Imports the zookeeper tree from XML file. Must be specified with --zookeeper AND --xmlfile options. Optionally takes --path for importing subtree --export or -E: Exports the zookeeper tree to XML file. Must be specified with --zookeeper option. Optionally takes --path for exporting subtree --update or -U: Updates zookeeper tree with changes from XML file. Update operation is interactive unless specified with --force option. Must be specified with --zookeeper AND --xmlfile options. Optionally takes --path for updating subtree. --diff or -F: Creates a list of diff actions on ZK tree based on XML data. Must be specified with --zookeeper OR --xmlfile options. Optionally takes --path for subtree diff --dump or -D: Dumps the entire ZK (sub)tree to standard output. Must be specified with --zookeeper OR --xmlfile options. Optionally takes --path and --depth for dumping subtree. --xmlfile=<filename> or -x <filename>: Zookeeper tree-data XML file. --path=<znodepath> or -p <znodepath>: Path to the zookeeper subtree rootnode. --depth=<tree-depth> or -d <tree-depth>: Depth of the ZK tree to be dumped (ignored for XML dump). --force or -f: Forces cleanup before import; also used for forceful update. Optionally be specified with --import and --update. --help or -h: prints this message --zookeeper=<zkhosts> or -z <zkhosts>: specifies information to connect to zookeeper. zktreeutil 0.0 July 2012 ZKTREEUTIL(1)

Check Out this Related Man Page

XML::Normalize::LibXML(3pm)				User Contributed Perl Documentation			       XML::Normalize::LibXML(3pm)

NAME
XML::Normalize::LibXML - simple whitespace striping functions SYNOPSIS
use XML::Normalize::LibXML qw(trim xml_normalize xml_strip_whitespace); $greeting=trim(" hallo world "); # returns "hallo world" xml_normalize($dom->getDocumentElement()); xml_strip_whitespace($dom->getDocumentElement()); DESCRIPTION
This module provides simple whitespace striping and text-node normalizing functions. "trim($string)" Returns the string with any whitespace occuring at its beginning or end removed. "xml_normalize($dom)" Puts all Text nodes in the full depth of the sub-tree underneath this Element into a normal form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are no adjacent Text nodes. This can be used to ensure that the DOM view of a document is the same as if it were saved and re-loaded, and is useful when operations (such as XPointer lookups) that depend on a particular document tree structure are to be used. "xml_strip_whitespace($dom [,$include_attributes])" Normalizes the subtree and trims whitespace from all Text nodes within the subtree. If the optional argument $include_attributes is defined and non-zero, this function trims whitespace also from all Attribute nodes. "xml_strip_element($node)" Removes leading and trailing whitespace from a given element. AUTHOR
Petr Pajas, pajas@matfyz.cz COPYRIGHT
Copyright 2002-2003 Petr Pajas, All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
XML::LibXML perl v5.10.1 2003-12-03 XML::Normalize::LibXML(3pm)
Man Page