RE: [d20-xml] Re: XPath to ref skills
- Cross-posted from the d20-XML list.
> -----Original Message-----
> From: Michael Cortez
> To: firstname.lastname@example.org
> Subject: RE: [d20-xml] Re: XPath to ref skills
> >> Haven't seen XIncludes before. Can you post a brief
> >> description and example? Where can I find some net
> >> references to learn more?
> Essentially XIncludes allow you to put a place marker in XML
> file A, that references either XML file OR an XPath into file B.
> Then when processed with an XInclude enabled XSL parser
> (Saxon & xsltproc should both work) -- you have the option of
> having the referenced piece of XML placed inline into the
> document, just before being transformed. This one of three
> options. The other two are, 1) leave the XInclude tag in
> place, ie don't resolve it or 2) XIncludes allows you to have
> a fail-over tag, that gets substituted for the referenced
> xml. The second is supposed to be used when the referenced
> xml cannot be found, but it can do double duty.
> So the idea here, is that if you have a character xml file,
> that references 4 or 5 skills in a skills.xml document
> somewhere, you could use XIncludes to mark the references.
> This gives the character.xml file the benefits of staying
> small, yet still containing all the referenced material
> inline. It also has the benefit of being a native xml
> artifact, rather then a contrived add on.
> From W3C:
> The examples at the bottom show some good applications.