Superb! We'll include it in the next release.
thanks
Tom
On Tue, 24 Apr 2001 15:08:16 +0200
"Peter Blum" <[EMAIL PROTECTED]> wrote:
> I've tried to patch the parser.cpp, and insert the function, and after
> sabcmd is working fine.
>
> bl
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of
> > Tom Kaiser
> > Sent: Tuesday, April 24, 2001 18:01
> > To: Sablotron Mailing List
> > Subject: Re: [Sab] Entities in external file.
> >
> >
> > Exactly, that's the function to use, although I had the impression
> that
> > things won't be as simple as that.. but perhaps they will?
> >
> > Tom
> >
> > On Tue, 24 Apr 2001 14:18:04 +0200
> > "Peter Blum" <[EMAIL PROTECTED]> wrote:
> >
> > > There's an Expat function that sablotron doesn't use called:
> > > XML_SetParamEntityParsing
> > >
> > > see: http://www.xml.com/pub/a/1999/09/expat/index.html?page=3
> > >
> > > I think Sablotron should use it.
> > >
> > > blumi
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf
> > > Of
> > > > Tom Kaiser
> > > > Sent: Tuesday, April 24, 2001 16:46
> > > > To: Sablotron Mailing List
> > > > Subject: Re: [Sab] Entities in external file.
> > > >
> > > >
> > > > Yes, I'm afraid *parameter* entities like %name; don't work in
> > > Sablotron
> > > > yet... although the current version of expat does support them, so
> > > there's
> > > > no fundamental obstacle to adding this support.
> > > >
> > > > Tom
> > > >
> > > > On Sun, 22 Apr 2001 11:02:23 +0200
> > > > "Peter Blum" <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > I use PHP4 and Sablotron, but it doesn't work. I've tried to
> debug
> > > and
> > > > > the
> > > > > process didn't try to open the external file specified in SYSTEM
> > > > > atrribute.
> > > > >
> > > > > Blumi
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > > Behalf
> > > > > Of
> > > > > > Greg Militello
> > > > > > Sent: Thursday, April 19, 2001 20:45
> > > > > > To: Sablotron Mailing List
> > > > > > Subject: RE: [Sab] Entities in external file.
> > > > > >
> > > > > >
> > > > > > Yup, this is what I do...
> > > > > >
> > > > > >
> > > > > > ----- XSL -------
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > >
> > > > > > <!DOCTYPE xsl:stylesheet [
> > > > > > <!ENTITY % HTMLlat1 SYSTEM "HTMLlat1x.ent">
> > > > > > %HTMLlat1;
> > > > > > <!ENTITY % HTMLsymbol SYSTEM "HTMLsymbolx.ent">
> > > > > > %HTMLsymbol;
> > > > > > <!ENTITY % HTMLspecial SYSTEM "HTMLspecialx.ent">
> > > > > > %HTMLspecial;
> > > > > > ]>
> > > > > >
> > > > > > <xsl:stylesheet ....>
> > > > > >
> > > > > >
> > > > > > ----- HTMLlat1x.ent -----
> > > > > > <!ENTITY nbsp " ">
> > > > > > <!ENTITY iexcl "¡">....
> > > > > >
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Alexaneder Veremyev [mailto:[EMAIL PROTECTED]]
> > > > > > Sent: Thursday, April 19, 2001 7:08 AM
> > > > > > To: Sablotron Mailing List
> > > > > > Subject: [Sab] Entities in external file.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi
> > > > > >
> > > > > > I use:
> > > > > > -----------------------
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <!DOCTYPE xsl:stylesheet [
> > > > > > <!ENTITY nbsp " ">
> > > > > > <!ENTITY nl "
">
> > > > > > <!ENTITY pound "£">
> > > > > > <!ENTITY copy "©">
> > > > > > ]>
> > > > > > ...
> > > > > > -----------------------
> > > > > > to define entities.
> > > > > >
> > > > > > Is it possible to define entities in external file?
> > > > > >
> > > > > > Somthing like this:
> > > > > >
> > > > > > ----------------------
> > > > > > -- entities.xsl ---
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <!DOCTYPE xsl:stylesheet [
> > > > > > <!ENTITY nbsp " ">
> > > > > > <!ENTITY nl "
">
> > > > > > <!ENTITY pound "£">
> > > > > > <!ENTITY copy "©">
> > > > > > ]>
> > > > > > <xsl:stylesheet
> > > > > > version="1.0"
> > > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
> > > > > > ---------------
> > > > > > -- file1.xsl ---
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <!DOCTYPE xsl:stylesheet>
> > > > > > <xsl:stylesheet
> > > > > > version="1.0"
> > > > > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> > > > > > <xsl:output method="html" encoding="utf-8"/>
> > > > > >
> > > > > > <xsl:include href="file://entities.xsl"/>
> > > > > >
> > > > > > <xsl:template match="/">
> > > > > > ...
> > > > > >
> > > > > > ...
> > > > > > </xsl:template>
> > > > > > ---------------
> > > > > >
> > > > > > ----------------------
> > > > > >
> > > > > > With best regards,
> > > > > > Alexander Veremyev.
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>