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

RE: Document() and &

Subject: RE: Document() and &
From: "Charles Knell" <cknell@xxxxxxxxxx>
Date: Fri, 17 May 2002 11:25:07 -0700
pls portal30
I hope you don't mind if I jump in on this thread, because I am struggling
with the same issue, yet the approach of substituting the HTML entity
&amp; for the literal & is going nowhere.

Below are two examples of a fragment of an HTML element produced by passing
in a quoted string as a parameter. The goals is to pass a URL as a parameter
to the XSLT and get a valid URL in the output HTML document. In the first
one, I used '&' in the original string, in the second, I used '&amp;'

As you can see, there is no difference between them. So what part about
the entity substitution approach am I missing?

<script language="JavaScript" src="http://my.eis.army.mil/pls/portal30/eis_CLOB.include_JScript?p_tableName=tbl_javascripts_2&amp;p_docName=oQRpt5

<script language="JavaScript" src="http://my.eis.army.mil/pls/portal30/eis_CLOB.include_JScript?p_tableName=tbl_javascripts_2&amp;p_docName=oQRpt5

-- 
Charles Knell
cknell@xxxxxxxxxx - email


---- "Stuart Celarier" <stuart@xxxxxxxxxxx> wrote:
> >> That string does not look like well-formed XML to me,
> 
> > It's part of a well formed document, so must have < and & quoted.
> 
> Ah, it must be valid XML character data
> (http://www.w3.org/TR/2000/REC-xml-20001006#syntax), not well-formed
> XML. I'll buy that.
> 
> My big toe is part of me, but it bothers me when people constantly
> think
> that my big toe is in fact me. Sm;)ey.
> 
> Cheers,
> Stuart
> 
> 
> 
>  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.