wrote:
> how do XPath statements (engines) feel about
> multi-line XPaths like the one above? Are linebreaks allowed in XPath
> statements?
The section
<http://www.w3.org/TR/xpath#exprlex>
in the XPath 1.0 specification says:
"For readability, whitespace may be used in expressions even though
not explicitly allowed by the grammar: ExprWhitespace may be freely
added within patterns before or after any ExprToken."
thus I think line breaks are allowed in XPath expressions
--
Martin Honnen
http://JavaScript.FAQTs.com/