Developer forum

Forum » Development » template.XmlDocument internal in DW8

template.XmlDocument internal in DW8

Steen Nørgaard Perdersen
Reply
Hy Guys,

i'm facing a rather huge problem.

In the good old days (pre DW8) I cound do this:

var doc = XDocument.Parse(template.XmlDocument.InnerXml);


and then add what ever unparsed xml i wanted made available to the frontender. Very, very usefull when working with feeds of all sorts, where theres no real reason for the backender to evaluate the contents.

in DW8, the XmlDocument property is made internal.

First question: Why?
Second question: Any other way to merge external xml into the template before transforming (template.output())


Best regards,

Steen,
Bleau

Replies

 

You must be logged in to post in the forum