This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Twig::, Xalan, and Character Escaping
Yes, that's what I'm getting at - XHTML *is* XML so has to use the XML
output method, but then you don't get the free URL encoding, and (as
noted below) we don't have a URL-encode() function. As James says, one
for the EXSLT file - Hello Jeni? :)
Francis.
Wendell Piez wrote:
>
> Francis--
>
> If you're writing XHTML shouldn't your output method be XML in any case?
>
> If you output HTML, it'll be not well-formed, hence not XHTML.
>
> Cheers,
> Wendell
>
> At 11:49 AM 3/20/01, you wrote:
> >Being lazy here - but can anyone tell me if there is a solution to this
> >when outputting XHTML?
> >
> >Francis.
> >
> >David Carlisle wrote:
> > >
> > > > Even though we know that XSL does not have a URLencode() method!
> > > If you are using the html output method the XSLT spec mandates that
> > > href attributes are URL encoded on output. You don't get to control that
> > > from the stylesheet. If you want to control it you could use th exml
> > > output method instead.
>
> ======================================================================
> Wendell Piez mailto:wapiez@mulberrytech.com
> Mulberry Technologies, Inc. http://www.mulberrytech.com
> 17 West Jefferson Street Direct Phone: 301/315-9635
> Suite 207 Phone: 301/315-9631
> Rockville, MD 20850 Fax: 301/315-8285
> ----------------------------------------------------------------------
> Mulberry Technologies: A Consultancy Specializing in SGML and XML
> ======================================================================
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list