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

RE: Another question about unresolved entities & XSL

Subject: RE: Another question about unresolved entities & XSL
From: "DuCharme, Robert" <Robert.DuCharme@xxxxxxxxxx>
Date: Tue, 6 Jun 2000 15:34:36 -0400
ducharme entities
>How about this - is there a way to:
>
>     copy everything in one file to another file
>     delete any unresolved entity from the copied file
>     run standard XSL scripts on the copied file
>
>without resorting to Emacs or Perl?  I'm dealing with a really big
>file (so Emacs is painful) and I can't program (so Perl is right out).

Asking a program to read unresolved entities, not choke on them, and to then
take some action based on the ability to resolve them is a tall order. The
best approach would probably be to find some validating Java XML parser and
then tinker with its exception handling for the case of unresolved entities,
but this of course would require some level of comfort with Java.

SGML had a neat trick where you could declare a default entity like this:

  	<!ENTITY #DEFAULT "*UNKNOWN ENTITY*">

but I guess that got chucked in the effort to trim SGML down into XML.

Bob DuCharme       www.snee.com/bob       <bob@  
snee.com>  see www.snee.com/bob/xmlann for "XML:
The Annotated Specification" from Prentice Hall.


 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.