Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.195.761 Times

XML::NamespaceSupport 1.09

  Date Added: February 05, 2010  |  Visits: 848

XML::NamespaceSupport

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 downloads)



XML::NamespaceSupport is Perl module a simple generic namespace support class. SYNOPSIS use XML::NamespaceSupport; my $nsup = XML::NamespaceSupport->new; # add a new empty context $nsup->push_context; # declare a few prefixes $nsup->declare_prefix($prefix1, $uri1); $nsup->declare_prefix($prefix2, $uri2); # the same shorter $nsup->declare_prefixes($prefix1 => $uri1, $prefix2 => $uri2); # get a single prefix for a URI (randomly) $prefix = $nsup->get_prefix($uri); # get all prefixes for a URI (probably better) @prefixes = $nsup->get_prefixes($uri); # get all prefixes in scope @prefixes = $nsup->get_prefixes(); # get all prefixes that were declared for the current scope @prefixes = $nsup->get_declared_prefixes; # get a URI for a given prefix $uri = $nsup->get_uri($prefix); # get info on a qname (java-ish way, its a bit weird) ($ns_uri, $local_name, $qname) = $nsup->process_name($qname, $is_attr); # the same, more perlish ($ns_uri, $prefix, $local_name) = $nsup->process_element_name($qname); ($ns_uri, $prefix, $local_name) = $nsup->process_attribute_name($qname); # remove the current context $nsup->pop_context; # reset the object for reuse in another document $nsup->reset; # a simple helper to process Clarkian Notation my ($ns, $lname) = $nsup->parse_jclark_notation({http://foo}bar); # or (given that it doesnt care about the object my ($ns, $lname) = XML::NamespaceSupport->parse_jclark_notation({http://foo}bar); This module offers a simple to process namespaced XML names (unames) from within any application that may need them. It also helps maintain a prefix to namespace URI map, and provides a number of basic checks. The model for this module is SAX2s NamespaceSupport class, readable at http://www.megginson.com/SAX/Java/javadoc/org/xml/sax/helpers/NamespaceSupport.html. It adds a few perlisations where we thought it appropriate..

Requirements: No special requirements
Platforms: Linux
Keyword: Libraries Module Name Namespacesupport Perl Module Prefix Prefixes Process Programming Simple Uri Xml Xmlnamespacesupport
Users rating: 0/10

License: Freeware Size: 8.19 KB
USER REVIEWS
More Reviews or Write Review


XML::NAMESPACESUPPORT RELATED
Libraries  -  Jar::Signer 0.1
Jar::Signer Perl module ease the process of creating a signed Jar file. SYNOPSIS # using FindBin is just a suggestion. use FindBin qw( $RealBin ); use Jar::Signer; my $signer = Jar::Signer->new; # location of the keystore, created if...
3.07 KB  
Modules  -  SMFforum Integration module 6.x-1.23
SMFforum Integration module provides integration with SMF: Simple Machines Forumhttp://www.simplemachines.org/.The following blocks are provided to integrate SMF with your Drupal site:1) SMFforum: Hidden authenticationAllows forum users to login...
20.48 KB  
Libraries  -  Text::MicroMason::Functions 1.992
Text::MicroMason::Functions Perl module contains Function Exporter for Simple Mason Templates. SYNOPSIS Use the execute function to parse and evalute a template: use Text::MicroMason::Functions qw( execute ); print execute($template,...
69.63 KB  
Libraries  -  Template::Plugin::Java 0.4
Template::Plugin::Java is a Perl module that can generate Java Classes from XML description files and templates. SYNOPSIS From an xml file such as: value2 10<...
18.43 KB  
Libraries  -  DBIx::DBStag 0.08
DBIx::DBStag is a Perl module for Relational Database to Hierarchical (Stag/XML) Mapping. SYNOPSIS use DBIx::DBStag; my $dbh = DBIx::DBStag->connect("dbi:Pg:dbname=moviedb"); my $sql = q[ SELECT studio.*, movie.*, star.* FROM studio...
133.12 KB  
Libraries  -  DBIx::DBStag::Cookbook 0.08
DBIx::DBStag::Cookbook is a Perl module for building and querying databases from XML. SYNOPSIS stag-autoddl.pl stag-storenode.pl selectall_xml.pl This will give an outline of how to build a normalised relational database from XML source...
133.12 KB  
Libraries  -  HTTP::Async 0.05
HTTP::Async is a Perl module that can process multiple HTTP requests in parallel without blocking. SYNOPSIS Create an object and add some requests to it: use HTTP::Async; my $async = HTTP::Async->new; # create some requests and add them to...
15.36 KB  
Libraries  -  XML::Records 0.12
XML::Records is a Perl module for perlish record-oriented interface to XML. SYNOPSIS use XML::Records; my $p=XML::Records->new(data.lst); $p->set_records(credit,debit); my ($t,$r) while ( (($t,$r)=$p->get_record()) && $t) { my...
7.17 KB  
Libraries  -  AnyData::Format::XML 0.10
AnyData::Format::XML is a Perl module for tiedhash and DBI access to XML. SYNOPSIS # access XML data via a multi-dimensional tied hash # see AnyData.pod for full details # use AnyData; my $table = adTie( XML, $file, $mode, $flags ); OR...
44.03 KB  
Libraries  -  PerlPoint::Tags 0.45
PerlPoint::Tags is a Perl module that can process PerlPoint tag declarations. SYNOPSIS # declare a tag declaration package package PerlPoint::Tags::New; # declare base "class" use base qw(PerlPoint::Tags); PerlPoint is built a...
419.84 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB