[XML-SIG] XSLT magic
Juergen Hermann
Juergen Hermann" <jh@web.de
Thu, 06 Dec 2001 19:55:23 +0100
On Thu, 6 Dec 2001 17:22:06 +0100 (CET), Nicolas Chauvat wrote:
>
> <article>
> <title>My Title</title>
> <para>my text</para>
> <para>other text</para>
> </article>
>
>and
>
> <xupdate:remove select=3D"/article[0]/para[1]"/>
>
>would output
>
> <article>
> <title>My Title</title>
> <para>my text</para>
> <para revisionflag=3D"removed">other text</para>
> </article>
Use the schematron idea, i.e.
doc.xml --------------------------\
\
changes.xml ---> diffgen.xsl ---> diff.xsl ---> docdiffs.xml
Ciao, J=FCrgen