OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: iteration... please help

[ Lists Home | Date Index | Thread Index ]
  • From: Wayne Steele <xmlmaster@hotmail.com>
  • To: jlord@tanning.com, xml-dev@lists.xml.org
  • Date: Thu, 09 Nov 2000 12:02:02 -0800 (PST)

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@tanning.com>
>To: "'xml-dev@lists.xml.org'" <xml-dev@lists.xml.org>
>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.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS