Stylevision: Auto insertion of a 'last_updated' datetime attribute when the a text node is updated

D

dylan

Hi,

I have an xml document eg:

<pageSet>
<page id="0" >Some text to fill the page</page>
<page id="1" >Some text to fill the page</page>
..
..
..
</pageSet>

I've updated the schema to allow the last_updated attribute:

<pageSet>
<page id="0" last_updated="10/1/2007">Some text to fill the page</page>
<page id="1" last_updated="10/1/2007">Some text to fill the page</page>
..
..
..
</pageSet>


Now, I want the last_updated field to be inserted and or updated when
the content of the <page> node is changed.

Is this possible, and if so, can anybody give me any guidelines.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,007
Messages
2,570,266
Members
46,865
Latest member
AveryHamme

Latest Threads

Top