I've the below piece of XML.
HTML Code:
<toc-div>
<title>CHAPTER 1 INTRODUCTION</title>
<subtitle>
<content-style font-style="italic">David Smith</content-style>
</subtitle>
<toc-item>
<toc-title>1. Love on the Star Ferry</toc-title>
<toc-pg>2</toc-pg>
</toc-item>
<toc-item>
<toc-title>2. Contracts, Torts, Copyrights and Other Mysteries of the Legal World</toc-title>
<toc-pg>2</toc-pg>
</toc-item>
</toc-div>
here actually i want to get the reference that matches the title from different document.
the second document i have is
HTML Code:
<chapter num="1">
<toc>
<toc-part>
<toc-div>
<toc-item>
<toc-title>1. Love on the Star Ferry</toc-title>
<toc-pg>1.002</toc-pg>
</toc-item>
<toc-item>
<toc-title>2. Contracts, Torts, Copyrights and Other Mysteries of the Legal World</toc-title>
<toc-pg>1.004</toc-pg>
</toc-item>
</toc-div>
</toc-part>
</toc>
</chapter>
the condition is , first he title should be matched in both cases and then the <toc-pg> should be taken and displayed. i'm able to redirect to that document by using the below xslt, but i'm unable to know how i can retrieve these values. below is the XSLT i tried.
please let me know how can i see the value expected.
Thanks