|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Import HREF
[Karl J. Stubsjoen] > > With xsl:import... the following HREF specification resolves > to a file in my > utility folder off of my root directory: > href="../../../utility/dbXMLContent_T.xsl" > > I don't believe this can be written as: > href="//utility/dbXMLContent_T.xsl" > You are right, that is invalid. > But is there any other way to get to the root folder of the web page? > You can have either a relative URL or an absolute one. A relative URL depends on where the invoking page is (so your first for will work for calling documents that are in the right directory, but not for others in different locations). What do you mean by the "root folder of the web page"? And what are you trying to accomplish that is not working now? Do you want to put a stylesheet PI into an XML file? If you are going to refer to the stylesheet from a lot of different locations, you could put it in a "stylesheet" directory just under the server's root (or under some virtual root below that). Then it would be easy to use a known path, like this - href='/stylesheets/project1/dbXMLContent_T.xsl' Cheers, Tom P XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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








