I've started a topic on Stack Overflow related to grouping XML nodes by Month And Year for a custom Blog that I've built.
To keep this post clean and readable, I've provided a link to the question so you can see my XML but I'll post the answer I've received here. Please see if you can tell what's wrong with it.
Note, Because Umbraco uses $currentPage, I tried replacing the
*/*/BlogPost
with
$currentPage/descendant::BlogPost
but that throws a weird error
For security reasons DTD is prohibited in this XML document. To enable
DTD processing set the DtdProcessing property on XmlReaderSettings to
Parse and pass the settings into XmlReader.Create method.
I found another post here with the same error which suggested adding urn: before the xmlns:m="my:months" but that didn't help either.
The entire code is a bit out of my league, so any help is appreciated.
Grouping XML nodes by Month and Year in XSLT
Hi everyone,
I've started a topic on Stack Overflow related to grouping XML nodes by Month And Year for a custom Blog that I've built.
To keep this post clean and readable, I've provided a link to the question so you can see my XML but I'll post the answer I've received here. Please see if you can tell what's wrong with it.
Note, Because Umbraco uses $currentPage, I tried replacing the
with
but that throws a weird error
I found another post here with the same error which suggested adding urn: before the xmlns:m="my:months" but that didn't help either.
The entire code is a bit out of my league, so any help is appreciated.
is working on a reply...