[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT Text Processing: Fun with Anagrams
Thank you.
Inside xmlverbatim_xhtml.xsl, I see that it is highlighting the syntax with (X)HTML span tags + class attributes. Normally an author who is presenting the code also has their own class in the HTML tags, I think it would be nice if the class attribute values generated by an HTMLizer tool made the class attributes values unique in some way, that in case the author of the page used the same name it wouldn't conflict. One example is to prefix each class attribute value with the initials of the tool's name followed by an underscore. For example in the case of UTFX it would be <span class="utfx_highlight"> instead of <span class="highlight"> I've seen this kind of prefixes in Javascript to avoid conflicts with the functions and variable names used by a website that is using multiple Javascript files from various sources. -Regards Rashmi On 4/23/07, Jacek Radajewski <jacekrad@xxxxxxxxx> wrote: utfxdoc_xhtml.xsl handles higher level elements such as sections, paras, lists etc ... the actual syntax highlighting is done by xmlverbatim_xhtml.xsl (originally by Oliver Becker)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|