Re: Full xml output

Subject: Re: Full xml output
From: Eric van der Vlist <vdv@xxxxxxxxxxxx>
Date: Tue, 27 Jun 2000 16:00:18 +0200
I think XSLT (and more precisely the fact that all the "inclusion and
replace" information is lost during the parsing) is really broken as far
as external parsed entities are concerned.

What is even more worrying is that the XInclude draft doesn't address
these issues and that it's likely to present the same problems.

I **think** there are some ways to hack input and output methods to
avoid this lost and enable a proper treatment of external parsed
entities, and I plan to do some work in this direction next month but I
haven't much to share yet ;) ...


"Pawson, David" wrote:
> In converting a file from SGML to XML, I
> have come across a versioning system that, I think,
> provides a fair use case for the ability to output entities.
> The source documents (~60) use an external entity file
> to hold the versions
> <!ENTITY relvers CDATA "4.0.1">
> <!ENTITY prevrelvers CDATA "4.0">
> <!ENTITY srcvers CDATA "401">
> <!ENTITY prevsrcvers CDATA "400">
> <!-- Version of the most recent 3.3.x release -->
> <!ENTITY legacyvers CDATA "3.3.6">
> Of course the parser converts the entities to values,
> but my 'need' is to have, as part of the xml output
> (having been through xt) the entities, rather than the version numbers.
> Can it be done other than by a search and replace in the output xml file?
> =======================
> the other problem is INCLUDE /IGNORE sections in the SGML source,
> dependant on the version number.
> Is it possible to carry this through without pre-processing /
> post-processing?
> Regards DaveP
>  XSL-List info and archive:

Eric van der Vlist       Dyomedea              

 XSL-List info and archive:

Current Thread