[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: output .net register directive

Subject: Re: output .net register directive
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Tue, 26 Oct 2004 17:12:23 -0700
register directive
Jan Limpens wrote:

hi,

how can make xslt output something like this:
<%@ Register TagPrefix="af" Namespace="ActionlessForm"
Assembly="ActionlessForm" %>
in front of the output xml document-element....

<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<%@ Register TagPrefix="af" Namespace="ActionlessForm"
Assembly="ActionlessForm" %>
<bla/>
</xsl:template>
</xsl:stylesheet>

does not work, but how does it? (and i need



Change the < to &lt; so that your parser doesnt think its looking at an element that it needs to process. If none of the data contained in the ASP tag is dynamically created I would put the entire character sequence enclosed in <xsl:text></xsl:text> just to ensure that the processor recognizes this as literal text to output. If any of those values are dynamically set then using xsl:text will not work as any further xsl processing or output elements contained within xsl:text will not be processed.

Best of luck!

<M:D/>

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.