Leslie Mikesell wrote:
>
> According to Gerald Richter:
> > >
> > > Will you be able to emulate the IIS/ASP 'transformNode'
> > > method that renders html from xml and xsl components?
> > >
> >
> > I don't know what transform Node exactly does, but I hope we find a common
> > design, which will allow you to easly plug in a module that does whatever
> > transformation on the XML (or HTML) that you like.
>
> The idea is to apply the stylesheet transformations specified by
> an XSL document to everything below a node (possibly the root)
> of another XML document. For now it looks like the only XSLT
> transformer in perl is at:
> http://www.sci.kun.nl/sigma/Persoonlijk/egonw/xslt/
>
transformNode & XSLT are not on my short list of TODOs for
Apache::ASP, though certainly one could be easily made
available when the other is too!
However, transformNode is not an ASP method per se but a method
of one of Microsoft's COM XML objects. So far I have stayed away
from implementing Microsoft's COM objects like the BrowserCap, the
AdRotator, and the like, and if I did provided an the XML object,
I would be starting a general perl port of as many Microsoft COM
objects as I could do.
What is on my short list is providing a developer interface
for rendering XML to HTML. Now I have looked at XSLT, and it is
pretty scary, even if supposedly necessary for some managing large
document sets. Its purpose does seem a bit orthogonal to the ASP
style of interleaving code & content, with the first goal being
simplicity and power, and then maintainability with decomp through
includes and modules.
XSLT seems to seriously complicate the XML rendering issue, and
perhaps unnecessarily? Has it occurred to anyone that XSLT is just
another programming language, and one that looks like an HTML doc?
I'll likely wait this out a bit to see how it shapes up, and would
finally need an Apache::ASP user to require this functionality before
pursuing it further. Leslie, are you that user ?
--Joshua
_________________________________________________________________
Joshua Chamas Chamas Enterprises Inc.
NodeWorks >> free web link monitoring Huntington Beach, CA USA
http://www.nodeworks.com 1-714-625-4051