Discussion: Design Questions
Design Questions
Daniel LeuckWed Aug 17 21:47:00 HST 2005
- Previous message: Design Questions
- Next message: SDL Repository
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]
Hi Seth, > 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 Yes. > 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'] Hmmm... I suppose it would be good to keep with an existing standard (at least as close as possible.) We would have to remove the quotes because 2 is actually a number in SDL, but we could keep the rest. Dan
- Previous message: Design Questions
- Next message: SDL Repository
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ top page ]










