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

Re: Retaining Entity refrence names in Output

Subject: Re: Retaining Entity refrence names in Output
From: UlyLee <ulyleeka@xxxxxxxxx>
Date: Thu, 29 Sep 2005 19:57:04 -0700 (PDT)
xml refrence
I see, but is there a way like creating a function
that would look up for all  string "&#2299;&#2998;"
and change it to "&combo;"? I not that familliar with
creating custom functions in XSLT 2.0 but can this be
achieve using that?

-- UlyLee

--- David Carlisle <davidc@xxxxxxxxx> wrote:

> 
> No, XML entities are expanded by an XML parser, so
> XSLT never sees the
> entity reference it has already been replaced by its
> replacement text
> and the numeric character references have already
> been replaced by the
> referenced characters, before XSLT sees its input
> tree.
> 
> However your definition of combo looks rather
> starnge (unless it was
> mangled by your mailer) with the numeric references
> double escaped:
> & a m p ; # x 2 1 9 9 ;
> rather than
> & # x 2 1 9 9 ;
> 
> 
> 
> David
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by
> Star. The
> service is powered by MessageLabs. For more
> information on a proactive
> anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
>
________________________________________________________________________
> 
> 



	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 

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.