I created a small test database which looks like this:
And then I wrote a simple QueryPath Script Like this:
Now, I need a string[text value] of the query which I get [i.e. I get what I want, which then I use as an input into html text form on the web/excel/csv/etc], but the problem is, when I run this script from command line, I get extra block of HTML code/document generated which I dont need, i.e. output looks like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>Untitled</title>
</head>
<body>matt</body>
</html>
matt
So basically what I want is "matt", which is what I get, but I also get all of this "extra" as u can see which I dont want. Does anyone know how to extract only "matt"? I obviously I cant extract text straight out of MySQL query, because it is a resource/object so does anyone knows a way/hack around it? QueryPath or No QueryPath is fine [althought QueryPath hack is better!] |
--
You received this message because you are subscribed to the Google Groups "support-querypath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to support-queryp...@googlegroups.com.
To post to this group, send email to support-...@googlegroups.com.
Visit this group at http://groups.google.com/group/support-querypath?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.