This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: applying templates to an attribute - and adding markup
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 20 Dec 2001 09:46:22 -0000
- Subject: RE: [xsl] applying templates to an attribute - and adding markup
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I want to put markup in the attribute but that is illegal
>
> I like the idea of putting these alt(ernates) in attributes
> rather than as tags cause it is much easier to maintain and much
> more readable in the xml but - I am asking for too much in the
> request above, it seems.
>
Yes: XSLT is designed to produce XML as defined, not XML as you would have
preferred it to be defined.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list