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

Writing a stylesheet to create a stylesheet, with XSLT

Subject: Writing a stylesheet to create a stylesheet, with XSLT in the XML
From: Scott Moore <Scott.Moore@xxxxxxxxxxxxx>
Date: Mon, 17 Jun 2002 15:16:50 -0400
creat stylesheet
I've written a stylesheet that processes an XML file and creates another
stylesheet from it.  So far, so good.

But, I've now run into a case where I want some of the XSLT to be in the XML
file.  I want to select the text from the XML and have it written out as
proper XSLT.  The problem is <xsl:text> will not let me embed an
<xsl:value-of> inside it, so I can't turn on disable-output-escaping.

Below is an example of what I want to do:

XML snippet:

<Sections label="&lt;xsl:value-of select=&quot;/Doc/FirstName&quot;&gt;"/>


I would like to take the contents of the attribute label and place it
directly in the output tree and turn off escaping of the <, > and "
characters.

Is this possible?

Thanks for any help,
Scott

 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.