|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Behavior of document() Function with Empty String
Andrew Welch wrote:
Indeed. As a matter of fact (afaik): once you use xml:base (pointing to something else than your current stylesheet) you have no way of referring to your current stylesheet. Which also means that pointing to a directory/path where the stylesheet resides does not work: document("") will then try to retrieve the path, not the stylesheet in that path (it has no way to know it). This will still work (for document('')), provided the url resolves to a real XML doc: xml:base="./mystylesheet.xslt" This won't, as document('') tries to load the path, which does not resolve to a file containing any xml: xml:base="./" -- Abel
|
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
|

Cart








