head	1.9;
access;
symbols;
locks
	nobody:1.9; strict;
comment	@# @;


1.9
date	99.04.16.23.04.10;	author nobody;	state Exp;
branches;
next	1.8;

1.8
date	99.04.01.18.45.23;	author nobody;	state Exp;
branches;
next	1.7;

1.7
date	99.04.01.17.40.35;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.03.23.19.41.21;	author nobody;	state Exp;
branches;
next	1.5;

1.5
date	99.03.23.19.40.50;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.03.23.18.22.09;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.03.16.23.14.31;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.03.16.23.14.21;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.03.16.23.13.56;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.9
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 110
IDependOn-Set: 54
IDependOn-Set: 64
LastModifiedSecs: 922992323
Parent: 54
SequenceNumber: 7
Title: How do I add special characters to my XSL template?
Part: 0
Author-Set: jon@@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 921626040
Type: monospaced
Lines: 44


----------
From: Arkin <arkin@@trendline.co.il>
To: Cocoon <cocoon@@list.working-dogs.com>
Subject: Re: 
Date: Tue, Mar 23, 1999, 7:28 AM


If you're using OpenXML 1.0.4 you can include the XHTML 1.0 entity
references in an XML document. That would allow you to use &nbsp;,
&euml; and all the other character sets supported by HTML 4.0.
Typically, you would do something like this in your DTD:

<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin1//EN//HTML"
   "http://www.w3.org/TR/WD-html-in-xml/DTD/HTMLlat1x.ent">
%HTMLlat1;
<!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML"
   "http://www.w3.org/TR/WD-html-in-xml/DTD/HTMLspecialx.ent">
%HTMLsymbol;
<!ENTITY % HTMLspecial PUBLIC "-//W3C//ENTITIES Special//EN//HTML"
   "http://www.w3.org/TR/WD-html-in-xml/DTD/HTMLsymbolx.ent">
%HTMLspecial;


Arkin


Thierry Coopman wrote:
> 
> Hi,
> 
> An odd question: How can I include special caracters in the xsl template
> 
> (&nbsp; &euml; etc etc)
> 
> I really need this because we have more than one language in Belgium :(((
> --
> Thierry Coopman - THieRRy@@sKyNet.be -
> My opinions are personal, and have really nothing or nothing to do
> with Belgacom Skynet!
> 
> I realise computers suck. The only reason why they are a hobby
> of mine is because I enjoy pain!
EndPart: 0
Part: 1
Author-Set: anonymous
HideAttributions: 1
LastModifiedSecs: 922988400
Type: 
Lines: 4
Subcategories:


Answers in this category:
EndPart: 1
Part: 2
Author-Set: anonymous
HideAttributions: 1
Type: directory
Lines: 4
Subcategories:


Answers in this category:
EndPart: 2
@


1.8
log
@null
@
text
@d2 1
@


1.7
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 922988435
d6 1
a6 1
SequenceNumber: 6
a60 1
DateOfPart: 1999-Apr-01  9:40am
d62 2
d70 10
@


1.6
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 922218081
d6 1
a6 1
SequenceNumber: 5
d61 1
a62 1
Type: directory
@


1.5
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 922218049
d6 2
a7 2
SequenceNumber: 4
Title: How do I add whitespace to my XSL template?
a9 1
DateOfPart: 1999-Mar-23 11:40am
@


1.4
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 922213329
d6 1
a6 1
SequenceNumber: 3
d10 1
d14 3
a16 1
Lines: 34
d18 1
a18 1
From: Stefano Mazzocchi <stefano@@apache.org>
d20 3
a22 2
Subject: Re: Whitespace
Date: Tue, Mar 16, 1999, 2:49 PM
d24 4
d29 9
a37 14
"Davison, Nicholas" wrote:
> 
> I'm trying to use &nbsp; in an xsl file but it keeps getting stripped out.
> I've tried a whole variety of ways of doing it - &nbsp; inside and outside
> of <xsl:text>s, using &amp;nbsp; and so on - but none of them work. What I
> want is a tag <tab/> that just puts three &nbsp;s into the code - something
> along the lines of:
> 
> <xsl:template match="tab">
>    &nbsp;&nbsp;&nbsp;
> </xsl:template>
> 
> Surely that should be fairly simple. Can anyone tell me what I'm doing wrong
> - and more to the point, how I do it right?
a38 1
Try 
d40 1
a40 1
 <xsl:text><![CDATA[>&nbsp;<]]></xsl:text>
a41 2
I know it's lame for such a small thing, but this is how you escape
things in XML.
d43 16
a58 5
-- 
Stefano Mazzocchi       A language that doesn't affect the way you 
                      think about programming, is not worth knowing.
<stefano@@apache.org>                             Alan J. Perlis
---------------------------------------------------------------------
@


1.3
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 921626071
d6 1
a6 1
SequenceNumber: 2
a9 1
DateOfPart: 1999-Mar-16  3:14pm
d11 1
d49 10
@


1.2
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 921626061
d6 1
a6 1
SequenceNumber: 1
d8 41
@


1.1
log
@null
@
text
@d4 1
a4 1
LastModifiedSecs: 921626035
d6 2
a7 2
SequenceNumber: 0
Title: New Item
@
