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

xpath problem

Subject: xpath problem
From: "=?big5?b?qkwgpGyq5A==?=" <minikittygo@xxxxxxxxxxx>
Date: Thu, 02 May 2002 15:15:51 +0000
misquoted literal... expected single quote
hi, prehaps is the way i wrote the xpath, but i was wondering why will it not work when i tried to use the wildcard(*) in this particular predicate:
parent[child/grandchild=*]


but it works in this predicate
parent[child=*]

yes i know they are looking for different element but is there a particular reason why will it not work in the 1st case, but work in the latter one? any suggestion will help greatly.

my second question is about using parameter containing white spaces, is there a way to set a parameter contain whitespaces in the command line? in xalan if i use the following command :
....... -param param1 'hello world'
it tends to ignore the world part of the string, giving me the following message:


XSLException Type is: XPathParserException
Message is: misquoted literal... expected single quote!
pattern = ''hello'
Remaining tokens: () (Unknown URI, line -1, column -1)

doesn't work with double quote either.

many thanks
Regards
Kit




_________________________________________________________________ MSN 相簿提供您最簡單的方式分享並列印您的相片,請移至: http://photos.msn.com.hk/support/worldwide.aspx


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



Current Thread
  • xpath problem
    • =?big5?b?qkwgpGyq5A==?= - Thu, 2 May 2002 11:10:16 -0400 (EDT) <=
      • Greg Faron - Thu, 2 May 2002 12:24:43 -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.