[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



