xsl-list
[Top] [All Lists]

Re: [xsl] xml to xml issue in XSLT2.0

2007-11-20 05:49:22
Ken, what do you mean by a serialization surrogate?

On 20/11/2007, G. Ken Holman <gkholman(_at_)cranesoftwrights(_dot_)com> wrote:
At 2007-11-20 11:34 +0000, Colin Adams wrote:
I would think that a private code point would be an ideal separator.

I'm increasingly using private characters as serialization
surrogates.  And while they might be less likely used for the text of
Western European transmissions, I have not assessed their likelihood
for being used in ideographic scripts as placeholders for
non-existent characters, such as people's names.  Yes, their
semantics are not internationally standardized (other than being for
private use), but two Asian trading partners may very well be
choosing to use them privately.

As I explained about the normalization of line-ending sequences, I've
long thought that the character reference &#xd; to be a very safe
choice for an XML character unlikely to be found in XML source documents.

. . . . . . . . . . . . Ken

On 20/11/2007, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
Do you need to worry about the delimeter here?  Just using:

concat(../@name, @name)

should be fine for the grouping key

This obviously creates the (probably small) risk that ("AB", "C")
ends up in
the same group as ("A", "BC").

Michael Kay
http://www.saxonica.com/


--
Comprehensive in-depth XSLT2/XSL-FO1.1 classes: Austin TX,Jan-2008
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>