[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] copy-of problem...


Subject: [xsl] copy-of problem...
From: David.Pawson@xxxxxxxxxxx
Date: Mon, 14 Jul 2003 11:26:55 +0100

Given XML input of the form

<description>HereâEUR$(1s (Ba Google search for a famous phrase, &lt;a
href="http://www.google.com/search?q=to+be+or+not+to+be">to be or not to
be&lt;/a>; give it a try and see what happens. 
... </description>

1. its utf-8 encoded.
2. The output is to be html.

I can't figure out the template for description
 element (or the output method?)
that will provide me with an a element and an href attribute
as if were normally marked up content.

copy-of - which I guessed would work (wrongly)
value-of

both put out escaped content...

Do I really have to go down to character level?

Any help appreciated.

Its an rss feed, so I have no control over the source.

Regards DaveP.

**** snip here *****

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

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



Current Thread
Keywords
xml