[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Help with XInclude...
- From: Oleg Tkachenko <oleg@tkachenko.com>
- Date: Wed, 01 Nov 2006 12:57:56 +0200
Richard Tobin wrote:
> In article <0D6AD1CAA6E85548B5F1BCFE746B725CDD5120@IMCSRV3.MITRE.ORG> you write:
>> <xi:include href="b.xml"
>> xpointer="/VULNERABILITIES/VULNERABILITY[ID_NUMBER=1070]/DESC"/>
>
> That's an XPath, not an XPointer.
>
> Try
>
> xpointer="xpointer(/VULNERABILITIES/VULNERABILITY[ID_NUMBER=1070]/DESC)"/>
>
> but there's no guarantee that your XInclude implementation supports
> the "XPointer xpointer()" scheme.
I'd suggest also trying
xpointer="xpath1(/VULNERABILITIES/VULNERABILITY[ID_NUMBER=1070]/DESC)"/>
Some XInclude implementations support xpath1() scheme as XPath is much
easier to implement than full xpointer() scheme.
--
Oleg
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]