AnsweredAssumed Answered

Update a repository xml file using XSLT

Question asked by boneill on May 10, 2008
Latest reply on May 11, 2008 by pmonks
Hi,

When a user creates a news article I am trying to update an existing xml document which holds a list of news items with the new news item.

Therefore, I need to update another node (xml file) from an xslt template executed from the news webform.  I know where the target node is in the repository (/home/news-list.xml) but it will never be associated with a webform. 

1) Using parseXMLDocument what is the correct virtual path to use if the target node is in the Staging Sandbox.
2)parseXMLDocument will give me the root node (set of nodes) to get values from.  How can I update the target document.  I have been through the examples I cannot seem to find this scenario anywhere.

Any help would be much appreciated.

Regards

Brian

Outcomes