Bug 112728 - [editor] Add Template for CDATA section
Summary: [editor] Add Template for CDATA section
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2005-10-15 03:08 EDT by Craig Salter CLA
Modified: 2016-01-27 11:24 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Salter CLA 2005-10-15 03:08:01 EDT
I'm always forgetting the format of the CDATA section.  I can add it via the
design and outline view, but of course it's handy to add it directly from the
source view. Seems like a 5 minute job to add this as a built in template that
would be handy for everyone.

Here's an example...
<![CDATA[${cursor}]]>

Here's the template.xml file that seems to get serialized for this pattern
incase it helps...

<?xml version="1.0" encoding="UTF-8"?>
<templates>
	<template name="CDATA" description="CDATA section" context="xml_all"
     enabled="true" deleted="false"
autoinsert="true">&lt;![CDATA[${cursor}]]&gt;</template>
</templates>