[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 16:15:47 -0500
andreas 1.0 multi

On Nov 23, 2003, at 2:02 PM, Andreas L. Delmelle wrote:


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"
^^^^^
If you really want the entities outputted as characters, set this to "text"

This solves the character issue, but removes all markup.


If I run the following template alone I get entities converted to characters, and the XML markup is left alone, which is what I want.

 <xsl:template match="/ | @* | node()">
   <xsl:copy>
     <xsl:apply-templates select="@* | node()"/>
   </xsl:copy>
 </xsl:template>

If I run the template to create the separate documents, I get entities again. Why? Is it something about the document function?

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.