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

RE: xml (source) file name in html (output format) met

Subject: RE: xml (source) file name in html (output format) meta tag
From: "Da Costa Martins, Iolanda Maria (Iolanda)" <dacostamartins@xxxxxxxxx>
Date: Tue, 24 Jun 2003 09:40:04 -0400
content type xml filename
Thank you Jarno,

I was getting the same implementation but then by writting entities for
that.
Your method doesn't really solve my specific problem: I am transforming
hundreds of files and I need to declare the filename as a variable that has
its value dictated at run-time (runtime of transformation of each xml
file)...

Cheers
-Iolanda

-----Original Message-----
From: Jarno.Elovirta@xxxxxxxxx [mailto:Jarno.Elovirta@xxxxxxxxx]
Sent: Tuesday, June 24, 2003 2:27 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  xml (source) file name in html (output format) meta
tag


FAQ,

> Due to the specific requirements of PegHelp, I need to output 
> the following
> section in the beginning of the file:
> <HTML>
> <HEAD>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <META http-equiv="Content-Type" content="{filename}.html">

Rewrite this to 

  <META http-equiv="Content-Type" content="{$filename}.html">

, add 

  <xsl:param name="filename" select="''"/>

as a top-level instruction into your stylesheet, and set the filename
parameter using the API of your XSLT processor.

Cheers,

Jarno - Wumpscut: Totmacher (Haujobb Mix)

 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.