This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Best practice question, regarding escaped entitiy declarations


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]