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

Re: special characters

Subject: Re: special characters
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 27 May 2003 11:50:30 +0100
qt special characters
Hi Wendell,

>>I thought I'd take this opportunity to describe one of the new
>>features in XSLT 2.0 -- the ability to map characters in text nodes
>>and attribute values during output onto arbitrary strings. This is
>>done through a "character map".
>
> Yayy!
>
> Are there any other cool ways we get to drive the serializer?
>
> (Like more control over output indenting, say, or that kind of thing?)

You don't currently get any more control over output indenting
(although there's nothing stopping individual processors giving that
to you). There are some additional attributes on <xsl:output>, though,
namely:

  - escape-uri-attributes determines whether HTML URI attributes
    (e.g. a/@href and img/@src) are escaped automatically or not with
    the html and xhtml output methods. You can turn off escaping and
    then use the new escape-uri() function to get greater control over
    the escaping of these attributes.

  - include-content-type determines whether the <meta> element gets
    added with the html/xhtml output methods.

  - normalize-unicode determines whether the result gets normalized to
    Unicode Normalization Form C.

  - undeclare-namespaces determines whether namespaces should be
    undeclared or not -- this is to support XML Namespaces 1.1 in
    which namespaces can be undeclared.

Also note that the serialisation spec is now separate from XSLT: you
can find it at http://www.w3.org/TR/xslt-xquery-serialization.
Hopefully that means that it can be used elsewhere (in particular by
XQuery).

If there are other things that you want to have control over regarding
serialisation, I recommend asking for them on
public-qt-comments@xxxxxxx
    
Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 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.