[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl to xsl
I believe you can do this by using the <xsl:namespace-alias> element. <xsl:namespace alias stylesheet-prefix = "someAlias" result-prefix="xsl"> where "someAlias" is used as the prefix for the xslt elements that you want to be put into the result tree and where xsl is the prefix that that is linked ot "http://www.w3c.org/1999/XSL/Transform" -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Simon Wickes Sent: Tuesday, April 03, 2001 3:21 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: xsl to xsl At 03:57 PM 4/3/01 -0400, you wrote: >Hello, >I'm trying to output an xsl using xsl and am having a hard time >distinguishing which parts i want the processor to actually process and >which parts are meant to be straight output. <xsl:text> doesn't seem to be >any help and <![CDATA escapes all the brackets making the output useless. >Any suggestions? >Thanks, >Alex > I believe that you can redefine the namespace for the XSL program itself and use the xsl: namespace for your output. You have to ensure that the new namespace uses the URI of the XSLT namespace. for example, <simon:stylesheet xmlns:simon="http://www.w3.org/1999/XSL/Transform"> <simon:template match="/"> <xsl:template match="whatever">... etc. Simon xmlgeek@xxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|