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

RE: Parameter problem

Subject: RE: Parameter problem
From: "Hellstern, Manny" <manny.hellstern@xxxxxxxxxxxxxx>
Date: Wed, 13 Mar 2002 14:09:31 -0600
hellstern
This gave me the same result.

-----Original Message-----
From: Dion Houston [mailto:dionh@xxxxxxxxxxxxx]
Sent: Wednesday, March 13, 2002 1:57 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Parameter problem


That's actually correct...  xsl:value-of selects the string content of
what you specify, it does not copy tags.

Try using <xsl:copy-of select="//INTROMSG/*|//INTROMSG/text()"/>

Dion


-----Original Message-----
From: Hellstern, Manny [mailto:manny.hellstern@xxxxxxxxxxxxxx] 
Sent: Wednesday, March 13, 2002 11:42 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: RE:  Parameter problem

For simplification, I'm now trying this:

 	<INTROMSG>
 		Please click on the <img id="imgAlert"
src="http://aaa/images/pic.gif" />  in order to continue.
 	</INTROMSG>

and in XSL I'm doing this:

<p id="pInstructions"><xsl:value-of select="//INTROMSG"></p>

but my result is still:

	Please click on the in order to continue.

however, if I change my XSL to:

	<p id="pInstructions">Please click on the <img id="imgAlert"
src="http://aaa/images/pic.gif" />  in order to continue.</p>

it works.

What am I missing?
-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Wednesday, March 13, 2002 12:29 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Parameter problem



> In the application I'm trying to complete, I'm trying to introduce a
> "configurable" aspect to the application by giving the client control
over
> the XML file. 

You can do that, but you have to put _data_  in the users file which the
processor can use to customise its behaviour, you can't put in snippets
of XSLT/XPath code, any more than you'd expect a program written in C 
to be able to incorporate random bits of C source code embedded in a
document.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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

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


 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.