XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Eric RehmSubject: User functions?
Author: Eric Rehm
Date: 25 Oct 1999 03:08 PM
I have an attribute (date/time) in my input XML file that I wish to use, slightly modified, as an attribute in my output XML file.

Is there anyway to have Stylus call out to a function so I can reformat the value of this field? (In this case, I want to put the date into ISO 8601 format.)

Are there any plans for such "generalized" escapes? I know this is a slippery slope for a standards-based product, but here's a real example where I actually want to be more standards-based.

Posttop
Carl SjogreenSubject: User functions?
Author: Carl Sjogreen
Date: 25 Oct 1999 03:49 PM
There is a standard way in XSLT now for calling out to extension functions, but neither the Stylus nor the eXcelon processor support that yet. It doesn't look like this is going to make it in to 2.1, but it should be available in the next release.

-Carl

--
Carl Sjogreen
Product Manager, eXcelon Tools
Object Design, Inc.
p 781.674.5143
f 781.674.5243

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.