Added CSS to support syntax highlighting in XML/HTML tags


Permalink 12:52:21 pm, by mholmes, 162 words, 323 views   English (CA)
Categories: Activity log; Mins. worked: 30

Added CSS to support syntax highlighting in XML/HTML tags

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:

    <application ident="ImageMarkupTool02" version="" notAfter="2011-09-29T14:06:14">
      <label>Image Markup Tool</label>
      <desc> </desc>
      <ref type="appURI" target=""></ref>
      <ptr target="#imtLinkTypes"/>
      <ptr target="#imtFacsimile"/>
      <ptr target="#imtLinks"/>

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:


No Pingbacks for this post yet...

Work on this blogging tool

This blogging tool is new to us, and we're trying to figure out how to make it do all the things we require of a project and workflow management tool for our R & D lab. This blog will record what we did, how we did it, what went wrong, and how we fixed it.



August 2014
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

XML Feeds