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

RE: How to disable escaping of '<' characters --- Addi

Subject: RE: How to disable escaping of '<' characters --- Additional Inforomation
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Mon, 12 Mar 2001 09:48:59 -0000
neal mulvenna
> I am using XSL stylesheet to generate HTML output. The
> requirement I have is
> to compare two XML structures and highlight the difference.  The way I
> thought I can accomplish this is compare two DOM structures
> and whenever
> there is a difference, add high lighting HTML tags to the DOM
> & print the dom using XSLT.
>
> If there is a better solution, let me know.

The approach is reasonable, but adding text nodes that contain markup
characters isn't. Add element nodes instead.

Or alternatively, why not add processing instruction nodes to the tree, and
turn these into HTML highlighting instructions from your stylesheet? That
will make it much easier to modify the display style for changed sections.

Mike Kay
Software AG


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.