Re: Does a path / query syntax for YAML exist yet?

Phlip <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
[please configure this mailing list to reply-to the list]

Ben Davis wrote:

 > Hi all,  I really love YAML and would love to start replacing some of my XML
 > structures,

"If broke it ain't, fix it not" --Yoda

 > I've also found that Ruby's YAML group has a class for YPath,  but from
 > looking at the source code I can't see that it does much.

The best way to use XML as a lite user-editable database is with surgical XPath 
strikes, so you probably already have a good design.

I don't know about the library you snipped, but I might be the only person in 
the world who based a system on YPath.

My "yar_wiki" project puts YPath to good use, in Ruby. Hit it here:

   http://www.oreilly.com/catalog/9780596510657/ <-- build a YAML wiki with YPath
   http://assertxpath.rubyforge.org/ <-- unrelated documentation
   http://phlip.svnrepository.com/svn/yar_wiki/ <-- special sauce

-- 
   Phlip



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.