|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: output .net register directive
Oops...forgot to tell you to add disable-output-esaping in the xsl:text
element...
<?xml version='1.0'?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:text disable-output-escaping="yes"><%@ Register TagPrefix="af" Namespace="ActionlessForm" Assembly="ActionlessForm" %></xsl:text> <bla/> </xsl:template> </xsl:stylesheet> Will produce: <%@ Register TagPrefix="af" Namespace="ActionlessForm" Assembly="ActionlessForm" %><bla/> The alternative if you absolutely need to create dynamic attribute value is to use xsl:text up until the point of outputting dynamic data, close it, output the data, and then create another xsl:text element for the remainder of the text (although technically it shouldnt really matter as the processor is only concerned with < as it sees it as a start of a tag) Best of luck! <M:D/> M. David Peterson wrote: Jan Limpens wrote:
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








