Vikram asks:
>Like the Math transformations in XSLT, are there any ways in which
>strings can be manipulated?
This is a FAQ.
In some sense, the math/string/boolean/node-set functions aren't "in"
XSLT, except for a few in Chapter 12 of the XSLT spec. The rest of the
expression language is XPath.
[[ resending with a subject line this time ]]
I added dbxml to Gump, and it looks like the DTM changes will break
backwards compatiblity.
Would it be possible to restore the mutableNodeset method (perhaps
deprecated) that returns a NodeSet, and add a mutableNotesetDTM method
which returns a Node
Joseph,
Just out of curiosity, is it easy to build a DTM directly in memory, and
then do a transformation on that? I do a lot of in memory work, and DOM (not
Xalan) does seem to consume a lot of resources.
Cory
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
+---+
| Bugzilla Bug ID |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned
+---+
| Bugzilla Bug ID |
| +-+
| | Status: UNC=Unconfirmed NEW=New ASS=Assigned
See the XPath string functions: substring, substring-before,
substring-after et al. Also, have a look at Dave Pawson's FAQ at
http://www.dpawson.co.uk/xsl/xslfaq.html
If the functionality is not available in XSLT itself, you could always
code some simple extension functions.
HTH,
Gary
> -
hi,
Like the Math transformations in XSLT, are there any ways in which strings
can be manipulated?
Basically I want to be able to extract sub-strings, reverse strings etc
using XSLT.
thanks,
Vikram
Rick --
I'm not sure if this was ever resolved to your satisfaction. The format
that you had been using:
should have passed a single node to your extension function. This is
because it creates the Values variable to be of type
result-tree-fragment which is defined to have a single root node