|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > xalan-c apacheModule |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|