Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: browsing xml/xsl files on a pc not connected to the web [Thread Next] Re: browsing xml/xsl files on a pc not connected to the webTo: NULL Date: 1/27/2009 5:29:00 PM Martin Honnen wrote: > me wrote: >> Is it possible to view xml/xsl files on a standalone PC (ie one with >> no internet connectivity)? >> >> Specifically, >> my xml file references my xsl file, and >> my xsl file contains the standard xsl stylesheet tag :- >> <xsl:stylesheet version="1.0" >> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> >> >> The absence of internet connectivity causes this access to http:// to >> give an error. > > No, xmlns:xsl="http://www.w3.org/1999/XSL/Transform" is simply a > namespace declaration, the XML parser will not try to access that URL at > all. > > On the other hand, if you have e.g. > > <?xml-stylesheet type="text/xsl" href="http://example.com/sheet.xsl"?> > > then that stylesheet could be fetched from http://example.com/. > > > > Thanks to all; it is working fine now. The error turned out to be a typo. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
