ROMA(1) General Commands Manual ROMA(1)NAME
roma - compile a TEI ODD specification into schemas and dtd
SYNOPSIS
roma [options] oddfile outputdir
DESCRIPTION
This manual page is not meant to be exhaustive. There is some more information in the help files for the web version of Roma, and plenty
of background data about ODDs in the TEI Guidelines.
roma is used to generate XML RelaxNG or W3C schemas and DTDs from the the ODD source in oddfile and (optionally) some documentation to go
with them.
OPTIONS
roma accepts the following options:
--xsl URL
location of TEI XSLT stylesheets, defaulting to /usr/share/xml/tei/stylesheet
--teiserver URL
location of TEI eXist database server, defaulting to http://tei.oucs.ox.ac.uk/Query/
--doc create expanded documented ODD
--nodtd
suppress DTD creation
--norelax
suppress RelaxNG creation
--noxsd
suppress W3C XML Schema creation
--debug
leave temporary files, etc.
BUGS
If the ODD specification is internally inconsistent (eg some element has been deleted on which another element depends), then you may get a
Relax NG schema which is apparently OK, but which cannot be translated into W3C schema. Because the conversions to DTD and Relax are main-
tained separately, some constructs may cause one to fail but not the other. No attempt is made to trap error messages from trang which is
used to make W3C schemas.
SEE ALSO trang(1)TEI .. 9th May 2005 ROMA(1)
Check Out this Related Man Page
XML::LibXML::RelaxNG(3) User Contributed Perl Documentation XML::LibXML::RelaxNG(3)NAME
XML::LibXML::RelaxNG - RelaxNG Schema Validation
SYNOPSIS
use XML::LibXML;
$doc = XML::LibXML->new->parse_file($url);
$rngschema = XML::LibXML::RelaxNG->new( location => $filename_or_url );
$rngschema = XML::LibXML::RelaxNG->new( string => $xmlschemastring );
$rngschema = XML::LibXML::RelaxNG->new( DOM => $doc );
eval { $rngschema->validate( $doc ); };
DESCRIPTION
The XML::LibXML::RelaxNG class is a tiny frontend to libxml2's RelaxNG implementation. Currently it supports only schema parsing and
document validation.
METHODS
new
$rngschema = XML::LibXML::RelaxNG->new( location => $filename_or_url );
$rngschema = XML::LibXML::RelaxNG->new( string => $xmlschemastring );
$rngschema = XML::LibXML::RelaxNG->new( DOM => $doc );
The constructor of XML::LibXML::RelaxNG may get called with either one of three parameters. The parameter tells the class from which
source it should generate a validation schema. It is important, that each schema only have a single source.
The location parameter allows to parse a schema from the filesystem or a URL.
The string parameter will parse the schema from the given XML string.
The DOM parameter allows to parse the schema from a pre-parsed XML::LibXML::Document.
Note that the constructor will die() if the schema does not meed the constraints of the RelaxNG specification.
validate
eval { $rngschema->validate( $doc ); };
This function allows to validate a (parsed) document against the given RelaxNG schema. The argument of this function should be a
XML::LibXML::Document object. If this function succeeds, it will return 0, otherwise it will die() and report the errors found.
Because of this validate() should be always evaluated.
AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas
VERSION
1.70
COPYRIGHT
2001-2007, AxKit.com Ltd.
2002-2006, Christian Glahn.
2006-2009, Petr Pajas.
perl v5.12.1 2009-10-07 XML::LibXML::RelaxNG(3)
I am in a bit of a pickle. I have been trying for several months to install TEI (XML application similar to Docbook) into my emacs. I am using carbon emacs (as I am using Mac Os X) and I wish to install all my TEI stuff in a custom location rather than the site-lisp location in the emacs.app... (0 Replies)
i want to print ODD lines like first ,third then fifth and so on
234,567,ABC,KJL
234,565,ABD,KJL
234,568,ABE,KJL
234,560,ABF,KJL
234,563,ABG,KJL
234,562,ABH,KJL
O/P will be like
234,567,ABC,KJL ----->first liine
234,568,ABE,KJL ----->third line
234,563,ABG,KJL ----->fifth line... (6 Replies)
In my Oracle db there are 4 schemas. All the username & passwords are stored in a text file. I am using a while loop to export all the schemas. It read the first line and doing the export. For all users it export one by one.
But I need all the schemas will exported simultaneously. i.e. all the... (1 Reply)