[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
RE: [xml-dev] Help with XInclude...
- From: "Cintron, Jose J." <jcintron@mitre.org>
- To: "Richard Tobin" <richard@inf.ed.ac.uk>, <xml-dev@lists.xml.org>
- Date: Wed, 1 Nov 2006 16:10:01 -0500
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@mitre.org>
|
| 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@inf.ed.ac.uk]
Sent: Tuesday, October 31, 2006 20:09
To: xml-dev@lists.xml.org
Subject: Re: [xml-dev] Help with XInclude...
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.
-- 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@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
smime.p7s
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]