[
Lists Home |
Date Index |
Thread Index
]
Compare an XPath expression to the code needed to write it. I believe this
should suffice. Just consider the following simple XPath.. you can guess
the document..
prof[@pName='X']/student/@sName
best, murali.
On Thu, 2 Dec 2004, Howard Katz wrote:
> Agreed: that would be a fascinating and potentially very useful comparison.
> It seems odd to me that I've never seen an article comparing actual XSLT and
> XQuery code for say moderately complex operations. Lots of pontificating
> back and forth but no actual code comparisons that I'm aware of. Anyone know
> of any?
>
> Howard
>
> > -----Original Message-----
> > From: Dare Obasanjo [mailto:dareo@microsoft.com]
> > Sent: Thursday, December 02, 2004 9:37 AM
> > To: Jonathan Robie
> > Cc: Daniela Florescu; Michael Champion; xml-dev@lists.xml.org
> > Subject: RE: [xml-dev] XML-aware programming language?
> >
> >
> > Can you give me the input XML and expected output so I can see
> > whether XQuery really takes 4 times less code than E4X or
> > C-Omega? In fact, I have an article due this month and that
> > would be an interesting topic to cover.
> >
> > --
> > PITHY WORDS OF WISDOM
> > There is nothing more satisfying that having someone take a shot
> > at you, and miss.
> >
> > ________________________________
> >
> > From: Jonathan Robie [mailto:jonathan.robie@datadirect.com]
> > Sent: Thu 12/2/2004 9:06 AM
> > To: Dare Obasanjo
> > Cc: Daniela Florescu; Michael Champion; xml-dev@lists.xml.org
> > Subject: Re: [xml-dev] XML-aware programming language?
> >
> >
> >
> > Dare Obasanjo wrote:
> > > Exactly, that's why as a programmer I'd rather stick with the
> > > language I'm doing most of the application development with anyway
> > > (i.e. C#, Javascript, etc) as opposed to dealing with the [familiar]
> > > complexity of that language plus all the idiosyncracies of XQuery &
> > > XML Schema as well.
> >
> > Hi Dare,
> >
> > For the examples I've compared, I wind up writing about 4 times as much
> > code using that approach, and it definitely takes more time to write and
> > maintain that code.
> >
> >
> >
> > -----------------------------------------------------------------
> > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> > initiative of OASIS <http://www.oasis-open.org>
> >
> > The list archives are at http://lists.xml.org/archives/xml-dev/
> >
> > To subscribe or unsubscribe from this list use the subscription
> > manager: <http://www.oasis-open.org/mlmanage/index.php>
> >
> >
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
>
|