[Home] [By Thread] [By Date] [Recent Entries]
Thanks Richard and Oleg for your suggestions. I tried both and none of them
worked, so I went the xslt route. Now I have
<xsl:value-of
select="document('B.xml')//VULNERABILITIES/VULNERABILITY[ID='100']/NAME" />
+------------------------------------------
| José J. Cintrón - <jcintron@m...>
|
| MITRE Corporation
| 7515 Colshire Drive
| Mail Stop T330
| McLean, VA 22102-7508
|
| Phone: 703.983.3040
| Fax: 703.983.1397
+------------------------------------------
-----Original Message-----
From: Richard Tobin [mailto:richard@i...]
Sent: Tuesday, October 31, 2006 20:09
To: xml-dev@l...
Subject: Re: Help with XInclude...
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.
-- Richard
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support
XML implementation and development. To minimize spam in the archives, you
must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l... List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



