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 September 17th, 2006, 06:32 PM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
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.





Reply With Quote
  #2 (permalink)  
Old September 18th, 2006, 02:30 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
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)
Reply With Quote
  #3 (permalink)  
Old September 18th, 2006, 11:23 AM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
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


Reply With Quote
  #4 (permalink)  
Old September 18th, 2006, 11:57 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
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)
Reply With Quote
  #5 (permalink)  
Old September 18th, 2006, 01:03 PM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
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.

Reply With Quote
  #6 (permalink)  
Old September 21st, 2006, 05:39 AM
Registered User
 
Join Date: Sep 2006
Location: Kharkiv, , Ukraine.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

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

Reply With Quote
  #7 (permalink)  
Old September 22nd, 2006, 09:39 AM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default

Ok Thanks! I will tr it.

Reply With Quote
  #8 (permalink)  
Old September 22nd, 2006, 06:26 PM
Friend of Wrox
Points: 1,676, Level: 16
Points: 1,676, Level: 16 Points: 1,676, Level: 16 Points: 1,676, Level: 16
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2006
Location: , , .
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


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
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



All times are GMT -4. The time now is 08:41 AM.


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