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

Re: File Entity Behaviour

Subject: Re: File Entity Behaviour
From: "Betty L. Harvey" <harvey@xxxxxxxxxxxxxxxxx>
Date: Tue, 28 Sep 1999 23:21:24 -0400 (EDT)
file entity
It works fine without the XSL stylesheet.  When I add the
XSL stylesheet is when I am experiencing the problem.

I knew that file entities don't work with CSS but I
thought they would work with XSL.  If you have a file
entity and CSS, IE 5.0 only displays the file entity
and not the rest of the file.

EXAMPLE:

	File without CSS:

	http://www.eccnet.com/sgmlug/xml-browsers/poem/raven.xml

	Same file with CSS stylesheet:

	http://www.eccnet.com/sgmlug/xml-browsers/poem/raven-css.xml

	This is the same file with XSL but I only have 1 ENTITY.

	http://www.eccnet.com/sgmlug/xml-browsers/poem/raven-xsl.xml

Stanza 2 is the file entity.

Thanks.

Betty



On Tue, 28 Sep 1999, Bill Martschenko wrote:

> Betty,
> 
> I'm not seeing this behavior in IE 5.00.2314.1003.
> 
> Below are the steps and results.  Did you follow
> different steps?
> 
> Bill
> 
> 
> What I see in IE when I open test.xml:
> -----------------
>   <!DOCTYPE myfile (View Source for full doctype...)> 
> - <myfile>
> - <a>
>   <a1>aaaa</a1> 
>   <b1>bbbb</b1> 
>   </a>
> - <abc>
> - <a>
>   <a1>aaaa</a1> 
>   <b1>bbbb</b1> 
>   </a>
>   </abc>
> - <def>
>   "DEF 
> - <x>
>   <y1>yyyy</y1> 
>   <z1>zzzz</z1> 
>   </x>
>   "DEF 
>   </def>
> - <x>
>   <y1>yyyy</y1> 
>   <z1>zzzz</z1> 
>   </x>
>   </myfile>
> -----------------
> 
> I'm using the following input files, verbatim:
> 
> test.xml
> -----------------
> <!DOCTYPE myfile [
> <!ENTITY item1 SYSTEM "item1.xml">
> <!ENTITY item2 SYSTEM "item2.xml">
> ]>
> <myfile>
> &item1;
> <abc>&item1;</abc>
> <def>
>   DEF&item2;DEF
> </def>
> &item2;
> </myfile>
> -----------------
> 
> item1.xml
> -----------------
> <a>
> <a1>aaaa</a1>
> <b1>bbbb</b1>
> </a>
> -----------------
> 
> item2.xml
> -----------------
> <x>
> <y1>yyyy</y1>
> <z1>zzzz</z1>
> </x>
> -----------------
> 
> 
> 
> 
> --- Betty Harvey <harvey@xxxxxxxxxxxxxxxxx> wrote:
> > I am experiencing strange behaviour from IE 5.0 and
> > File Entities.
> > 
> > If everything is in the file, no file entities, it
> > looks
> > beautiful.
> > 
> > When I have the following:
> > 
> > <!DOCTYPE myfile [
> > <!ENTITY item1 SYSTEM "item1.xml">
> > <!ENTITY item2 SYSTEM "item2.xml">
> > ]>
> > <myfile>
> >    .
> >    .
> >    .
> >   &item1;
> >   &item2;
> >    .
> >    .
> > </myfile>
> > 
> > IE 5.0 displays &item1; and &item2; before the front
> > matter of
> > the document, then displays it again in the right
> > location.  Even
> > when I take reference to &item1; and &item2; out of
> > the
> > document document and leave the ENTITY references in
> > the document
> > they still display, even though they aren't being
> > referenced.
> > 
> > Has anyone else experienced this behaviour?  If so,
> > are there
> > any workarounds?
> > 
> > TIA.
> > 
> > Betty
> > 
> >
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> > Betty Harvey                         | Phone:
> > 301-540-8251 FAX: 4268
> > Electronic Commerce Connection, Inc. |
> > 13017 Wisteria Drive, P.O. Box 333   |
> > Germantown, Md.  20874               |
> > harvey@xxxxxxxxxx                    | Washington,DC
> > SGML/XML Users Grp
> > URL:  http://www.eccnet.com          |
> > http://www.eccnet.com/sgmlug/
> >
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/
> > 
> > 
> >  XSL-List info and archive: 
> > http://www.mulberrytech.com/xsl/xsl-list
> > 
> 
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 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.