[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl:attribute problem

Subject: Re: xsl:attribute problem
From: Jens Laufer <jens@xxxxxxxxxxxxxx>
Date: Mon, 2 Dec 2002 14:56:33 +0100
jens laufer
Am Montag, 2. Dezember 2002 13:06 schrieb Michael Kay:
> The output you are trying to achieve is not well-formed HTML, so the
> only way you can construct it with the HTML output method is to use
> disable-output-escaping.
>
> The <?---?> thing is not a processing instruction (because PIs can't
> occur inside attributes); if it were a PI, you would create it using
> xsl:processing-instruction, not xsl:pi.
>
> Michael Kay
> Software AG
> home: Michael.H.Kay@xxxxxxxxxxxx
> work: Michael.Kay@xxxxxxxxxxxxxx
>
Thanks Michael.
Yes, but how can I do it then? 

I think that should be a kind of standard problem. If something like that is 
not possible, then XSLT looses some of it's power.
And don't misunderstand me, I don't want I quick "workaround solution".
I am actually looking for something which suits to the XSLT specification...
I know that stuff like href="<?php echo $test?>" or href="<%= test%>" is 
actually not nice, but there is no other way to do it...
Regards,
Jens

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.