- From: Elliotte Rusty Harold <elharo@macfaq.com>
- Date: Thu, 26 Oct 2000 12:13:08 -0400
- To: www-xml-xinclude-comments@w3.org
The XPointer in the following example from appendix C2 is incorrect: <?xml version='1.0'?> <document> <p>The relevant excerpt is:</p> <quotation> <xinclude:include xmlns:xinclude="http://www.w3.org/1999/XML/xinclude" href="source.xml#xpointer(string-range(chapter/p[1],'Sentence 2') to string-range(chapter/p[2]/i,'3.',0,11))"/> </quotation> </document> The to keyword is from an old working draft of XPointer. I think it should now be replaced by range-to like this: <?xml version='1.0'?> <document> <p>The relevant excerpt is:</p> <quotation> <xinclude:include xmlns:xinclude="http://www.w3.org/1999/XML/xinclude" href="source.xml#xpointer(string-range(chapter/p[1],'Sentence 2')/range-to (string-range(chapter/p[2]/i,'3.',0,11)))"/> </quotation> </document> -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible (IDG Books, 1999) | | http://metalab.unc.edu/xml/books/bible/ | | http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://metalab.unc.edu/javafaq/ | | Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/ | +----------------------------------+---------------------------------+
Received on Thursday, 26 October 2000 12:18:04 UTC