Subject: RE: Best practice question, regarding escaped entitiy declarations
From: "Diamond, Jason" <Jason.Diamond@xxxxxxx>
Date: Tue, 26 Mar 2002 17:21:54 -0600
|
> You can define a variable in your stylesheet, like $pound, and set it
> equal to the Unicode character, then use $pound throughout
> the code. It
> is possible to also load a DTD that has this entity defined, but I
> really do not like that option. I would stick with Unicode, and
You could also define an entity in your document's internal subset. That's
more convenient than using an XSLT variable since you don't have to use
xsl:value-of to output it.
Jason
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|