Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading data from a text file

Status
Not open for further replies.

simonchristieis

Programmer
Jan 10, 2002
1,144
GB
Can I load text from a text file using xslt ?

kinda like this:

<xsl:variable name="test">
<xsl:value-of select="document('C:\Text.txt')"/>
</xsl:variable>

<xsl:value-of select="$test"/>

Anyone got any ideas ?

Thanks in advance

Simon


 
You've to use platform-dependent extension functions. Native xslt function?... maybe not at the moment.
 
Thanks.

Thats what I thought. Just wondering if anyone had any nifty hacks, did I say hacks? I meant handy workarounds.
 
>Just wondering if anyone had any nifty hacks, did I say hacks? I meant handy workarounds.
Do you mean workarounds but within the xslt recommendation? or do you mean with extension? If former, I can't help as mentioned.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top