|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Find position among siblings {Re: Applying template co
Very much appreciate for the effort you are putting in although it was not what I was asking for originally. I think I thoroughly confused you by now and I really didn't meant it :( Sorry :( I think instead trying to describe the entire problem and try to find the most elegent way to resolve it, I will stick with a small key problem that can help implement one of the solution I am considering. The key problem I have is: how to find the position of an element among its siblings? I have a node-set variable declared like: <xsl:variable name="LineItemHeader" select="book/sheet/range/row[cell[1] = 'LineItemName' or substring(cell[1], 2) = 'LineItemName']"/> And I want to find its location among all the row elements, how should I do it? Much thanks, Xiaocun --- Dan Diebolt <dandiebolt@xxxxxxxxx> wrote: > I simplified your problem to just transforming your > cell's > children & attributes to attributes of row. My > solution > is a bit inelegent but I still don't understand what > you > want done with all of the ExtendedAttribute pieces, > what > you want the attributes named or if you have to > dynamically > create the attribute names. > > Regards, > > Dan > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ 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








