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

Re: feature request

Subject: Re: feature request
From: "Rick Geimer" <Rick.Geimer@xxxxxxx>
Date: Tue, 16 May 2000 10:32:22 -0700
Re: feature request
David Carlisle wrote:
> 
>  I want to be able to
>  create any aspect of XML documents as defined by the XML 1.0 spec without
>  resorting to the kludginess of disabling output escaping.
> 
> But XSL is designed to allow you to create (almost) any aspect of an XML
> document _tree_ ie something for which there exists an XML document
> which would parse to give the same result. It explictly doesn't give
> fine level control over the serialisation. So you can't control whether
> you get ' or " around attribute values, and you can't control whether
> or not parts of the tree are in separate entities. (logically there is
> an argument that these have the same status, even if one seems more
> superficial than the other)

David,

I would be very happy if I could recreate an XML tree that would give
the same parse results as the original document, but when dealing with
unparsed entities referenced in attribute values, I can't seem to find a
proper way to do this. If someone could show me how I could create an
XML 1.0 document using XSLT that would parse the same as the following
document, I would be very happy:

<!DOCTYPE foo [
<!ELEMENT foo EMPTY >
<!ATTLIST foo img ENTITY #IMPLIED >
<!NOTATION gif PUBLIC "-//NATIONAL//NOTATION Compuserve gif format//EN"
"" >
<!ENTITY testimg SYSTEM "testimg.gif" NDATA gif >
]>
<foo img="testimg"/>

Rick Geimer
National Semiconductor
rick.geimer@xxxxxxx


 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.