Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - Xtract

    Xtract

    WillieBy WillieMarch 9, 2026Updated:April 15, 2026No Comments2 Mins Read
     

    NAME

    Xtract, XtractLazy – structured ‘grep’-like programs for XML documents  

    SYNOPSIS

    Xtract <pattern> [ file … ]
    XtractLazy <pattern> [ file … ]  

    DESCRIPTION

    Xtract and XtractLazy are structured ‘grep’-like programs for XML documents, loosely based on the XPath and XQL query languages. Xtract takes an pattern and reads an XML file from a file or from the standard input and extracts information from the XML file and prints it on the standard output. XtractLazy does the same as Xtract but uses the lazy parser combinators instead of the normal parser combinators and a such works faster and uses less memory than Xtract.  

    COPYRIGHT

    The HaXml library and tools were written by and are copyright to
    Copyright © 1998 – 2006 Malcolm Wallace and Colin Runciman
    The library incorporates the module Text.ParserCombinators.HuttonMeijerWallace
    Copyright © 1996 Graham Hutton and Erik Meijer
    with modifications
    Copyright © 1998 – 2000 Malcolm Wallace
    and may also use or incorporate the module Text.PrettyPrint.HughesPJ
    Copyright © 1996 – 1997 John Hughes and Simon Peyton Jones

    The HaXml library is licensed under the terms of the GNU Lesser General Public Licence (LGPL), with the following special exception:

    As a relaxation of clause 6 of the LGPL, the copyright holders of this library give permission to use, copy, link, modify, and distribute, binary-only object-code versions of an executable linked with the Library, without requiring the supply of any mechanism to modify or replace the Library and relink (clauses 6a, 6b, 6c, 6d, 6e), provided that all the other terms of clause 6 are complied with.

    The HaXml tools Xtract, Validate, DtdToHaskell, and MkOneOf, are licensed under the terms of the GNU General Public Licence (GPL).

    This library and toolset is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Licences for more details.  

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    MCOOKIE

    April 21, 2026

    INIT-D-SCRIPT

    April 21, 2026

    FUSER

    April 21, 2026

    WORD-LIST-COMPRESS

    April 21, 2026
    Top Posts

    Why Arch Linux Is Best Advanced Users

    January 30, 2026

    Linux Desktop Market Share (Yearly Trends)

    December 12, 2025

    VIPW

    April 13, 2026

    XFCE4-MIXER

    April 2, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.