[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using !ENTITY to include html
On Wednesday, August 29, 2001 4:47 AM dante wrote: [...] > <!DOCTYPE xsl:stylesheet [ > <!ENTITY nbsp " " > > <!-- declares title.html as an external parsed entity --> > <!ENTITY title SYSTEM "title.html"> > ]> [...] > <xsl:template match="/"> > <html> > <head> > <title>&title;</title> What you're trying to do seems a bit strange. Are you really wanting to insert an entire html document as the element content of a <title> in XHTML? But that aside, you need to check exactly where in the server-side filesystem the Axkit components look when you ask them to resolve a SYSTEM entity by filename alone., then make sure that your title.html is in that location. There's quite a bit of variouation between XSLT processors and platforms on this, and my guess is that's your problem. Michael --------------------------------------------------------- Michael Beddow http://www.mbeddow.net/ XML and the Humanities page: http://xml.lexilog.org.uk/ --------------------------------------------------------- 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
|