Hi
Have anybody any idea about how to re-insert IDs and RIDs as shown in
the following example by xslt 2.0.
Input
<doc>
<p> xxx <anchor rid="a5">key 1</anchor> ... <anchor rid="a8">key
2</anchor> xxx <anchor rid="a5">key 1</anchor> ... <anchor
rid="a8">key 2</anchor></p>
<keys>
<key id="a5">key 1</key>
<key id="a8">key 2</key>
</keys>
</doc>
REQUIRED OUTPUT
<doc>
<para> xxx <x rid="x1">key 1</x> ... <x rid="x2">key 2</x> xxx <x
rid="x1">key 1</x> ... <x rid="x2">key 2</x></para>
<items>
<item id="x1">key 1</item>
<item id="x2">key 2</item>
</items>
</doc>
Thanks
...JSR
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--