Search

I tried to search Google and the forums but did not find a useful answer whatsoever. I got some XML that looks like this:

<a>
    <b>asdf</b>
    <media:content url="http://example.com/" />
</a>

and want to match <media:content ...

Any suggestions on how to do so?

I presume you're using something like an Atom feed which contains XML namespaces. You'll need to declare the namespace prefix media at the top of your stylesheet to be able to use it.

Step 8. Integrate a Twitter Feed of the Say Hello to Symphony tutorial has an example to follow.

Thanks so much Nick. That totally worked for me ;) I knew there was a tutorial on this somewhere that I have already read but I just could not find it.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details