Hi, thank you for your help :) I have come to the conclusion that the server is blocking my attempts to include externally stored file. The xml file path is definitely correct. Can anyone think of any idea's or other ways I could check the access settings of the server?
The error report below (urls have been altered): <!-- DynaMent-Report: <report code="-7901" dynament="XmlIncludeDynaMent" general- code="-901"><rde-rd:message code="-7901" dynament="XmlIncludeDynaMent" general-code="-901">A time-out occurred while retrieving external content</rde-rd:message><rde-rd:dynament appserver="yes" buffer- stream="discard" content="http://site.com/xml/index.xml" contentinclude-attribute="rdeContentInclude" contenttype="text/xml" context-mode="mixed" mode="include" name="XmlIncludeDynaMent" project="project" report-tag="report" /><rde-rd:details dynament="XmlIncludeDynaMent"><rde-rd:detail code="-7901" general- code="-901" seq="1"><rde-rd:level>Warn</rde-rd:level><rde-rd:message>A time-out occurred while retrieving external content: Timeout for url 'http://site/xml/index.xml'.</rde-rd:message></rde-rd:detail><rde- rd:detail code="-7901" general-code="-901" seq="2"><rde- rd:level>Error</rde-rd:level><rde-rd:message>A time-out occurred while retrieving external content: Content error for content=http://site.com/ xml/index.xml: codes= message=0/UrlRequestTimeout (inaccessible or unexpected content type?).</rde-rd:message></rde-rd:detail></rde- rd:details></report> --> On Apr 14, 8:12 pm, "Nik S." <[email protected]> wrote: > Hi Jonathan, > > The following Include DynaMent should work: > > <rde-dm:include mode="include" contenttype="text/xml" > content="<EXTERNALCONTENT>" stylesheet="<XSLT STYLESHEET>" > tag="notag" /> > > For the <EXTERNALCONTENT> placeholder, the name of theexternalXML > content should begin with http://, https:// or file://. (See > “DynaMents” manual for detailed info about the Include DynaMent.) > > If that doesn’t work for you, ensure that you can, in fact, retrieve > theexternalXML content via a browser from the server where DS is > installed. Also, you can add the predefined report-tag attribute to > above Include DynaMent for additional DynaMent processing info: > > <rde-dm:include mode="include" contenttype="text/xml" > content="<EXTERNALCONTENT>" stylesheet="<XSLT STYLESHEET>" report- > tag="<TAG NAME>" /> > > Nik > > On Apr 14, 2:00 pm, Jonathan <[email protected]> wrote: > > > > > > > > > Hi, > > > I have a problem completing a specific task within a new content class > > I have put together, this problem involves using the following line of > > code: > > > <rde-dm:include content="file.xml" stylesheet="xmlstyle.xsl" > > cachingtime="0" /> > > > The rest of the template publishes without error and displays > > everything but the intended styled xml output. > > > I have previously used the afore mentioned line of code successfully > > where 'file.xml' would relate to an XML file stored within the local > > server, I was able to style the content as much as I wanted. However, > > I am now trying to use the same functionality, but instead of > > referencing an internal XML file, I am required toreferencean > > externally stored XML file. > > > I guess my question is, is this a possibility? could there be any > > distinct reason why this would not work? > > > I thank you kindly in advance for any help you are able to offer. > > Many Thanks, > > Jonathan -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
