This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Is there a way to pull 'n' push within an XSL-File ???


Hi,
is it possible to pull out information from my XML-File (e.g. a Streaming-URL) and 
immediately push it into Attributes of my XSL-File for example when calling a mediaplayer ?!
I've tried to work with xsl:variable, but the value-Attribut of my Mediaplayer-Object has
to be an URL-String.

Here's the sample code within my XSL-File:

<table>
	<xsl:for-each select="Streaming">
		<tr>
			<td>
				<xsl:value-of select="URL"/>

<!-- pulling from XML-File works fine, but...   -->

			</td>
			<td>
				<xsl:value-of select="Filename"/>
			</td>
		</tr>
	</xsl:for-each>
</table>
<object ID="MediaPlayer1" width="320" height="240" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" standby="Loading Windows Media Player components..." type="application/x-oleobject">
	<param name="FileName" value="http://myserver/streaming/nomelody.asx"/>

<!-- Here I have problems when using <xsl:variable name="any" select="url-Element"/>

	<param name="ShowControls" value="True"/>
	<param name="AutoRewind" value="True"/>
	<param name="AutoStart" value="False"/>
</object>


Ingo Wolf
Audio-Systeme
T-Systems
E-Mail:  WolfI@t-systems.de
            




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]