Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 21st, 2008, 06:44 AM
Authorized User
 
Join Date: Apr 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default use nxslt2.0 in asp.net 2.0 c#

Hi ,

Kindly let me know how to use nxslt 2.0 in asp.net 2.0 c# application?

Thanks in advance.
 
Old April 21st, 2008, 06:49 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

http://www.saxonica.com/documentation/dotnet/intro.html

or

http://www.altova.com/altovaxml.html

/- Sam Judson : Wrox Technical Editor -/
 
Old April 21st, 2008, 06:57 AM
Authorized User
 
Join Date: Apr 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I require sample code for nxslt2 .

 
Old April 21st, 2008, 07:03 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

My mistake - I assumed you where asking how to integrate XSLT 2.0 into .Net.

I had not heard of NXSLT - but this appears to simply be a command-line tool for running XSLT transformations, and is written in .Net 2.0 (hence the confusion).

http://www.xmllab.net/Products/nxslt...3/Default.aspx

As this is a command-line tool written in .Net I don't see the point of 'integrating' it into ASP.Net, as you can just use the built in .Net functionality.

/- Sam Judson : Wrox Technical Editor -/
 
Old April 21st, 2008, 07:06 AM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

If you want the features of nxslt 2.0 but for ASP.NET as an server-side ASP.NET control then use eXml http://www.xmllab.net/Products/eXml/...4/Default.aspx

--
  Martin Honnen
  Microsoft MVP - XML
 
Old April 21st, 2008, 07:10 AM
Authorized User
 
Join Date: Apr 2008
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ya its command line utility as this supports xslt 2.0. I want to use this in my application. Is there any wrapper dll for nxslt2 which I can reference in my application & use it.

 
Old April 21st, 2008, 07:15 AM
Friend of Wrox
 
Join Date: Nov 2007
Posts: 1,243
Thanks: 0
Thanked 245 Times in 244 Posts
Default

nxslt uses System.Xml.Xsl.XslCompiledTransform in the .NET framework class library. It does not support XSLT 2.0, rather it supports XSLT 1.0 plus EXSLT.NET.
If you want XSLT 2.0 then use Saxon or AltovaXML, as already suggested.

--
  Martin Honnen
  Microsoft MVP - XML
 
Old April 21st, 2008, 07:18 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

No, NXSLT is a command line wrapper around the .Net core classes, which DOES NOT support XSLT 2.0.

There is no point in having a wrapper dll for a command line tool which is a wrapper around the stuff which is in the core .Net framework anyway.

The page I linked to tells you this, and points you to the .Net documentation for the XslCompiledTransform class that it uses: http://msdn2.microsoft.com/library/m...,vs.80%29.aspx


/- Sam Judson : Wrox Technical Editor -/





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET 3.5 answers in Professional ASP.NET 3.5 jminatel ASP.NET 3.5 Professionals 1 August 22nd, 2011 07:34 AM
Turning a regular ASP.NET App into an AJAX ASP.Net donrafeal7 Ajax 2 August 31st, 2007 12:33 AM
send MASS Emails in ASP.NET 2 with VB.NET 2005 alexdcosta ASP.NET 2.0 Basics 1 July 17th, 2006 12:31 AM
Database diagram in .net using asp.net,c#.net scotttiger ADO.NET 2 February 16th, 2005 01:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.