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

Re: passing a string as a node list

Subject: Re: passing a string as a node list
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 21 Jun 2001 11:50:45 -0400
xerces string standard string conversion
Standard xslt does not let you convert a result-tree-fragment (or a string)
into a node-set.  Some processors (like SAXON) have an extension function
that does let you do it.  Xalan (which I think you meant instead of Xerces)
also has one (I think, someone else would know for sure).  How you invoke
the extension function is different from one processor to another, so you
have to read Mike Kay's book, the docs for your processor, or search in the
FAQs.  Actually, I'm not sure if you could convert a string anyway, but you
can probably change your stylesheet to make it work.

Cheers,

Tom P

[Tim]

> If I use the $keywords variable directly, Xerces throws the exception
> saying "Can not convert #STRING to a NodeList" so I've been trying
> various methods of turning the string into the node list.
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • passing a string as a node list
    • Tim - Thu, 21 Jun 2001 11:20:28 -0400 (EDT)
      • Thomas B. Passin - Thu, 21 Jun 2001 11:56:31 -0400 (EDT) <=
      • <Possible follow-ups>
      • Tim - Thu, 21 Jun 2001 12:39:59 -0400 (EDT)
      • Maulik Modi - Thu, 21 Jun 2001 13:05:09 -0400 (EDT)
      • Tim - Thu, 21 Jun 2001 16:10:09 -0400 (EDT)
      • Tim - Fri, 22 Jun 2001 04:13:27 -0400 (EDT)

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.