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

Re: multi-document question

Subject: Re: multi-document question
From: "Bruce D'Arcus" <bdarcus@xxxxxxxxxxx>
Date: Sun, 23 Nov 2003 17:58:33 -0500
saxon multi document

On Nov 23, 2003, at 4:55 PM, David Carlisle wrote:


But you are using xml output in which case there are only five entities
defined. (lt gt apos quot and amp) If your character data includes a <
or & then most systems will use a lt or amp entity (as opposed to
the alternative of a numeric character reference). Clearly a <
character can not be linearised as < as it would be taken as markup.

Sure, but the character entity in my test doc is a-acute. If I use this template instead, with Saxon (which complained about the document extension I was using), I get the correct output:


   <xsl:template match="mods">
	<saxon:output href="{identifier[@type='citekey']}.mods" method="xml">
        <xsl:copy>
	   <xsl:copy-of select="node()|@*"/>
        </xsl:copy>
	</saxon:output>
   </xsl:template>

Does this suggest a bug in xsltproc?

Bruce


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.