Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some more questions



Hi all,

I have some more questions i'm struggling with:


I'm having a very annoying problem with a sherlock channel i am making.
If i use the code:
let $resultlist := data-match-all($html,"<TR><TD>","<TR><TD> &nbsp; </TD></TR>,false(),false())


then i see my results when debugging in the sherlock XQuery channel, but they don't display in the table when running the program.

But when i translate the above line of code to:
let $resultlist := data-match-all($html,"&lt;TR&gt;&lt;TD&gt;","&lt;TR&gt;&lt;TD&gt; &nbsp; &lt;/TD&gt;&lt;/TR&gt;",false(),false())
I don't get any results anymore. I just don't understand why. Does the '&nbsp' thing also have to be translated?


------------------------------------------
Where can i find information about what is the difference between:

(1) let $html := ($html//BR) AND let $html := ($html/BR) -----> 1 forward slash and 2 forward slashes
(2) $html/./ AND $html/../ ------> 1 dot and 2 dots


(3) why do you say $html/BR/text() and not $html/BR/text(.) ---> with a dot in between


These are some things i tried to figure but don't know where to find it.


Thanks in advance for all the help.

Best Regards,

Michael Beaucourt
email@hidden
http://www.sherlockers.com/
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.