[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT Text Processing: Fun with Anagrams

Subject: Re: XSLT Text Processing: Fun with Anagrams
From: "Rashmi Rubdi" <rashmi.sub@xxxxxxxxx>
Date: Mon, 23 Apr 2007 12:34:27 -0400
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)

On 4/24/07, Rashmi Rubdi <rashmi.sub@xxxxxxxxx> wrote:
> Thank you. From looking at the name of the file: utfxdoc_xhtml.xsl
> stylesheet produces the syntax highlighting in XHTML format, which is
> also very useful.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.