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
Posttop
Ravi VenkatramanSubject: Text indexes
Author: Ravi Venkatraman
Date: 02 Nov 1999 12:01 PM
My XML structure is like this (i've used "( )" instaed of "< >" for TAGS)
(Collection)
(Volume)
(Chapter)
(Content)
(para)blah blah balah(/para)
(para)blah blah balah(/para)
(para)blah WORD balah(/para)
(para)blah blah balah(/para)
(/Content)
(/Chapter)
(/Volume)
(/Collection)

I created a text index using Explorer
on .

What is the ASP syntax/code to search for WORD in ?

Your sample in the Client API give the following as the syntax for the Client API

/bookstore/book[xln:contains-words(title, "Trenton", any, 0, "")]

When i try the following 

/Collection/Volume/Chapter[xln:contains-words("Para","WORD",any,"0","")] 

I get the follwing error when the query is executed

syntax error at:'"0"' col:65 expecting: valid options argument 

I've tried it with quotes and without for the various params. No dice. What gives?

 
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.