twitter

Recent Comments

parallels promo code
parallels promo code May 20, 2012 at 9:58PM
Creating A Recent Comments Widget With Disqus's API and PHP

Creating A Recent Comments Widget With Disqus's API and PHP good code pls try

Aaron J. White
Aaron J. White May 11, 2012 at 1:16PM
Using KeePass with Internet Explorer
The file name has to end in .js. So the filename should be URL-In-Title.user.jsMake sure that...
HsN
HsN May 11, 2012 at 11:26AM
Using KeePass with Internet Explorer

By the way, Iam using IE - 9.0.5 and KeePass - 2.19 for at this moment.

HsN
HsN May 11, 2012 at 11:18AM
Using KeePass with Internet Explorer
I followed each step but I am not seing Trixies Options (point 5), even though I restarted my...
Aaron J. White
Aaron J. White May 1, 2012 at 8:00PM
Damien van Holten
Damien van Holten May 1, 2012 at 7:27AM
Creating A Recent Comments Widget With Disqus's API and PHP

Looking at that username, link and generic comment I would say it's a bot.

Aaron J. White
Aaron J. White April 10, 2012 at 6:15AM
Using KeePass with Internet Explorer
Well, I can't recommend anything without a bit more detail. What version of IE are you using?...
Terugbelfunctie
Terugbelfunctie April 10, 2012 at 5:58AM
Using KeePass with Internet Explorer

it did not work for me, done everything as described ??

Aaron J. White
Aaron J. White March 14, 2012 at 10:00AM
Creating A Recent Comments Widget With Disqus's API and PHP

Decision for what? If you don't mind me asking.

USB 3G
USB 3G March 14, 2012 at 2:56AM
Creating A Recent Comments Widget With Disqus's API and PHP
I am really glad I read this article! With this it has really helped me with my...
Aaron J. White
Aaron J. White March 1, 2012 at 1:12PM
Using jQuery and Google Finance to Create a Simple Stock Ticker
Hi akhil. Thanks for your comment. There are a few things wrong with your code though. 1. You...
akhil
akhil February 29, 2012 at 12:31PM
Using jQuery and Google Finance to Create a Simple Stock Ticker
Thanks Aaron for the script. However, the script needs some tweaks for refreshing the price...
David Boyer
David Boyer January 13, 2012 at 4:05AM
Is Your CFLOOP Hogging Memory or Causing OutOfMemory Errors?
Interesting to find that out, wouldn't have expected it to be a problem. I've had similar...
baljit dhanoa
baljit dhanoa January 12, 2012 at 3:08AM
Creating A Recent Comments Widget With Disqus's API and PHP

Creating A Recent Comments Widget With Disqus's API and PHP good code pls try

Posted: October 11th, 2011 - So I nearly pulled out all my hair last night as I spent way to long trying to figure out why my simple xpath query was not working on an EPUB container xml file. No matter what I did my Coldfusion xmlsearch function kept returning an empty array. Turns out the issue was because the EPUB OCF specification uses a default namespace in its root element.

Of course, with it being my first time using the Coldfusion XmlSearch function and xpath none of the examples I looked at online, such as here had namespaces in them. Thus, I was unaware that an xpath string like "/container/rootfiles/rootfile" would not work on xml defined like the below:

<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="urn:oasis:names:tc:opendocument:xmlns:container" version="1.0">
   <rootfiles>
      <rootfile full-path="OPS/content.opf" media-type="application/oebps-package+xml"/>
   </rootfiles>
</container>

Notice the xmlns attribute in the container tag. That tells the xml document that a namespace has been defined. According to my light reading namespaces in xml are often given a prefix. However, the OCF specification uses a default namespace so a prefix is not used. That means you just use a colon(:) like so "/:container/:rootfiles/:rootfile".

Quick thanks to the site below which lead my to solve and understand my issue:

http://www.talkingtree.com/blog/index.cfm/2005/11/18/XmlSearchNoNameNamespace


blog comments powered by Disqus