Subject: RE: Reading "entity references" from DTD, using XSLT (1.0 or 2.0)
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Tue, 14 Jun 2005 03:53:17 -0700 (PDT)
|
Hi Mike,
If I have a entity definition &n; in DTD. Can I get
the value of it in XSLT stylesheet ..?
Regards,
Mukul
--- Michael Kay <mike@xxxxxxxxxxxx> wrote:
> No, entity references are expanded by the XML
> parser, and the XSLT processor
> has no way of discovering that they ever existed.
>
> Michael Kay
> http://www.saxonica.com/
>
> > -----Original Message-----
> > From: Mukul Gandhi [mailto:mukul_gandhi@xxxxxxxxx]
>
> > Sent: 14 June 2005 07:25
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject: Reading "entity references" from
> DTD, using
> > XSLT (1.0 or 2.0)
> >
> > I have a question ..
> >
> > I am using XSLT 1.0 language ;) I may migrate to
> XSLT
> > 2.0, if the need arises ..
> >
> > I am given a XML document, which has some entity
> > references .. The entities are resolved in the DTD
> > file for this XML ..
> >
> > Can I read the entity reference in the XSLT (1.0
> or
> > 2.0) stylesheet from the DTD of a XML ?
> >
> > Regards,
> > Mukul
> >
> >
> >
> >
> > __________________________________
> > Discover Yahoo!
> > Find restaurants, movies, travel and more fun for
> the
> > weekend. Check it out!
> > http://discover.yahoo.com/weekend.html
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|