Discussion: Design Questions
Design Questions
Seth LaddWed Aug 17 20:25:52 HST 2005
- Previous message: Design Questions
- Next message: Design Questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]
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
- Previous message: Design Questions
- Next message: Design Questions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]










