Added CSS to support syntax highlighting in XML/HTML tags
Posted by mholmes on 15 Jun 2011 in Activity log
I've created a Transformer sequence which takes XML code, escapes it, and adds formatting tags that highlight tags, attribute names, and attribute values. To enable the use of this, I've added CSS classes to hcmc/custom.css. Here's a test of the results:
<appInfo>
<application ident="ImageMarkupTool02" version="2.0.0.0" notAfter="2011-09-29T14:06:14">
<label>Image Markup Tool</label>
<desc> </desc>
<ref type="appURI" target="http://www.tapor.uvic.ca/~mholmes/image_markup/"></ref>
<ptr target="#imtLinkTypes"/>
<ptr target="#imtFacsimile"/>
<ptr target="#imtLinks"/>
</application>
</appInfo>
[...]
</encodingDesc>
Here's the sequence: Transformer 3 sequence for escaping and tagging XML code for syntax highlighting on the blog
and here's the app you need for it: http://www.tapor.uvic.ca/~mholmes/transformer/transformer3.zip.
This entry was posted by Martin and filed under Activity log.