Trouble referring to specific pages
This is an open discussion with 3 replies, filed under General.
Search
Can you describe specifically what it is you're trying to achieve?
As an aside, it would be easier to read very small snippets of code such as those in your pastie if you include them in your post. You can also make links here using markdown. :-)
It would be useful to also see the XML you are transforming. From your pastie it sounds like you;re having problems selecting a single page:
But how can I show a specific page:
Without seeing the XML I cannot be sure, but perhaps "handle" is an attribute rather than an element. If so, try:
<xsl:apply-templates select="page[@handle='about']" />
Nick, Thanks, yup, you were spot on! handle is an attribute!
Create an account or sign in to comment.
I went through the "Hello To Symphony" tutorial and it was very eye opening to some mistakes and mis-conceptions I was having. I clearly understand a lot better now.
I am still having some misunderstanding though on how to work with a specific page.
In navigation.xsl I have:
http://pastie.org/3622395
and It just doesn't work. Can anyone provide any insight?