Re: function for getting filename
On 01 Sep 2006 12:01:18 +0100, Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote:
>>>>> "andrew" == andrew welch <andrew.j.welch@xxxxxxxxx> writes:
I think its safe to use on all nodes except namespace nodes:
Regarding xml:base you should get whatever's defined in the xml:base shouldn't you? In which case it's what the XML author intended, and may be what you need to know at that point, depending on your requirements.
If the OP is invoking a transformation from the command line, then he can pass in the file name as a parameter. That is reliable.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format