Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xslt_set_base(3) [php man page]

XSLT_SET_BASE(3)							 1							  XSLT_SET_BASE(3)

xslt_set_base - Set the base URI for allXSLTtransformations

SYNOPSIS
void xslt_set_base (resource $xh, string $uri) DESCRIPTION
Sets the base URI for all XSLT transformations, the base URI is used with Xpath instructions to resolve document() and other commands which access external resources. It is also used to resolve URIs for the <xsl:include> and <xsl:import> elements. PARAMETERS
o $ xh -The XSLT processor link identifier, created with xslt_create(3). o $uri - The base URI to be used. RETURN VALUES
No value is returned. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 4.3.0 | | | | | | | As of PHP 4.3.0, the default base URI is the | | | directory of the executing script. In effect, it | | | is the directory name value of the __FILE__ con- | | | stant. The default base URI is less predictable | | | with older versions. | | | | +--------+---------------------------------------------------+ NOTES
Note Please note that file:// is needed in front of the path when using Windows. PHP Documentation Group XSLT_SET_BASE(3)

Check Out this Related Man Page

URI::WithBase(3)					User Contributed Perl Documentation					  URI::WithBase(3)

NAME
URI::WithBase - URIs which remember their base SYNOPSIS
$u1 = URI::WithBase->new($str, $base); $u2 = $u1->abs; $base = $u1->base; $u1->base( $new_base ) DESCRIPTION
This module provide the "URI::WithBase" class. Objects of this class are like "URI" objects, but can keep their base too. The base repre- sents the context where this URI was found and can be used to absolutize or relativize the URI. All the methods described in URI are sup- ported for "URI::WithBase" objects. The methods provided in addition to or modified from those of "URI" are: $uri = URI::WithBase->new($str, [$base]) The constructor takes a an optional base URI as the second argument. If provided this argument initialize the base attribute. $uri->base( [$new_base] ) This method can be used to get or set the value of the base attribute. The return value is the old value and will be an URI object or "undef". $uri->abs( [$base_uri] ) The $base_uri argument is now made optional as the object carries its base with it. A new object is returned even if $uri is already absolute (while plain URI objects will simply return themselves in that case). $uri->rel( [$base_uri] ) The $base_uri argument is now made optional as the object carries its base with it. A new object is always returned. SEE ALSO
URI COPYRIGHT
Copyright 1998-2002 Gisle Aas. perl v5.8.0 2002-05-09 URI::WithBase(3)
Man Page

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

In PHP replacing text between TAGS & URI information in Title Tag

Hi, what I am trying to do in PHP, is to replace the Title. I need some of the URL information inside aswell depending on the domain. The title is always different so I need to store it in a variable, put the url info like described below in front of it. Here is an example how it should... (0 Replies)
Discussion started by: lowmaster
0 Replies

2. Shell Programming and Scripting

[Solved] Decoding a base 64 string

Is it possible to decode a base 64 string in linux or unix. If so, related commands or reference notes would be really helpful. (1 Reply)
Discussion started by: chandu123
1 Replies