[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re-insert IDs and RIDs
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|