100
Chapter 7 Using Web Development Languages
Macromedia CodeSweepers treat the colon character (:) in tag names as a normal
character, allowing the processing of XML namespaces in tags such as
<xsl:thistag
name="foo"/>
.
Tag-specific options
A wide range of options is available for the individual tags contained in a
Macromedia CodeSweeper.
These options cover spacing and indenting and allow you to leave the selected tag
unchanged when invoking the CodeSweeper. If you encounter problems parsing
server-based script code, try enabling the Preserve tag formatting option.
The Strip tag from document option is especially handy for getting rid of superfluous
and unwanted tags that are inserted by code generation tools.
To set rules for a tag:
1
Select
Options > Settings > CodeSweeper
.
2
Select a CodeSweeper from the list.
3
Edit the General Settings tab as needed.
4
Switch to the Tag Specific Settings tab and highlight a tag name in the list.
Note that if you select “All Other Tags” in the list, the rules you select on this tab
will apply to every tag that is not in the list but is found in a document.
5
If the tag you need is not in the list, click Add Tag, type the tag name, and click OK.
6
Edit the options for the tag.
7
Click Update Tag.
8
If you are done setting options, click Apply.
To remove a tag:
1
Select
Options > Settings > CodeSweeper
.
2
Highlight the tag to remove and click Remove Tag.
3
If you are done setting options, click Apply.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...