Re: [xslt] Bug when declaring entities?
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] Bug when declaring entities?
- Date: Tue, 17 Sep 2002 19:03:25 -0400
On Tue, Sep 17, 2002 at 06:09:32PM -0400, Paul Tremblay wrote:
> On Tue, Sep 17, 2002 at 01:43:50PM -0400, Daniel Veillard wrote:
> > Simply define the namespace in the entity:
> >
> > <!ENTITY nbsp "<xsl:text xmlns:xsl="..." disable-output-escaping='yes'>&nbsp;</xsl:text>">
>
>
> I don't follow this. I think I need to read more about namespaces to
> fully understand your argument.
it's a bit complex, it's also related to where entities replacement
and namespace detection occur in an XML processor.
> I know this isn't a tutorial mailing list, but how else would I get
> ' ' into an html document using xsltproc?
  is another way to put it in the stylesheet, and then the same
character will be generated in the output and depending on the output
encoding it may be generated as ,   (or the hexadecimal one)
or directly the caracter with that code point in the given encoding.
This should be completely equivalent for the HTML client.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]