[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] xt : Extension Functions
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|