Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 21st, 2002, 08:46 AM
karlhulme karlhulme is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 3 karlhulme User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question xalan-c apacheModule

Hi,

Does anyone know where I can get a win32 binary because the apache module shipped with Xalan is only in source format.

Also, I'm hoping to use PHP to build xml pages dynamically (unless anyone knows a better way to build xml pages from content in a mysql database) and then immediately stuff it though Xalan which will transform it into xhtml for me. So the process would be

Client requests foo.html
Apache passes foo(php) to php processor
PHP uses mysql db to convert foo(php) to foo(xml)
Apache passes foo(xml) + style(xsl) to Xalan to get foo(xhtml)
Apache returns foo(xhtml) to the client

So as far as the client is concerned they will request foo.html and get back a page they can display in ie/opera/nn whatever. The nasty bit is trying to get Xalan to accept the foo(xml) as the source to be transformed and not the original foo(php) sat in the folder. Has anyone worked on something similar, or know of any xalan resources (other than xml.apache.org!) or has anyone written an apache module to do this? The apache module shipped with Xalan takes filenames as input, but the xalantransformer class can take streams as input so it should be possible.

So, after all that rambling, I'm looking for
Better ways to build xml pages from mysql data
Ways to transform the xml pages into xhtml pages for the client

Thanks,

Karl

Reply With Quote
  #2  
Old February 22nd, 2002, 04:25 AM
karlhulme karlhulme is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 3 karlhulme User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Win32 Binary Available

Hello again,

I've managed to build win32 binaries of the Xalan apache module. I've done both debug and release if anyone wants them. If you're not aware, Xalan is an xslt processor for converting xml files with xsl files. The apache module builds are about 30K each and the instructions on the xml.apache.org site are easy to follow for installation.

The apache module that's shipped with Xalan is quite simplistic, client requests foo.html and it automatically looks for foo.xml and foo.xsl instead. I need to be able to specify which files to use in more detail, if anyone has written this already that would be very useful.

Regards,

Karl

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > xalan-c apacheModule


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT