xml - xpath help substring expression -


hi have document trying extract date. problem within node along date text too. like

 <div class="postheader">    posted on       july 20, 2009  9:22 pm pdt       </div>   

from tag want date item not posted on text. like
./xhtml:div[@class = 'postheader'] getting everything. , precise, document have nodelist of elements eg 10 nodes of these elements different date values worse problem sometime inside these tags random other tags pops anchors etc. can write universal expath date out of div tag?

with xslt 2.0 have xpath function matches() , replace(). have xpath 2.0 available?


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -