Search Perform an advanced search query SOFTPEDIA
 
SOFTPEDIA
Updated one minute ago
HomeSubmit a program for being reviewedAdvertise on our websiteGet help on surfing our websitesSend us your feedbackGet information about our XML/RSS backend and how to use itBrowse the news archiveVisit our discussion forumVizitati forumul in limba romana



Program Finder

XML::XPathScript::Stylesheet 1.52

Download XML::XPathScript::Stylesheet 1.52
Add to download basket
Send update information
Rating: NOT RATED
Rated by: 0 user(s)

Recent news
- Geocities Accounts Involved...
- Electronic Filed Trips Wait...
- Army Men: Sarge's War ...
- Emails Now Aiming To Steal ...
- LG.Philips Develops Dirt-Re...
- Users’ Emails to Be Read by...
- Evesham's Latest Porta...

Downloads: 3
Developer: Yanick Champoux and Dominique Quatravaux | More programs by this producer
License: Perl Artistic License
Price: FREE 
Last Updated: November 16th, 2007 08:26 GMT
Category: MAIN :: Programming :: Perl Modules
 Read user reviews (0) Add a review Refer to friend Subscribe

XML XPathScript Stylesheet description Download
XML::XPathScript::Stylesheet is XPathScript's stylesheet writer guide.

STYLESHEET SYNTAX

An XPathScript stylesheet is written in an ASP-like format; everything that is not enclosed within special delimiters are printed verbatim.

Delimiters

< % % >

Evaluates the code enclosed without printing anything.

Example:

< % $template- >set( 'foo' = > { pre = > 'bar' } ); % >

< %= % >

Evaluates the code enclosed and prints out its result.

Example:

Author: < %= findvalue( '/doc/author@name' ) % >

< %# % >

Comments out the code enclosed. The code will not be executed, nor show in the transformed document.

< %~ % >

A shorthand for < %= apply_templates( ) % >

Example:

Author: < %~ /doc/author % >

< %@ % >

A simplified way to set up the content attribute of a tag. The code

< %@ foo
< h1 >< %= $title % >< /h1 >
< %~ bar % >
% >

is equivalent to

< %
$template- >set( foo = > { content < < 'END_CONTENT' } );
< h1 >< %= $title % >< /h1 >
< %~ bar % >
END_CONTENT
% >
< %- -% >, < %-= -% >, < %-~ -% >, < %-# -% >, < %-@ -% >

If a dash is added to a delimiter, all whitespaces (including carriage returns) predeceding or following the delimiter are removed from the transformed document. This is useful to keep a stylesheet readable without generating transformed document with many whitespace gaps. The dash can be added independently to the right and left delimiter.

Example:

< h1 >
< %-~ /doc/title -% >
< /h1 >
< !--#include file="/path/to/file" -- >

Insert the content of the file into the stylesheet. The path is relative to the stylesheet, not the processed document.

PRE-DEFINED VARIABLES

This section describes pre-defined variables accessible from within a XPathScript stylesheet.

$template, $t, $XML::XPathScript::trans

All three variables point to the stylesheet's template. See section "TRANSFORMATION TEMPLATE".

$XML::XPathScript::xp

The DOM of the xml document unto which the stylesheet is applied.

$XML::XPathScript::current

The XML::XPathScript object from which the stylesheet has been invoked. See the XML::XPathScript manpage for a list of utility methods that can be called from within the stylesheet.

Requirements:

· Perl


XML XPathScript Stylesheet Download
XML XPathScript Stylesheet Screenshots Find Related Downloads



MOST POPULAR PROGRAMS IN THIS CATEGORY ( Perl Modules )  

PDF::Extract 3.01
PDF::Extract allows extracting sub PDF documents from a multi page PDF document.
screenshot
new
PDFLib 0.14
PDFLib is a OO interface to pdflib_pl.pm.
screenshot
new
Prima::X11 1.23
Prima::X11 is a usage guide for X11 environment.
screenshot
new
Font::TTF::Manual 0.41
Font::TTF::Manual provides information regarding the whole module set.
screenshot
new
Image::Size 3.1
Image::Size is a Perl module that can read the dimensions of an image in several popular formats.
screenshot
new
PDF::CreateSimple 1.1
PDF::CreateSimple Perl module will let you create simple PDF files using a set of eary to use function.
screenshot
new
Font::FNT 0.02
Font::FNT allows you to load, manipulate and save Windows raster fonts.
screenshot
new

go to top  



Welcome!
Hello, Guest

Login if you have a Softpedia.com account.

Otherwise, register for one.

Main categories:
  • Adaptive Technologies
  • Artistic Software
  • Communications
  • Database
  • Desktop Environment
  • Documentation
  • Education
  • Games
  • Home Automation
  • Information Management
  • Internet
  • Multimedia
  • Office
  • Printing
  • Programming
  • Religion
  • Science
  • Science and Engineering
  • Security
  • System
  • Text Editing&Processing;
  • Utilities

  • Week's best:
  • Softpedia Linux RSS ...
  • Ubuntu 7.10 (Gutsy G...
  • Pidgin 2.2.2
  • Adobe Flash Player f...
  • The Gimp 2.4.1
  • Google Desktop 1.0.1...
  • Linux Kernel 2.6.23....
  • Super Grub Disk 0.96...
  • Skype 1.4.0.118 / 2....
  • OpenOffice.org 2.3.0
  • Mozilla Firefox 2.0....
  • Transmission 0.93
  • DeVeDe 3.3
  • Wine 0.9.49
  • wine-doors 0.1.1
  • Shoreline Firewall 4...
  • Linux Mint 4.0 Daryn...
  • ISO - DAX - CSO Conv...
  • Fedora 8
  • Opera 9.24 / 9.50 Be...
  • Latest Distributions
  • Linux Mint 4.0 Daryn...
  • Ubuntu JeOS 7.10
  • Red Hat Enterprise 4...
  • Astaro Security Linu...
  • R.I.P. 3.8
  • Linux Mint 4.0 Daryn...
  • FreeBSD 6.2 / 6.3 Be...
  • PING 2.01.05
  • Vixta.org 098
  • Stoq 0.9.3 (LIveCD)
  • BLAG Linux And GNU 7...
  • Bubuntu 7.10b
  • Damn Small Linux 4.0...
  • T2 Linux 6.0.3 / 7.0...
  • StartCom Enterprise ...
  • Screamix 1.0
  • MidiFlux 0.6.1b
  • Aurox 12.0
  • Slast Ubuntu Test 1
  • Slast LFS 1
  • Latest Ubuntu Packages
  • Alarm Clock 0.3 Beta
  • QtSmbstatus 2.0.2
  • Gnome INM Forecast 0...
  • FreeNAC 3.0
  • GBirdthay 0.4.0
  • UniConvertor 1.0
  • pdf2djvu 0.3.1
  • openQRM Plug-ins 0.1...
  • Exaile 0.2.11.1
  • Usermin For Webmail ...
  • Gedit Symbol Browser...
  • wxFlashGet 0.1.0
  • Mbedthis AppWeb 2.4....
  • DM CryptFS 0.3.0
  • PottyMouth 1.0.0
  • Floola 2.0 / 2.1 Bet...
  • Kiwi 0.9.6
  • Chandler 0.7.2
  • SecPanel 0.5.2
  • © 2001 - 2007 Softpedia. All rights reserved.
    Softpedia™ and Softpedia™ logo are registered trademarks of SoftNews NET SRL.
    Copyright Information | Privacy Policy | Terms of Use | Contact Softpedia | Update your software | Archive