earthwithus
Lurker
Hello.
I wonder if it is possible to transform XML-datastreams on the fly without offering a .XSLT-processor-file.
Imagine, i have a utility class, which has some Sting members, and those are some special XSLT-Processor Strings.
Each time I get a DataStream as a response to a HTTP request, I would like to parse this to a well formed XML, then search for some particular words in the stream, and depending on which of the phrases is found, I then would load the appropriate xslt-string into an Source and apply transformation.
My question is simply: Is that possible ? The object-documentation for Source says, InputStream as also usable as "Source". So usually this should work.
Does anybody know some results ?
I wonder if it is possible to transform XML-datastreams on the fly without offering a .XSLT-processor-file.
Imagine, i have a utility class, which has some Sting members, and those are some special XSLT-Processor Strings.
Each time I get a DataStream as a response to a HTTP request, I would like to parse this to a well formed XML, then search for some particular words in the stream, and depending on which of the phrases is found, I then would load the appropriate xslt-string into an Source and apply transformation.
My question is simply: Is that possible ? The object-documentation for Source says, InputStream as also usable as "Source". So usually this should work.
Does anybody know some results ?