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

External entity file and formatting with stylesheet

Subject: External entity file and formatting with stylesheet
From: llobash@xxxxxxxx
Date: Thu, 9 Feb 2006 14:44:29 -0500
entity file
I am incorporating one XML file as external entity into another using the
following method: (From FAQ)

Within your stylesheet, declare the entity within a DOCTYPE at the top of
the page:

<!DOCTYPE xsl:stylesheet [
  <!ENTITY style SYSTEM 'style.xml'>

Then, at the point where you want to include the contents of that file,
refer to the entity you've defined with an entity reference:

<xsl:template match="/">
      <title>My Page</title>
      <!-- CSS styles included here -->

The contents of your style.xml file will then be included wherever you
reference the entity.

The file is included, however, formatting instructions in the stylesheet
are not being applied to entity file. Anyone know what I am missing?

Thank you,


Current Thread


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.
First Name
Last Name
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.