This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Including CSS File References in HTML Output, Ignoring Entities, Extracting Data from DBHTML Calls....



> >David Carlisle wrote:
> >>Laurie Mann wrote:
> >>Second:  Ignoring entities.  Is there way to tell the processor to
> >>ignore entities in a file?
> >No. By the time the processor sees the file all the entity references
> >have gone and are replaced by their replacement text. this is a function
> >of the XML parser.
> 
> Maybe I asked the wrong question.  I don't want the XML parser to ignore
> entities - but when text and file entities appear in an XML file that's
> being processed by an XSL script, why does the XT processor care about
> resolving those entities?   Isn't there a way to either pass those entities
> through or convert them to hyperlinks?

The XSLT processors are working on SAX events generated by a XML parser
which resolves the entities by its own before the XSLT processor begins
its work.

Even if it was not the case, the processing of entities is changing the
source trees and it would be dangerous not to process them...

Eric
-- 
------------------------------------------------------------------------
Eric van der Vlist                                             Dyomedea
http://xmlfr.org         http://ducotede.com        http://dyomedea.com
------------------------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]