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

Re: Optimization issue with includes and attribute-set

Subject: Re: Optimization issue with includes and attribute-sets
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 29 Jan 2007 20:27:24 GMT
Re:  Optimization issue with includes and attribute-set
When I run your posted code

I get

$ saxon8 junk.xml main-junk.xsl
<?xml version="1.0" encoding="UTF-8"?>
  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
    font-weight="normal" font-size="24pt" font-color="blue"
font-style="italic"> 
        Test: Testing it</fo:block>
  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
    font-weight="bold" font-size="16pt" font-color="red">
      Text: This is the text.</fo:block>

which is what I would expect, and what I'd assume you wanted?

> What do I need to do to resolve this, seemingly bizarre, behavior? 

what behaviour do you see?

The fact that the attribute sets are imported several times has no
effect on the runtime behaviour. The attribute sets have the same name
but only the highest precedence set has any effect.

David

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.