|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Matching all attributes by content
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
|
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
|

Cart








