XML::TiePYX 0.05
Sponsored Links
XML::TiePYX 0.05 Ranking & Summary
File size:
0.007 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1137
Date added:
2006-09-12
Publisher:
Eric Bohlman
XML::TiePYX 0.05 description
XML::TiePYX is a Perl module to read or write XML data in PYX format via tied filehandle
SYNOPSIS
use XML::TiePYX;
tie *XML,XML::TiePYX,file.xml
open IN,file.xml or die $!;
tie *XML,XML::TiePYX,*IN,Condense=>0;
my $text=< tag xmlns="http://www.omsdev.com" >text< /tag >;
tie *XML,XML::TiePYX,$text,Namespaces=>1;
tie *XML,XML::TiePYX,*STDOUT;
print XML "(startn","-Hello, world!n",")startn";
XML::TiePYX lets you use a tied filehandle to read from or write to an XML file or string. PYX is a line-oriented, parsed representation of XML developed by Sean McGrath (http://www.pyxie.org). Each line corresponds to one "event" in the XML, with the first character indicating the type of event:
(
The start of an element; the rest of the line is its name.
A
An attribute; the rest of the line is the attributes name, a space, and its value.
)
The end of an element; the rest of the line is its name.
-
Literal text (characters). The rest of the line is the text.
?
A processing instruction. The rest of the line is the instructions target, a space, and the instructions value.
Newlines in attribute values, text, and processing instruction values are represented as the literal sequence n (that is, a backslash followed by an n). By default, consecutive runs of characters are always gathered into a single text event when reading, but this behavior can be disabled. Comments are *not* available through PYX.
Just as SAX is an API well suited to "push"-mode XML parsing, PYX is well- suited to "pull"-mode parsing where you want to capture the state of the parse through your programs flow of code rather than through a bunch of state variables. This module uses incremental parsing to avoid the need to buffer up large numbers of events.
This module implements an (unofficial) extension to the PYX format to allow namespace processing. If namespaces are enabled, an element or attribute name will be prefixed by its namespace URI (*NOT* any namespace prefix used in the document) enclosed in curly braces. A name with no namespace will be prefixed with {}. At the present time, this module does not implement namespace processing in output mode; attempting to write (, ), or A lines that contain a namespace URI in curly braces will merely result in generating ill-formed element or attribute names.
SYNOPSIS
use XML::TiePYX;
tie *XML,XML::TiePYX,file.xml
open IN,file.xml or die $!;
tie *XML,XML::TiePYX,*IN,Condense=>0;
my $text=< tag xmlns="http://www.omsdev.com" >text< /tag >;
tie *XML,XML::TiePYX,$text,Namespaces=>1;
tie *XML,XML::TiePYX,*STDOUT;
print XML "(startn","-Hello, world!n",")startn";
XML::TiePYX lets you use a tied filehandle to read from or write to an XML file or string. PYX is a line-oriented, parsed representation of XML developed by Sean McGrath (http://www.pyxie.org). Each line corresponds to one "event" in the XML, with the first character indicating the type of event:
(
The start of an element; the rest of the line is its name.
A
An attribute; the rest of the line is the attributes name, a space, and its value.
)
The end of an element; the rest of the line is its name.
-
Literal text (characters). The rest of the line is the text.
?
A processing instruction. The rest of the line is the instructions target, a space, and the instructions value.
Newlines in attribute values, text, and processing instruction values are represented as the literal sequence n (that is, a backslash followed by an n). By default, consecutive runs of characters are always gathered into a single text event when reading, but this behavior can be disabled. Comments are *not* available through PYX.
Just as SAX is an API well suited to "push"-mode XML parsing, PYX is well- suited to "pull"-mode parsing where you want to capture the state of the parse through your programs flow of code rather than through a bunch of state variables. This module uses incremental parsing to avoid the need to buffer up large numbers of events.
This module implements an (unofficial) extension to the PYX format to allow namespace processing. If namespaces are enabled, an element or attribute name will be prefixed by its namespace URI (*NOT* any namespace prefix used in the document) enclosed in curly braces. A name with no namespace will be prefixed with {}. At the present time, this module does not implement namespace processing in output mode; attempting to write (, ), or A lines that contain a namespace URI in curly braces will merely result in generating ill-formed element or attribute names.
XML::TiePYX 0.05 Screenshot
XML::TiePYX 0.05 Keywords
XML
TiePYX
PYX
TiePYX 0.05
to read
XML data
write xml
data in
Perl module
module
namespace
line
text
write
tied
XML::TiePYX
Bookmark XML::TiePYX 0.05
XML::TiePYX 0.05 Copyright
WareSeeker periodically updates pricing and software information of XML::TiePYX 0.05 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of XML::TiePYX 0.05 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
XML::Output is a Perl module for writing simple XML documents. Free Download
XML::Literal is a Perl module with syntax support for XML literals. Free Download
XML::Quick is a Perl module to generate XML from hashes (and other data). Free Download
XML::Namespace is a Perl module with simple support for XML Namespaces. Free Download
Stego is a simple encryption and decryption program that hides data inside BMP files. Free Download
XML::DOM::Lite::XSLT is Perl module XSLT engine for XML::DOM::Lite. Free Download
XML::DOM::Lite::XPath is a Perl module for XPath support for XML::DOM::Lite. Free Download
XML::XPath::Simple is a very simple interface for XPaths. Free Download
Latest Software
Popular Software
Favourite Software