ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xsl-list
xsl-list
Re: [xsl] applying templates to an attribute - and adding markup
by Joerg Heinicke other posts by this author
Dec 20 2001 3:13AM messages near this date
[xsl] applying templates to an attribute | Re: [xsl] applying templates to an attribute
>  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
Thread:
Eric Smith
Joerg Heinicke
Joerg Heinicke
Eric Smith
David Carlisle
Michael Kay
Wendell Piez

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved