Pure XSLT processor starts a transformation when it already has XML represented internally as a tree, or XML represented as a sequence of "events" as for SAX (no matter the source was the XML file, string, or some stream). Therefore, from the XSLT processor's viewpoint, it just takes it's own internal representation of source XML and applies a stylesheet.
Pure XSLT itself doesn't give such ability to access the XML source file, since, as stated, it doesn't care where from the xml source comes.
If some XSLT processor will provide such opportunity(I don't know such one), it must be done through extension element or function...
Regards,
Armen
|