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

Transforming portions of content or values

Subject: Transforming portions of content or values
From: "C Baines" <cbaines@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 May 2003 09:08:17 +0100
 Transforming portions of content or values
Hi

1.    How do I transform a portion of text in an XML document so that I can
nest it within hyperlink tags in an XSL stylesheet for HTML display, as
follows?

a.    Content:

<experience>Worked for XYZ Inc.</experience>

transformed to HTML (where [XYZ] = hyperlink to www. xyz.com):

Worked for  [XYZ] Inc.

b.    Values:

<experience dates="1990 - 2000" company="Worked for XYZ Inc."/>

transformed to HTML (where [XYZ] = hyperlink to www. xyz.com):

1990 - 2000    Worked for [XYZ] Inc.

2.    Which throws up another question: is it possible to insert a
non-breaking space between text during the transformation e.g. between the
2000 and the 'Worked' as above?


Thanks

Charles


 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.