Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XSLT
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 21st, 2008, 06:44 AM
Authorized User
 
Join Date: Apr 2008
Location: , , .
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.
Reply With Quote
  #2 (permalink)  
Old April 21st, 2008, 06:49 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
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 -/
Reply With Quote
  #3 (permalink)  
Old April 21st, 2008, 06:57 AM
Authorized User
 
Join Date: Apr 2008
Location: , , .
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I require sample code for nxslt2 .

Reply With Quote
  #4 (permalink)  
Old April 21st, 2008, 07:03 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
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 -/
Reply With Quote
  #5 (permalink)  
Old April 21st, 2008, 07:06 AM
Friend of Wrox
Points: 6,676, Level: 34
Points: 6,676, Level: 34 Points: 6,676, Level: 34 Points: 6,676, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: Germany
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
Reply With Quote
  #6 (permalink)  
Old April 21st, 2008, 07:10 AM
Authorized User
 
Join Date: Apr 2008
Location: , , .
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.

Reply With Quote
  #7 (permalink)  
Old April 21st, 2008, 07:15 AM
Friend of Wrox
Points: 6,676, Level: 34
Points: 6,676, Level: 34 Points: 6,676, Level: 34 Points: 6,676, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2007
Location: Germany
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
Reply With Quote
  #8 (permalink)  
Old April 21st, 2008, 07:18 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
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 -/
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.