[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote: Please do not take threads off list. and i want to extract all value at /html/body/Table/tr/td[1]/p,/html/body/Table/tr/td[2]/p,/html/body/Table/tr/td[3]/p........ so if i let $path=/html/body/Table/tr/td[1]/p $tag=td $index=1,2,..>
Very sorry for my click on button reply.
<AuthorName> value at Xpath: "/html/body/table/tr/td[2]/p" </AuthorName> <AuthorName> value at Xpath: "/html/body/table/tr/td[3]/p" </AuthorName> .......... I want this XSL work for a set of web page(Structure similar but the number of author is different), and i want to customize the tag: because a list of value may be found at some XPAth a bit different. <AuthorName> value at Xpath: "/html/body/table[1]/tr/td/p" </AuthorName> <AuthorName> value at Xpath: "/html/body/table[2]/tr/td/p" </AuthorName> That is the raison why i have create an template recursive. But it's too complicate to solve with String in XSL. CAO. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



