[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xml parser question
On Tue, Jun 27, 2000 at 07:33:03PM +0100, Dave Pawson wrote: > In moving some stuff from SGML to xml, I keep falling > foul of the xml parsers doing what they should! > > Some stuff from LINUXDOC has all its version details in > an external file, ref'd by entities. I'm trying to use > sgmlnorm, sx and xt to get it into xml. In the finished > documents I want (would like) the entities back in place so that writers > can see 'In version &latest; .... etc.' > > As part of the parse by sx, xt etc, all the ents are resolved > to 4.4.1 or whatever version is being referred to. > > How much hassle is it to add a switch to a parser to say > 'leave them alone' please? libxml (should be available on most linux boxen) keeps all entities references by default to be able to save them when the generated tree is saved. http://xmlsoft.org/ This is the default behaviour, there is a switch to force the embedding instead. Daniel -- Daniel.Veillard@w... | W3C, INRIA Rhone-Alpes | Today's Bookmarks : Tel : +33 476 615 257 | 655, avenue de l'Europe | Linux XML libxml WWW Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind http://www.w3.org/People/all#veillard%40w3.org | RPM badminton Kaffe *************************************************************************** This is xml-dev, the mailing list for XML developers. To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev List archives are available at http://xml.org/archives/xml-dev/ ***************************************************************************
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|