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]
Other format: [Raw text]

Re: applying templates to an attribute - and adding markup


> I want to put markup in the attribute but that is illegal
> viz.
>
> xml:
> John <alt executive="is creating" other="has created"
> another="<i>will</i> create"/>
>
> 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.

No, that's not possible. The only thing is using &gt; and &lt; and
disable-output-escaping, but I'd strictly avoid this!! Furthermore the XML
is not more readable then.

Joerg


 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]