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

RE: File-Name, Node delete

Subject: RE: File-Name, Node delete
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 13 Nov 2000 10:21:40 -0000
how to delete file name
> 1. When converting a xml document via a xsl stylesheet to
>    a html output I want to know the filename ( "myfile.xml" )
>    in my stylesheet for using it with the document function.

Not available directly, pass it in as a parameter.
Saxon has a saxon:system-id() extension function.

> 2. Is there a way in the "X-Techs" to remove a node from the 
> result output tree?

The result-tree is a "write-once" object, you can't remove a node from it,
you have to avoid adding the node to it in the first place.

Alternatively, run another transformation on this tree to produce the final
result tree. These can be two separate stylesheets, or the intermediate tree
can be a result-tree-fragment which you can further process using the
node-set() extension function.

Mike Kay


 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.