Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - xincluding a file twice >Thread Next - Re: xincluding a file twice Re: xincluding a file twiceTo: NULL Date: 12/3/2008 12:29:00 PM McSwell wrote: > I want to xi:include (part of) a single XML file twice in the same XML > document --snip-- > The problem is that the <Ph:PhonemeSet xml:id = "UrduPhonemeSet)"> > element gets embedded both times (once inside the <src:fragment>, and > once by itself)--and so its xml:id shows up twice, which means it > flunks validation (xsltproc complains). Since you are using xsltproc you can use the xpointer() scheme. See here: http://www.sagehill.net/docbookxsl/DuplicateIDs.html // Magnus | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
