This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Best practice question, regarding escaped entitiy declarations
- From: "Diamond, Jason" <Jason dot Diamond at MKG dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Cc: CSNOW at ddpwa dot com
- Date: Tue, 26 Mar 2002 17:21:54 -0600
- Subject: RE: [xsl] Best practice question, regarding escaped entitiy declarations
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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