[Home] [By Thread] [By Date] [Recent Entries]

  • From: Oleg Tkachenko <oleg@t...>
  • Date: Wed, 01 Nov 2006 12:57:56 +0200

Richard Tobin wrote:
> In article <0D6AD1CAA6E85548B5F1BCFE746B725CDD5120@I...> 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]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member