|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML syntax for XPath?
From: Ken MacLeod <ken@b...> > A neat utility would be a parser-tool (comparible to yacc, for > example) that would parse a syntax to produce XML output > (SAX/DOM/Grove) for the resulting parse tree. This is what SGML is good for. Probably you could specify the appropriate SGML DTD (the grammar, the extra delimiters (short references), the context in which delimiter maps operate, which tags can be ommited). One approach (which I have been working on a toy schema language called CICADA which is based on this approach, but I am not happy with it yet) is to allow perl regexes on data content, allow named groups in the regex, and then exposed the parsed result so that the named groups are XML subelements. Cheers Rick Jelliffe
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








