Hi Jonathan, The following Include DynaMent should work:
<rde-dm:include mode="include" contenttype="text/xml" content="<EXTERNAL CONTENT>" stylesheet="<XSLT STYLESHEET>" tag="notag" /> For the <EXTERNAL CONTENT> placeholder, the name of the external XML 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 the external XML 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="<EXTERNAL CONTENT>" 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 to reference an > 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.
