xml - How does one copy document specific DTD during XSL transformation? -


I have the following document specific DTD at the top of the XML file created by my editing software:

  & lt ;! DOCTYPE front system "File: /// M: / Library / AMH-Paid.Dtd" [& lt ;! Notation CGM Public "" & gt; & Lt ;! - Start document specific announcements - & gt; & Lt ;! ENTITY fm.tcont "(continued)" & gt; & Lt ;! ENTITY equation 1 system "equation 11.cgm" NDTA CGM & gt; & Lt ;! ENTITY equation 2 system "equation 26.cgm" NDTA CGM & gt; & Lt ;! ENTITY equation 3 system "equation 32.cgm" NDTA CGM & gt; & Lt ;! ENTITY equation 4 system "equation 41.cgm" NDTA CGM & gt; & Lt ;! ENTITY equation 5 system "equation 51.cgm" NDTA CGM & gt; & Lt ;! ENTITY equation 6 system "equation 62.cgm" NDTA CGM & gt; & Lt ;! - End Document Specific Announcements - & gt;] & gt;   

We are updating the general functionality to our content, and therefore change the existing XML files through XSLT.

We have two hundred documents, but only a handful of them in a handful of specific announcements (which vary in number, name and value) which we have to maintain through change.

However, I can not find any way to keep up unit declaration changes.

Is this possible and how will you do it?

DDT announcements are not part of the data model presented to the XSLT processor, so it should not be done directly can.

A Andrew Welch is an alternative solution to use the lexus tool. This allows DTD to be converted to a XML presentation as a pre-processing step, and then reverse as a processing step.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -