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 September 17th, 2006, 06:32 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default XML > XSLT and ASP.NET 2.0

Hi All,

I am able to create an XML document, parse through XSLT and display with HTML. Is it possible to Parse the XML file through ASP 2.0 and display through .aspx page?

Thanks.





 
Old September 18th, 2006, 02:30 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Do you mean create an aspx file via an XML/XSLT transform? If so it's possible but extremely tricky as a lot of aspx markup is invalid XML <@ for example. I've never heard of anyone managing all but the simplest pages.

--

Joe (Microsoft MVP - XML)
 
Old September 18th, 2006, 11:23 AM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Joe,

Thats it. I have built serveral Manuals (chapter, sections etc..) with XML and parse with XSLT to HTML. I am trying to figure out how to Parse through APSX. That way I cut out the "middle man".

Any thoughts?

Bones


 
Old September 18th, 2006, 11:57 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Are you trying to create an aspx page via a transform, in which case you are going to struggle as aspx pages aren't XML? Or are you wanting to transform XML using an aspx page? Please show the steps one-by-one.

--

Joe (Microsoft MVP - XML)
 
Old September 18th, 2006, 01:03 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Joe,
"Or are you wanting to transform XML using an aspx page" YES
Here is my idea:

1. Have all my XML files in a folder on the server
2. In ASPX have a TOC(or treenode) which when selected calls up the XML file
3. The APSX page grabs the XML file, processes it through XSLT and displays the page in ASP.

I write XML for manuals and books. The XSLT stylesheet would produce a TOC, Chapter, Section etc...

I hope this helps.

 
Old September 21st, 2006, 05:39 AM
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

Try Xml Control. You can find it on the Toolbox.

 
Old September 22nd, 2006, 09:39 AM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Ok Thanks! I will tr it.

 
Old September 22nd, 2006, 06:26 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Found the answer.

http://harishmvp.blogspot.com/2004/1...aying-xml.html







Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: XML/XSLT/ASP.NET Calendar Control kwilliams XSLT 14 May 8th, 2008 03:43 PM
ASP.NET and XML/XSLT kwilliams ASP.NET 2.0 Basics 0 January 8th, 2007 01:03 PM
Forms with XML > XSLT > XHTML kwilliams XSLT 0 October 27th, 2005 09:52 AM
Achitecture ? SQL -> XML -> ASP -> PDF or HTML Frm jstrong Classic ASP XML 0 July 9th, 2005 01:18 PM
asp(ado->xml) --->internet>--asp(xml->ado) moon XML 0 November 28th, 2003 09:27 AM





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