XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Manikandan SurendranathSubject: Output Entity
Author: Manikandan Surendranath
Date: 13 May 2005 05:50 AM
My xslt, when a condition is met is supposed to insert an entity "†" in the output xml. I do not find any thing simlar to xsl:element of xsl:attribute. From the xslt spec I understand we can use character map for this instance. But my client uses xslt 1.0 and saxon 7 and my environment use msxsl 4. Can some one help me.

Postnext
Manikandan SurendranathSubject: Output Entity
Author: Manikandan Surendranath
Date: 13 May 2005 06:00 AM
I think I found a solution, though dont know if it is the right way. Whereever I need "&dagger;" I have coded "<xsl:text disable-output-escaping="yes">&amp;dagger;</xsl:text>"

Posttop
(Deleted User) Subject: Output Entity
Author: (Deleted User)
Date: 13 May 2005 06:50 AM
Yes, that is the code that XSLT 1.0 use; you may want to assign that code to a global variable, so that you can use a shorter $dagger variable reference.

Alberto

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.