GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RevML::Doctype(3) User Contributed Perl Documentation RevML::Doctype(3)

RevML::Doctype - A subclass of XML::Doctype

   use RevML::Doctype ;

   ## To use the highest RevML::Doctype module (e.g. RevML::Doctype::v0_22)
   $rmldt = RevML::Doctype->new ;

   ## To parse a .dtd file:
   $rmldt = RevML::Doctype->new( 'revml.dtd' );
   $rmldt = RevML::Doctype->new( DTD_FILE => 'revml.dtd' );

   ## To load a preparsed .pm file
   $rmldt = RevML::Doctype->new( 1.1 ) ;
   $rmldt = RevML::Doctype->new( VERSION => 1.1 ) ;

new
Creates an instance.
save_as_pm
   $doctype->save_as_pm ;
   $doctype->save_as_pm( $out_spec ) ;
    

Outspec is a module name. 'RevML::Doctype::vNNN' is assumed if no outspec is provided. Use '-' to emit to STDOUT.

Saves the Doctype object in a perl module. Tries to save in lib/RevML/Doctype/ if that directory exists, then in ./ if not.

import
use
   ## To extablish a default RevML::Doctype for the current package:
   use RevML::Doctype 'DEFAULT' ;
   use RevML::Doctype DTD_FILE => 'revml.dtd' ;
    

This class uses the fields pragma, so you'll need to use base and possibly fields in any subclasses.

Copyright 2000, Perforce Software, Inc. All Rights Reserved.

This module and the VCP package are licensed according to the terms given in the file LICENSE accompanying this distribution, a copy of which is included in vcp.

Barrie Slaymaker <barries@slaysys.com>

Hey! The above document had some coding errors, which are explained below:
Around line 200:
You forgot a '=back' before '=head1'
2004-11-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.