Displaying a list of a specific document type (Umbraco 4)
Hello,
I am new to xslt and I am trying to display a certain type of document node underneath a parent node. I have everything working except that my "for-each" code is displaying for other node types.
I want it to display a "for-each" for just the MediaLibraryItem. Right now, it is also displaying the "for-each" for the page node. I had this working before in Umbraco 3, but I am now using V4.
I know this particular line of code is the issue.
[code]
Displaying a list of a specific document type (Umbraco 4)
Hello,
I am new to xslt and I am trying to display a certain type of document node underneath a parent node. I have everything working except that my "for-each" code is displaying for other node types.
[code]
]>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
----------------------------------------------
Hello
Title:
Thumb:
Full File:Download
Lib Notes:
[/code]
Basically, I have a parent node:
Library
|- MediaLibraryItem
|- MediaLibraryItem
|-Page
I want it to display a "for-each" for just the MediaLibraryItem. Right now, it is also displaying the "for-each" for the page node. I had this working before in Umbraco 3, but I am now using V4.
I know this particular line of code is the issue.
[code]
is working on a reply...