Next in thread → Next in month →

RE: [xml-dev] Help with XInclude...

From
Cintron, Jose J. <>
To
Richard Tobin <>,
Date
2006-11-01T21:10:01Z
ID
<>
Thread
RE: [xml-dev] Help with XInclude...
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 - <>
|
| 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:] 
Sent: Tuesday, October 31, 2006 20:09
To: 
Subject: Re: [xml-dev] Help with XInclude...

In article <> 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: 
subscribe:  List archive:
http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Next in thread → Next in month →