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

Matching all attributes by content

Subject: Matching all attributes by content
From: "HEBBRON,TOM (HP-UnitedKingdom,ex2)" <tom_hebbron@xxxxxx>
Date: Tue, 19 Dec 2000 10:13:36 -0000
all attributes
I am building an XML/XSL system for creating web pages which may include
BroadVision script calls - or indeed any server side include. This is no
problem for normal page SSI includes - I have a tag <SSI>code etc</SSI>
which writes <% code etc %> into the output HTML. However, the problem
arises when the BV code is to fill an attribute - eg the colour of a cell
<td bgcolor="<%=pickacolor()%>">sfhfh</td>

I cannot use the angle brackets inside the attribute value. Is there some
way of doing this?

My solution was to have any BV attribute begin with a '%' symbol - then
match all attributes whose value begins with % and rewrite them as '<' +
currentcontent + '%>'

Could anyone suggest how this might be done?


--
Tom Hebbron 
e-business, HP Bristol
Tel: +44(0)117 3129300
Fax: +44(0)117 3129923
tom_hebbron@xxxxxx

 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.