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]

Re: Re: producing php with xslt


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


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