EnglishFrenchSpanish

OnWorks favicon

xml2ag - Online in the Cloud

Run xml2ag in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xml2ag that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xml2ag - XML to AutoGen Definiton Converter

SYNOPSIS


xml2ag [-flags] [-flag [value]] [--option-name[[=| ]value]] [ <def-file> ]

This program will convert any arbitrary XML file into equivalent AutoGen definitions, and
invoke AutoGen.

DESCRIPTION


The template will be derived from either:
* the --override-tpl command line option
* a top level XML attribute named, "template"
One or the other must be provided, or the program will exit with a failure message.

The “base-name” for the output will similarly be either:
* the --base-name command line option
* the base name of the .xml file

OPTIONS


All other options are derived from autogen
-O file, --output=file
Output file in lieu of AutoGen processing.

By default, the output is handed to an AutoGen for processing. However, you may
save the definitions to a file instead.

All other options
These options are mostly just passed throug to autogen. The one exception is --override-
tpl which replaces the default template in the output definitions. It does not get passed
through on the command line.

-L dir, --templ-dirs=dir
Search for templates in DIR. This option may appear an unlimited number of times.

Pass-through AutoGen argument

-T tpl-file, --override-tpl=tpl-file
Use TPL-FILE for the template.

Pass-through AutoGen argument

-l tpl-file, --lib-template=tpl-file
Load AutoGen macros from TPL-FILE. This option may appear an unlimited number of
times.

Pass-through AutoGen argument

NOTE: THIS OPTION IS DEPRECATED

--definitions=file
Read definitions from FILE.

Pass-through AutoGen argument

--shell=shell
name or path name of shell to use.

Pass-through AutoGen argument

-m, --no-fmemopen
Do not use in-mem streams.

Pass-through AutoGen argument

--equate=char-list
characters considered equivalent.

Pass-through AutoGen argument

-b name, --base-name=name
Specify NAME as the base name for output.

Pass-through AutoGen argument

--source-time
set mod times to latest source.

Pass-through AutoGen argument

--writable, - Fl -not-writable
Allow output files to be writable. The not-writable form will disable the option.

Pass-through AutoGen argument

--loop-limit=lim
Limit on increment loops. This option takes an integer number as its argument.
The value of lim is constrained to being:
exactly -1, or
in the range 1 through 0x1000000
The default lim for this option is:
256

Pass-through AutoGen argument

-t seconds, --timeout=seconds
Limit server shell operations to SECONDS. This option takes an integer number as
its argument. The value of seconds is constrained to being:
in the range 0 through 3600

Pass-through AutoGen argument

--trace=level
tracing level of detail. This option takes a keyword as its argument. The
argument sets an enumeration value that can be tested by comparing them against the
option value macro. The available keywords are:
nothing debug-message server-shell
templates block-macros expressions
everything
or their numeric equivalent.

The default level for this option is:
nothing

Pass-through AutoGen argument

--trace-out=file
tracing output file or filter.

Pass-through AutoGen argument

--show-defs
Show the definition tree.

Pass-through AutoGen argument

--used-defines
Show the definitions used.

Pass-through AutoGen argument

-C, --core
Leave a core dump on a failure exit.

Many systems default to a zero sized core limit. If the system has the
sys/resource.h header and if this option is supplied, then in the failure exit
path, autogen will attempt to set the soft core limit to whatever the hard core
limit is. If that does not work, then an administrator must raise the hard core
size limit.

-s suffix, --skip-suffix=suffix
Skip the file with this SUFFIX. This option may appear an unlimited number of
times. This option must not appear in combination with any of the following
options: select-suffix.

Pass-through AutoGen argument

-o suffix, --select-suffix=suffix
specify this output suffix. This option may appear an unlimited number of times.

Pass-through AutoGen argument

-D value, --define=value
name to add to definition list. This option may appear an unlimited number of
times.

Pass-through AutoGen argument

-U name-pat, --undefine=name-pat
definition list removal pattern. This option may appear an unlimited number of
times.

Pass-through AutoGen argument

-M type, --make-dep [type]
emit make dependency file. This option may appear an unlimited number of times.

Pass-through AutoGen argument

-?, --help
Display usage information and exit.

-!, --more-help
Pass the extended usage information through a pager.

-v [{v|c|n --version [{v|c|n}]}]
Output version of program and exit. The default mode is `v', a simple version.
The `c' mode will print copyright information and `n' will print the full copyright
notice.

EXIT STATUS


One of the following exit values will be returned:

0 (EXIT_SUCCESS)
Successful program execution.

1 (EXIT_FAILURE)
The operation failed or the command syntax was not valid.

70 (EX_SOFTWARE)
libopts had an internal operational error. Please report it to autogen-
[email protected]. Thank you.

AUTHORS


Bruce Korb

COPYRIGHT


Copyright (C) 1992-2015 Bruce Korb all rights reserved. This program is released under
the terms of the GNU General Public License, version 3 or later.

Use xml2ag online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad