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

Re: DOCTYPE

Subject: Re: DOCTYPE
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Wed, 1 Nov 2000 10:02:34 -0400 (EST)
doctype package
Rainer,

>I have a Problem with a data-element, containing an ENTITY, defined in the
><!DOCTYPE>.
>For example:
><!DOCTYPE PACKAGE SYSTEM "package.dtd" [<ENTITY a12345.jpg SYSTEM
>"a12345.jpg" NDATA JPG>]>

You've not made it clear what the problem is with the above.

If you've got the above in your source document, then this is an XML
problem rather than an XSLT problem and thus out of scope for this list.
Possibly your problem is the missing ! in <!ENTITY.

If the problem is that you need to define the above DOCTYPE within the
output, then I'm afraid that with this version of XSLT there's no easy way
to do it.  The closest that you can get is to insert the DOCTYPE through
disabling output escaping and adding the DOCTYPE by hand:

  <xsl:text disable-output-escaping="yes"><![CDATA[
    <!DOCTYPE PACKAGE SYSTEM "package.dtd" [
      <!ENTITY a1234.jpg SYSTEM "a12345.jpg" NDATA JPG>
    ]]>
  ]]></xsl:text>

I hope that this helps: if it doesn't, I suggest you post a more detailed
explanation of the problem you're encountering.

Cheers,

Jeni

Jeni Tennison
http://www.jenitennison.com/




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re: DOCTYPE
    • Jeni Tennison - Wed, 1 Nov 2000 10:02:34 -0400 (EST) <=

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.