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

RE: xalan and replace "regex"

Subject: RE: xalan and replace "regex"
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 28 Dec 2007 00:29:57 -0000
RE:  xalan and replace "regex"
> The reason I am hesitant is this problem. I don't want to 
> rewrite everything for saxon.
> I am using docbook-xsl-1.73.2. And this is the latest one. 
> The document I am trying to compile is this :
> 
<snip/>
> 
> I don't know if it get's any simpler.

There's nothing wrong with your source document - no-one ever suggested
there was! - the problem is in the stylesheet.

Basically, if you want to use the XSLT 2.0 replace() function, which is what
you were trying to do, then you will need an XSLT 2.0 processor, and you
will need the XSLT 2.0 versions of the docbook stylesheets. See
http://wiki.docbook.org/topic/DocBookXsl2Stylesheets - but I don't know what
the current state of play is. If you don't want to make that move, you won't
be able to use replace() or xsl:analyze-string. It's your choice.

Michael Kay
http://www.saxonica.com/

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.