ISML Tag - ISFILE

Name

ISFILE

Short Description

declares a file to be processed when using <isfilebundle> tag

Table of Contents

Product Version

6.5

Product To Version

 

Statusfinal

1 Introduction

The <ISFILE> tag is only allowed as a child element of <ISFILEBUNDLE>. See also <ISFILEBUNDLE> and <ISRENDER> .

The <ISFILEBUNDLE> tag allows you to bundle multiple smaller source files into one big file and to configure processors for the bundled files. <ISFILEBUNDLE> has the two supporting tags <ISFILE> and <ISRENDER>.
Each file bundle must have one <ISRENDER> tag. <ISRENDER> provides a render method for all resulting files of this file bundle. The attribute File:Name is the name of the bundle or the name of one of the configured files.
A file bundle must have one or more <ISFILE> tags. <ISFILE> is used to declare files to be processed via its name attribute.

2 Syntax

<isfile name="/css/CSS_File1.css" processors="none"/>
<isfile name="/css/CSS_File2.css"/>
<isfile name="/css/CSS_File3.css" processors="CSSCompressor"/>

3 Example

See <ISFILEBUNDLE> and <ISRENDER> .

4 Attributes

<ISFILE> declares the relative file path and is only allowed inside <ISFILEBUNDLE>.

4.1 name

This attribute is required.

name = relative source path

Specifies the relative path to the source file.

4.2 processors

This attribute is optional.

processors = comma separated processor list

Overrides the processors attribute specified in the <ISFILEBUNDLE> tag. Specify this attribute to define a file specific processor list.
Omitting this attribute leads to use of the default processor list defined in <ISFILEBUNDLE> (for an available list of processors, see section Configuration). You can also set processors to none to skip processing this file.

Reference - ISML Tags

Disclaimer

The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.

Customer Support
Knowledge Base
Product Resources
Support Tickets