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

RE: A list of useful functions that aren't in the core

Subject: RE: A list of useful functions that aren't in the core of xsl.
From: "bryan" <bry@xxxxxxxxxx>
Date: Wed, 26 Mar 2003 15:59:21 +0100
RE:  A list of useful functions that aren't in the core


This is actually a problem I've had for a while, which is that a lot of
xml documents out there use escaped html at various nodes. 
This is a common community practice in various flavors of RSS, in
blogger xml files, and I just saw an example on Sam Ruby's weblog where
he was sending SOAP with RDF/XML in the soap:body and escaped html
nested in some other element. The way I have been handling this in RSS
is that I wrote an extension function using Tidy to strip out the html,
for msxml, with a fallback using regex if Tidy failed. I don't want to
have to write the same extension for Saxon, Xalan etc when I need to use
those. 

Does anyone have suggestions on how to handle this admittedly bad usage
but unfortunately too common problem? What about with xslt 2.0, can
anyone think of ways it helps solve this problem, other than the support
of regex? 





 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.