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

Re: expandble list in XSL

Subject: Re: expandble list in XSL
From: Dan Morrison <dman@xxxxxxxx>
Date: Fri, 31 Mar 2000 01:43:31 +1200
xsl forbidden char
Johan Andreasson wrote:
> 
> 1. I get an error message in IE5 that says it's not allowed to to put
> <xsl:value-of> within an attribute, is this because of the '<' char or is
> the whole line forbidden?

Use the xsl:attribute syntax. You didn't provide your xsl, so I can't
say how to apply it.

> 2. Here, the script has to have one varable for each item in the list. How
> can this be solved in XSL? Could it be done as a vector declaration?

It would probably be easiest if your source doc could define it's own id
attributes, or names in the first case.
Then you can run foreach over your items whenever you need the
repetition.
There are XSL ways of numbering, but my platform doesn't do that yet, so
I can't suggest.

nice example BTW.

.dan. 
-- 
:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  021 115 7339       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 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.