Thanks!  Can I recommend adding this note (style task supporting only XSLT 1.0) to the 
style documentation? 

Felice

-----Original Message-----
From: Thibaut Barrère [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 10:43 AM
To: Felice Vittoria
Cc: Nant-Users (E-mail)
Subject: [SPAM] - Re: [Nant-users] having trouble with style task with a
v2.0 stylesheet - Email found in subject


Hi Felice,

I suspect the style task of relying upon System.Xml.Xsl.XslTransform,
which support only XSLT 1.0.

Have a look here :
http://blogs.msdn.com/dareobasanjo/archive/2004/05/13/131166.aspx

hope this helps.

Thibaut

On Wed, 6 Oct 2004 10:26:00 -0500, Felice Vittoria
<[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I have a stylesheet that's using XSL v2.0.    When I use the style task to create an 
> html report I will get the following error:
> 
> Could not perform XSLT transformation of 'C:\Documents and 
> Settings\fvittoria\DiffReport_svps.xml' using stylesheet 'C:\Documents and 
> Settings\fvittoria\ntest2.xsl'.
>    '' cannot be a child of '' element.
> 
> My xml file is just a file created by the vssdiff task.    I'm attaching the 
> stylesheet for reference.    What am I doing wrong?    Oh .. if you are having 
> trouble w/ the attachment let me know and I will resend it to you.
> 
> Thanks,
> Felice <<ntest2.xsl>>
> 
> 
>


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to