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

RE: escape an <xsl: template function

Subject: RE: escape an <xsl: template function
From: "Dion Houston" <dionh@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Feb 2003 12:38:08 -0800
xsl escape function
Howdy dean!

Take a look at xsl:namespace-alias which was made probably nearly
exclusively for this purpose.  Basically it works like:

xmlns:_xsl="http://myURI"

<xsl:namespace-alias stylesheet-prefix="_xsl" result-prefix="xsl"/>

This then would allow you to put:

<_xsl:template match="something that came from XML doc">

In your stylesheet, and the result would be:

<xsl:template match="something that came from XML doc">

Kay has an excellent treatment in his reference book...

Dion
-----Original Message-----
From: Dean Hiller [mailto:dhiller@xxxxxxxxx] 
Sent: Friday, February 07, 2003 12:05 PM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject:  escape an <xsl: template function

I am sure this is in the archives and I couldn't find it.  If someone 
could just point me to a link, I would appreciate it.  I didn't see it 
in the FAQ either.

I want to take an XML document and generate a stylesheet from it using 
another stylesheet.  This means, I want to put things like the following

"in the output"
<xsl:template match="something that came from XML doc">
</xsl:template>

It is well-formed unlike the <br>'s of html which xslt can't handle. 
 Can xsl not handle this too?
How do I go about doing this?
thanks,
Dean


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.