[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Help with XInclude...

  • From: "Cintron, Jose J." <jcintron@m...>
  • To: "Richard Tobin" <richard@i...>, <xml-dev@l...>
  • Date: Wed, 1 Nov 2006 16:10:01 -0500

RE:  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 - <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

smime.p7s



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.