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

xt : Extension Functions

Subject: xt : Extension Functions
From: Christopher Devenoges <devenoges@xxxxxxxxxxx>
Date: Mon, 13 Dec 1999 02:37:18 +0100
devenoges
i am using an extension function in xt to replace a ID in a document
generated by a another system. i was formally doing this with a sax
handler, but basically the the whole document remains unchanged except
for one type of tag. it would be nice to do all the processing in the
system in a similar way as this would make things a lot simpler.

i have:
xmlns:post="http://www.jclark.com/xt/java/com.webfair.content.Post"
along with the other namespace declarations.

in a template rule: 
<data>
	<xsl:value-of elect="post:process(//wfdata[@id='articleID'])"/>
</data>
in the stylesheet, and :
<wfdata id='articleID'>12</wfdata>
someplace in the xml document.

Calling the extension works if i use a literal, but not if it is a
variable, parameter or select. can this be done?

regards

chris devenoges
developer - webfair.com


 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.