Subject: [xsl] Fwd: Looking for a starting point that can be used to repeatedly/recursively transform an input stream From: "Alan Johnson" <ajohnson@xxxxxxxxxx> Date: Mon, 01 Dec 2003 11:26:09 -0500 |
Folks, Good morning. I'm new to this list, so that might be a FAQ, but based on my review of it I don't think so, hence my posting. I need a transformation that is, in a sense, "mutating". By this I mean I need the transform to incorporate itself into the output stream, along with the input content, wrapped in a generic container. Consider for example the following xml: initial XML stream <resultSet> <anElement>value</anElement> <anotherElement> value </anotherElement> </resultSet> subsequent XML stream <differentresultSet> <anElement>value</anElement> <anotherElement> value </anotherElement> </differentresultSet> realize that these two streams are not available concurrently, but serially. I also don't want to cache the file explicitly to address this need. I would like to transform the first in such a way that a new transformation is produced, one that could transform the second when passed through it into a merged product, say something like the following: <containers> <container> <resultSet> <anElement>value</anElement> <anotherElement> value </anotherElement> </resultSet> </container> <container> <differentresultSet> <anElement>value</anElement> <anotherElement> value </anotherElement> </differentresultSet> </container> </containers> This would be able to add as many containers as required, one for each time it was called. The endpoint at any point in time would be parseable into a set of containers. Does this make sense? Can someone give me a reasonable starting point? Thanks, Alan Alan Johnson Senior Scientist Scientific Research Corporation 3860 Faber Place Drive Suite 100 Charleston, SC 29405 ajohnson@xxxxxxxxxx (843) 308-2483 (office) (843) 270-0794 (cell) XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] I haven't got xslt.dtd..., Vicente Castillo | Thread | [xsl] Re: Looking for a starting po, Dimitre Novatchev |
RE: [xsl] Passing XML data to HTML , SHEIKH Sajjad | Date | Re: [xsl] Passing XML data to HTML , Charles White |
Month |