|
Posted by ReGenesis0 on 12/14/05 11:57
Tony Marston wrote:
> I think you are trying to do too much with DOM. In my framework all screens
> are built using XSL transformations, which means that I must have
> intermediate XML files to hold all the data that is going to be used by the
> XSL stylesheet. I never use XML files to manipulate data, just to hold the
> data which is to be passed to an XSL stylesheet. Each XML document has to be
> written to the structure expected by the stylesheet, and once it has been
> transformed the XML document is discarded.
>
> I do not use XML documents for persistent storage, they are transient -
> created, processed, discarded.
So how do you create your transient XML files from data?
I just... XML is suppsoed to be the universal interchange format
for data. (Whether you believe it's particularly good for that is up
to you I guess) Why... REDUCE it to just an intermediate step for xsl
transformations? Why not just send your data as variables to Smarty or
something? (I guess, you want the power of the xsl:template
includes... but not give up the querying speed of a sql database, which
is valid.)
...I don't want that power. ;-) (Or rather I want something else
specific.) I don't want to REDUCE XML to an itnermediate step in
templating. There are tools for manipulating it in trees, therefore
it's possible, just the actual application is escaping me.
I guess, I don't find "but it's AWKWARD" to be an adequare answer
here. There's a dom, and tools for manipulating XML. But you can't
manipulate XML?
Perhaps I'd have more luck on an XML newsgroup, despite my question
being PHP-specific.
-Derik
Navigation:
[Reply to this message]
|