Article View: pl.comp.xml
Article #795Re: Looping construct in XSL? Puzzled.
From: Sue Thibodeau
Date: Thu, 01 Feb 2001 16:26
Date: Thu, 01 Feb 2001 16:26
47 lines
2369 bytes
2369 bytes
Tomek, Thanks for the response! .... Is there no way to do what I am trying to do? :-( It's frustrating that XSL won't let me emit a runtime determined number of HTML <br /> tags. Is there another solution that I don't see? (I have "control" of the DTD. Could I do something different there?) Clueless, Sue "Tomek" <stoka@poczta.onet.pl> wrote in message news:3A796AE0.4B967846@poczta.onet.pl... > Unfortunately, you are right Sue! Though there is a concept of a > variable, > its value (once set) can't be changed. Strange (and disappointing), but > true. > > Greetings, > Tomek. > > > Sue Thibodeau wrote: > > > > Hello, > > > > I am puzzled and would appreciate some help. > > > > I could be totally wrong, but there do not appear to be any looping > > constructs in XSL that would allow me to write "n" number of <br /> tags, > > where "n" is equal to an attribute defined in an XML file. Does anyone know > > how to do this?? > > > > It's simple to grab the attribute value, but I can't find any mechanism to > > decrement a counter (or in any other way handle a loop). ..... I've looked > > through several books on XSL, but I'm still stuck. > > > > Thanks in advance for any assistance. > > > > Regards, > > Sue
Technical Details
Message-ID:
<95c2le$19c4$1@node17.cwnet.frontiernet.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!news.tpi.pl!news.internetia.pl!isdnet!newsfeed.cwix.com!nntp.frontiernet.net!nntp.gblx.net!news.frontiernet.net!not-for-mailReferences:
<95bk2s$ic6$1@node17.cwnet.frontiernet.net> <3A796AE0.4B967846@poczta.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!warszawa.rmf.pl!news.tpi.pl!news.internetia.pl!isdnet!newsfeed.cwix.com!nntp.frontiernet.net!nntp.gblx.net!news.frontiernet.net!not-for-mail From: "Sue Thibodeau" <smct@frontiernet.net> Newsgroups: pl.comp.xml Subject: Re: Looping construct in XSL? Puzzled. Date: Thu, 1 Feb 2001 11:26:02 -0500 Organization: Global Crossing Telecommunications Lines: 49 Sender: UNKNOWN@209-130-218-236.nas1.roc.gblx.net Message-ID: <95c2le$19c4$1@node17.cwnet.frontiernet.net> References: <95bk2s$ic6$1@node17.cwnet.frontiernet.net> <3A796AE0.4B967846@poczta.onet.pl> NNTP-Posting-Host: 209-130-218-236.nas1.roc.gblx.net X-Trace: node17.cwnet.frontiernet.net 981044718 42372 209.130.218.236 (1 Feb 2001 16:25:18 GMT) X-Complaints-To: abuse@frontiernet.net NNTP-Posting-Date: 1 Feb 2001 16:25:18 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit