Sign In/My Account | View Cart  
advertisement

Article:
 Using XInclude
Subject: What about IDREFs?
Date: 2002-07-31 20:37:42
From: Micah Dubinko

XInclude looks useful for large projects, like say writing a book, but there's one critical missing piece, as far as I can tell.


Using the book example, it quite often necessary for one chapter to reference another, usually with ID and IDREF. When each chapter is an entity, IDREFs still work, since everything is still considered a same-document reference. In the separate-documents plus XInclude scenario, this breaks.


What's a good way to deal with this?


.micah


No Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • What about IDREFs?
    2002-08-02 05:05:20 user2048 user2048

    When using IDREFs, validate after doing the inclusion, not before?

    • What about IDREFs?
      2002-08-03 21:56:15 Micah Dubinko

      >validate after XInclude...


      Yeah, I suppose. How is this better than general entities?


      It's really a shame. Validating XML in the editor is so useful too.


      I'll pass on XInclude.


      -m


Sponsored By: