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

Re: Using !ENTITY to include html

Subject: Re: Using !ENTITY to include html
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Wed, 29 Aug 2001 09:49:14 +0100
Re:  Using !ENTITY to include html
On Wednesday, August 29, 2001 4:47 AM
dante wrote:

[...]

> <!DOCTYPE xsl:stylesheet [
> <!ENTITY nbsp       "&#160;"   >
> <!-- 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


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.