[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 12:10:55 -0500
multi file output xsl

On Nov 23, 2003, at 11:40 AM, Ben-Zvi, Elisha wrote:


Sorry (replace the order in the select).

That did it; thanks!


Now, this introduces another issue:

The files I am interested in breaking apart use character entities, and I want them to be characters instead. Why is this stylesheet creating entity output, regardless of the input?

I ran the file through another stylesheet that just does an identity transform. When I then run the output file that results from that through this stylesheet, I end up with entities again. Is there something I need to add to get this to work correctly from that standpoint?

Again, here's the stylesheet as it stands:

<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
extension-element-prefixes="exsl">
<xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>
<xsl:strip-space elements="*"/>


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


</xsl:stylesheet>

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.