IPro Online Your Text Processing PHP Libraries 


   


 IPro Libraries > IPro Tag

add_tag_attribute
explode_tag
get_tag
get_tags
get_tag_attr_names
get_tag_attr_values
get_tag_attributes
get_tag_data
get_tag_datum
get_tag_element
get_tag_elements
get_tag_name
get_tag_names
get_tag_poss
repl_tag_attribute
repl_tag_name
rmv_comment_tag
rmv_empty_tag
rmv_tag
rmv_tag_attribute
rmv_tag_element
tok_by_tag
tok_by_deftag

IPro Array
IPro String
IPro Tag
IPro Text

Overview
FAQ


Introduction

IPro Tag Library allows you to manipulate tag, its attributes and data.

Requirements

PHP 5

Installation

See Installation.

Load Library

To use a library, include the library's .inc.php in your PHP script. Assume your document root is set as $path="/home/m3/public_html/", the include scripts for IPro Tag is as followed.

IPro Tag-include($path."ipro/tag.inc.php");

Table of Contents

add_tag_attribute - Add attribute to a tag in text.
explode_tag - Split a tag into tag name and a list of tag attributes.
get_tag - Extract first tag from text.
get_tags - Extract all tags from text.
get_tag_attr_names - Extract all attribute names of a tag from text.
get_tag_attr_values - Extract all attribute values of an attribute name in a tag from text.
get_tag_attributes - Extract all attributes of a tag from text.
get_tag_data - Extract all tag data of a tag from text.
get_tag_datum - Extract first tag data of a tag from text.
get_tag_element - Extract first tag element of a tag from text.
get_tag_elements - Extract all tag elements of a tag from text.
get_tag_name - Extract first tag name from text.
get_tag_names - Extract all tag names from text.
get_tag_poss - Find positions of all occurrences of a tag.
repl_tag_attribute - Replace search attribute with replacement attribute in a tag in text.
repl_tag_name - Replace search tag with replacement tag in text.
rmv_comment_tag - Remove comment tag from text.
rmv_empty_tag - Remove empty tag and empty tag-element from text.
rmv_tag - Remove a tag from text.
rmv_tag_attribute - Remove attribute of a tag from text.
rmv_tag_element - Remove tag element of a tag from text.
tok_by_tag - Tokenize text into text fragments by tags.
tok_by_deftag - Tokenize text into text fragments by delimit tags.
Copyright 2012 by Mice3 Software. All Rights Reserved.Site Map  |  Terms of Service | About Mice3