RE: [xsl] Beginner seeking advice

Subject: RE: [xsl] Beginner seeking advice
From: "Max Edmiston" <max@xxxxxxxxxxxx>
Date: Fri, 9 Feb 2007 18:03:47 -0600
Mukul,

Thanks for the link.  I'm going to bookmark this for future reference!

Regards,
- Max Edmiston
max@xxxxxxxxxxxx
(615) 613 - 2749
-----Original Message-----
From: Mukul Gandhi [mailto:gandhi.mukul@xxxxxxxxx]
Sent: Friday, February 09, 2007 10:22 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Beginner seeking advice

First of all, welcome to this forum!

If you are saying, you have been working with XSLT for only 1-2 days,
I must say, you have done a great job (i have looked at your
stylesheet).

If you need advise on how to improve your stylesheet, I recommend
following link:
http://www.dpawson.co.uk/xsl/sect2/bestpractice.html

One of Michael Kay's books will also be a nice reference.

On 2/9/07, Trine Lxcke <trine@xxxxxxxxx> wrote:
> Hello all,
>
> This is my first try at doing something with XSL. I'm actually quite
> happy with the result, as it does what I need doing. But still I am a
> beginner and as such I'm sure I've done a bundle of stuff the wrong way,
> or perhaps there are glaring bugs in the XSL that I've not been able to
> weed out.
>
> I was hoping some of you veteran XSL programmers could perhaps find some
> time to comment on what I've done here, and perhaps even point me in the
> right direction where improvements could be made.
>
> The XML file can be seen here: http://gozza.dk/test/test1.xml
>
> The XSL file can be seen here: http://gozza.dk/test/test1.xsl
>
> The final output can be seen here: http://gozza.dk/test/test.xml
>
> I know the HTML is ugly as heck, but that's not important.  :o)
>
> I have no control over the XML format, and under normal circumstances
> the file is approx 1500-2000 lines long. The viewer is either Firefox or
> Opera, so those are the only processors I've tested this with.
>
> Personally I'm a bit annoyed at having two named templates (pris and
> totalpris) that are so similar. There must be a better/prettier way?
>
> Also I'm having problems with the result of "totalpris" being different
> from the sum of all the "pris" calculations. I'm sure this has something
> to do with how I'm using ceiling(), but I can't quite figure out how to
> do it differently.
>
> Please don't put the hammer down too hard on me. This is my first try at
> anything beyond HTML and CSS. It's all very new to me, and after a good
> long day of trying to learn XSL, my brain is actually hurting a bit.  :o)
>
> Sincerely,
> Trine


--
Regards,
Mukul Gandhi



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.32/677 - Release Date: 2/8/2007
9:04 PM

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.32/677 - Release Date: 2/8/2007
9:04 PM

Current Thread