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

RE: embedding XML in the value of attribute

Subject: RE: embedding XML in the value of attribute
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Fri, 6 Jul 2001 00:06:44 +0100
xsl embedding greater than
It's a fundamental (and useful) feature of XSLT that a stylesheet is a
well-formed XML document. In other words, no way!

Mike Kay
Software AG

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of B. Tommie
> Usdin
> Sent: 05 July 2001 23:01
> To: xsl-list
> Subject:  embedding XML in the value of attribute
>
>
>
> >From: Larry_Mason@xxxxxx
> >To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> >Subject: embedding XML in the value of attribute
> >Date: Thu, 5 Jul 2001 15:00:42 -0500
>
> >I am trying to define a syntax that works in JSP and XSLT
> where I compute
> >the class for a tag given various conditions.  The following
> syntax works
> >in a JSP page using a custom tag for formclass.
> >    <input type="text" class="<larry:formclass/>"/>
> >
> >I have a similar XSLT template for formclass.  However,
> processing the
> >syntax above in my XML feed complains about the < preceding
> the namespace.
> > If I change it to
> >    <input type="text" class="&lt;larry:formclass/>"/>
> >everything works fine.
> >
> >I would prefer identical syntax if possible [ note: the
> first syntax must
> >remain for the JSP to work properly ].  Any thoughts?
> >
> >If I can't "fix" it, I think I will suggest this syntax and recommend
> >escaping the embeded less-than and greater-than symbols.
> >    <input type="text" class="&lt;larry:formclass/&gt;"/>
> >
> >Cheers!
> >Larry
>
> --
> ======================================================================
> B. Tommie Usdin                        mailto:btusdin@xxxxxxxxxxxxxxxx
> Mulberry Technologies, Inc.
> http://www.mulberrytech.com
> 17 West Jefferson Street                           Phone: 301/315-9631
> Suite 207                                    Direct Line: 301/315-9634
> Rockville, MD  20850                                 Fax: 301/315-8285
> ----------------------------------------------------------------------
>   Mulberry Technologies: A Consultancy Specializing in SGML
> and XML
> ======================================================================
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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.