Re: [xsl] Re: producing php with xslt

Subject: Re: [xsl] Re: producing php with xslt
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 13:24:55 +0100
Wendell wrote:
> If the "processing instruction" has to go in an attribute, you can't
> create XML, since XML doesn't allow that.
>
> Back to square one. Create it as a literal string with
> disable-output-escaping. Be aware that the result won't be XML, and
> a conforming XML processor will refuse to handle it. (Your PHP
> processor might be okay with it though; I can't speak to that.)

Note that the 'it' that you have to create as a literal string is the
entire start tag of the element (and the end tag too) since you can't
have text that's had output escaping disabled within an attribute
value either.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread