[Home] [By Thread] [By Date] [Recent Entries]

Subject: xpath problem
From: "=?big5?b?qkwgpGyq5A==?=" <minikittygo@xxxxxxxxxxx>
Date: Thu, 02 May 2002 15:15:51 +0000
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 ¬Ûï´£¨Ñ±z³Ì²³æªº¤è¦¡¤À¨É¨Ã¦C¦L±zªº¬Û¤ù¡A½Ð²¾¦Ü¡G 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)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member