[MarkLogic Dev General] Reg: Enriching the content

judie pearline jj_judie at yahoo.co.in
Mon Nov 2 08:34:15 PST 2009


Hi Team,
We have the following input xml data. 
 
<data>
 <text>7. Good</text>
 <text>(a) better</text>
 <text>12. Bad</text>
 <text>(g) worse</text>
</data>
 
Please let us know how to achive below output from the above data:
 
<data> 
 <info value="7">
  <id>7.</id>
  <text>Good</text>
 </info>
  <info value="a">
  <id>(a)</id>
  <text>better</text>
 </info>
  <info value="12">
  <id>12.</id>
  <text>Bad</text>
 </info>
  <info value="g">
  <id>(g)</id>
  <text>worse</text>
 </info>
</data>
 
 
Thanks in Advance
 
Regards,

Judie


      Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20091102/c70d99f8/attachment.html


More information about the General mailing list