I agree why would you want to...???
But technically, yes you could...
It would be possible to place 2 XML data islands in an HTML file... 1 would be the XML data, and the other the XSL data...
Then you could use DOM to preform the transformation...
But, that would completely eliminate the point of using XML in the first place...
the advantage of XML is to use your own tags to describe data... which can then be used to transfer data between databases, or serve as small independent databases, etc...
the advantage of using XSL is to be able to transform multiple XML files with one template...
if you put them both in one document, you might as well just use HTML...
Just out of curiosity...
Is there a specific reason you want to include them into one document?
Visit My Site
PROGRAMMER:
Red-eyed, mumbling mammal capable of conversing with inanimate objects.