Linux SoftwareProgrammingLibrariesMKDoc::XML::Stripper 0.75

MKDoc::XML::Stripper 0.75


MKDoc::XML::Stripper is a Perl module to remove unwanted XML / XHTML tags and attributes. SYNOPSIS use MKDoc::XML::Stripper;
Developer:   Jean-Michel Hiver
      more software by author →
Price:  0.00
License:   Perl Artistic License
File size:   40K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


MKDoc::XML::Stripper is a Perl module to remove unwanted XML / XHTML tags and attributes.

SYNOPSIS

use MKDoc::XML::Stripper;

my $stripper = new MKDoc::XML::Stripper;
$stripper->allow (qw /p class id/);

my $ugly = '< p class="para" style="color:red" >Hello, < strong >World< /strong >!< /p >';
my $neat = $stripper->process_data ($ugly);
print $neat;
Should print:
< p class="para" >Hello, World!< /p >

MKDoc::XML::Stripper is a class which lets you specify a set of tags and attributes which you want to allow, and then cheekily strip any XML of unwanted tags and attributes.

In MKDoc, this is used so that editors use structural XHTML rather than presentational tags, i.e. strip anything which looks like a tag, a 'style' attribute or other tags which would break separation of structure from content.

Requirements:
  • Perl
    tags mkdoc xml  xml stripper  and attributes  tags and  class para  

    Download MKDoc::XML::Stripper 0.75


     http://ftp.hostingromania.ro/Linux/mirrors/ftp.cpan.org/authors/id/B/BP/BPOSTLE/MKDoc-XML-0.75.tar.gz


    Authors software

    Similar software

    MKDoc::XML::Stripper 0.75 (by Jean-Michel Hiver)
    MKDoc::XML::Stripper is a Perl module to remove unwanted XML / XHTML tags and attributes.

    SYNOPSIS

    use MKDoc::XML::Stripper;

    MKDoc::Text::Structured::Inline 0.83 (by MKDoc::Text::Structured::Inline Team)

    std_utils 0.7.5 (by Omnicron)
    std_utils is a small library of utility functions and classes.

    std_utils library supports string operations such as a stripper of le

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    XML::Writer::Simple 0.01 (by Alberto Simoes)
    XML::Writer::Simple is a Perl module to create XML files easily!

    SYNOPSIS

    use XML::Writer::Simple dtd => "file.dtd";

    MathML::Entities 0.13 (by Jacques Distler)
    MathML::Entities is a Perl module that can convert XHTML+MathML Named Entities to Numeric Character References.

    SYNOPSIS

    use M

    Class::Tangram 1.57 (by Sam Vilain)
    Class::Tangram is a Perl module for tangram-friendly classes, DWIM attributes.

    SYNOPSIS

    package MyObject;

    use base qw(Clas

    Class::ObjectTemplate 0.7 (by Jason E. Stewart)

    KHTMLScrub 0.3.1 (by LeonScape)
    The point of KHTMLScrub is to remove unwanted tags and attributes from html files

    Class::Meta 0.53 (by David Wheeler)
    Class::Meta is a Perl class automation, introspection, and data validation.

    SYNOPSIS

    Generate a class:
    package MyApp::Thingy


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags