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

Re: iteration... please help

  • From: Wayne Steele <xmlmaster@h...>
  • To: jlord@t..., xml-dev@l...
  • Date: Thu, 09 Nov 2000 12:02:02 -0800 (PST)

Re: iteration... please help
Jon, this seems to be an XSLT and MSXML question.

These questions are not appropriate for this list.

I would be happy to help, and will follow up with you off-list.

-Wayne Steele


>From: "Lord, Jon" <jlord@t...>
>To: "'xml-dev@l...'" <xml-dev@l...>
>Subject: iteration... please help
>Date: Thu, 09 Nov 2000 07:37:37 -0700
>
>Hi,
>
>please forgive my possibly stupid request, but having rtfm and several
>others I am getting nowhere with a small problem.
>
>I am creating a hierarchy tree and want to create the "tree" structure with
>.gifs.
>
>I need to add a series of images to the beginning of each line - the number
>of which is dependent upon the lines position in the tree. So for example, 
>a
>node at the fourth level has 4 preceeding images, and a node at the 104th
>has 104.
>
>Has anybody solved a similar problem? I have the text output from an
>xsl:eval that loops correctly:
>
>	function writeImages()
>	{
>	var imgString = "";
>	e++;
>	for (j=0; j<e; j++){
>		imgString = imgString + "<IMG
>src='/scb.dev/images/bullets/treeline.gif'>";
>		}
>	return imgString;
>	}
>
>...but only outputs text not mark-up.
>
>I am starting to tear my hair out now as I don't want to have to hard code
>an xsl:choose.
>
>I would sincerely appreciate any help.
>
>regards
>
>Jon Lord

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.