Hi, I've just discovered the bad news that "Inline notation is not supported" (Dynaments manual v9.0 page 115) in the xpath-expr attribute of the rde-dm:content dynament in Delivery Server. This is a show-stopper problem for the archictecture that I had in mind for managing data in DS.
This is what I want to do: <rde-dm:content ...> <rde-rd:content mode="remove" xpath-expr="/data/ [#request:attributeName#]"/> <rde-rd:content mode="add" xpath-expr="/data"> <rde-dm:attribute mode="read" source="request" attribute="[#request:attributeName#]"/> </rde-rd:content> </rde-dm:content> Basically I want to update an element of an XML file in the repository, without knowing the name of the element until it is supplied at runtime by a request attribute. The "remove" part doesn't work as the [# #] notation is not supportedin the xpath-expr attribute. Can anyone think of an alternative approach? My only thought is to read in the entire XML file, update the field(s) which need updating, and then write out the entire file again, avoiding the use of XPath for the writing. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to reddot-cms-users@googlegroups.com To unsubscribe from this group, send email to reddot-cms-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en -~----------~----~----~----~------~----~------~--~---