Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 8th, 2014, 12:03 AM
Registered User
 
Join Date: May 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Html tags text not rendering in sharepoint's list view

I am in need of display the a sharepoint 2010 list contents using XSLT 1.0. One of the column has html strings

sample:
<div>
<img width="50px" height="50px" src="image Url" alt="some text" />
</div>

But it shows as it is instead of rendering. The attribute disable-output-escaping = "yes" is not working.

Any one can help me?
 
Old May 8th, 2014, 04:59 AM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

Disable-output-escaping isn't guaranteed to work in all circumstances. Some processors don't support it at all, but usually the reason it doesn't work is that you aren't doing the serialization via the XSLT processor - typically you are sending the output to a DOM tree, and then using the DOM serializer.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
list view to text boxes!! vensz21@yahoo.com VB.NET 2002/2003 Basics 0 December 19th, 2011 04:16 AM
Urgent - Send mail with plain view and html view ashish.dadhwal ASP.NET 2.0 Professional 0 November 27th, 2008 01:49 AM
Rendering HTML inside XML through XSL - HELP !!! jilly XSLT 6 May 23rd, 2007 10:36 AM
populate details view or list view non empty rows iinfoque ASP.NET 2.0 Basics 0 March 11th, 2007 06:11 AM
View Text in HTML Format echovue Access 4 February 13th, 2006 02:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.