[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: problems caused by DOCTYPE

Subject: RE: problems caused by DOCTYPE
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 13 May 2004 16:07:22 -0400
doctype relative path
> From: Chris Loschen [mailto:closchen@xxxxxxxxxxxxxxxxxx] 

> The SYSTEM keyword indicates a system pathname, so it needs 
> to represent where the DTD can actually be found -- XSLT is 
> just following the XML spec here. You can satisfy the requirement by:
> 
> 1. having a copy of the DTD in the working directory as you 
> did 2. having the SYSTEM key represent an actual path to 
> where the DTD is, for example, H:\projects\dtd\mga.dtd or the 
> like -- however, beware because you're now stuck with a 
> particular file-naming convention, so your colleagues who use 
> a different OS like Linux would have to change the SYSTEM to 
> a filename they can read. 

I would add that it is OK to use a relative path for the location of the
DTD.  A relative path can be very useful, because someone else can get
your package to work by using the same relative directory structure, not
needed the exact same absolute path.

Cheers,

Tom P

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.