Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] Does XOM support XPointer within XInclude

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Andrew Thompson <lordpixel AT mac.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] Does XOM support XPointer within XInclude
  • Date: Sat, 19 Mar 2005 17:35:21 -0500

A quick question since I'm on my way out the door and I can't check right now:

Does XOM support XPointer with XInclude?

eg, could I externalize all of my common html <link> elements in a file called headers.xml and import them into the document head using something like this:

<head>
<xi:include href="headers.xml#xpointer(//link)" />
</head>

You can't use just a straight href for this, because every html document will have unique content in the <head> element (eg, the <title>) so I need to be able to pull in just the <link>, <script> and <meta> elements that the documents do have in common.

Is this practical today or is it just theoretical?

AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside

(see you later space cowboy ...)





Archive powered by MHonArc 2.6.24.

Top of Page