Re: [xsl] Retaining Entity refrence names in Output

Subject: Re: [xsl] Retaining Entity refrence names in Output
From: UlyLee <ulyleeka@xxxxxxxxx>
Date: Thu, 29 Sep 2005 19:57:04 -0700 (PDT)
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