Re: xslt renderer: 2 questions
Martijn Faassen <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Eric Casteleijn wrote: > Martijn Faassen wrote: > Hmmm, we should get our stories straight ;) I still think it's > possible with the current code though. What you would have to do is > make your own asset type and write an xml-exporter for that that just > dumps its content. Or am I saying something really stupid? Yes, if you're willing to write a new content type for each new XML type (really shouldn't be an asset; they're not for direct display to the user), and associate an XML exporter with each of them, it's possible. I was assuming that this was undesirable and that a single XML-content object would be better. This is also in line with our direction with file-assets, where we want them to have different behaviors and UIs based on their mimetype, even though the object that stores them is the same still. Regards, Martijn