Top Graphic
Ikayzo.org LogoHomeMissionCriteriaPeopleNews
EnglishJapanese

What's New
SDL
08.11.05 SDL is voted in by the review board.

Ikayzo.org Launch
06.24.05 Ikayzo.org, a global professional open source community is launched!

Beanshell
06.10.05 Beanshell joins BeanShell on the Ikayzo.org project list.
OSS Sites
Other great open source sites
  SourceForge
  CodeHaus
Discussion: Design Questions

Design Questions

Seth Ladd
Wed Aug 17 20:25:52 HST 2005


On 8/17/05, Daniel Leuck <dan at ikayzo.com> wrote:
> > > I like this.  I think all of this should be supported.
> >
> > Basically, just rip off XPath. :)
> 
> I think it's a bit different because of the value lists, but we could copy
> the rest.

In XPath, they use the [] as the conditional expression.  If we use
that to reference values and attrs, how do we do conditionals?

Oh, is this legal in SDL?

example foo=1
example foo=2

If duplicate tag names are allowed, then we'll need to be able to say this:

"return the tag with the name 'example' with an attr name foo equal to 2"

in xpath, it's something like example[@foo='2']

Seth



Query: [How to search]

Display: Description: Sort: