[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Full xml output

Subject: Full xml output
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Tue, 27 Jun 2000 11:21:54 +0100
full xml
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:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.