|
Subject: [xsl] convert a url path to an xpath From: "Lincoln Mitchell" <lincoln@xxxxxxxxxxx> Date: Thu, 30 Dec 2004 10:33:53 +0800 |
I have a path like www.domain.com/company/about/staff.htm and match
"company/about/staff" in the sitemap.
However, I cannot use this path directly in my xpath expression as the xml
looks like:
...
<wx:sub-section>
<w:p>
<w:r>
<w:t>company</w:t>
</w:r>
</w:p>
...
<wx:sub-section>
<w:p>
<w:r>
<w:t>about</w:t>
</w:r>
</w:p>
...
<wx:sub-section>
<w:p>
<w:r>
<w:t>staff</w:t>
</w:r>
</w:p>
...
...
So, somehow I need to create a xpath from the path "company/about/staff"
that looks like:
"wx:sub-section[w:p/w:r/w:t='company']/wx:sub-section[w:p/w:r/w:t='about']/w
x:sub-section[w:p/w:r/w:t='company']"
But how?
Any help greatly appreciated.
Linc
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] Displaying Base64Binary , Lincoln Mitchell | Thread | Re: [xsl] convert a url path to an , M. David Peterson |
| [xsl] Displaying Base64Binary as I, Walid koleilat | Date | Re: [xsl] convert a url path to an , M. David Peterson |
| Month |