|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: multi-document question
> If I run the template to create the separate documents, I get entities > again. Why? Is it something about the document function? entity expansion is done by the xml parser, before XSLt processes the input so the stylesheet sees the same input whether or not it uses entities. Most systems, in the html output method output characters using entity references (however they were input) for those characters that have entities in html. 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. The only other way in which you could be getting entitiy references in xslt output would be to use disable-output-escaping, in which case, the standard advice applies: don't use disable-output-escaping. David -- http://www.dcarlisle.demon.co.uk/matthew XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








