Re: [xep-support] Inter-document references

From: Jim Melton (jim.melton@acm.org)
Date: Thu Apr 17 2003 - 23:25:21 PDT

  • Next message: Jim Melton: "Re: [xep-support] Inter-document references"

    Bob,

    Thanks for the pointer. I'll look a bit deeper at DocBook's stylesheets
    and see how they do it. But it sounds something like my thoughts on how to
    approach this, from what you describe.

    Thanks again,
        Jim

    At 18:31 2003-04-17 -0700 Thursday, Bob Stayton wrote:
    >The DocBook XSL stylesheets have implemented two-thirds of
    >what you are trying to do. DocBook uses olink to link
    >to another DocBook document. The stylesheets have a
    >target collection mode that outputs the cross reference
    >information instead of the regular output. It outputs
    >XML so it can be easily parsed again on the second pass.
    >
    >On the second pass, the name of the data file is passed
    >to the stylesheet as a parameter. The stylesheet opens the
    >data file and parses the data. When an olink is encountered,
    >it looks up the information and resolves the cross reference,
    >generating text if the olink is empty.

    ========================================================================
    Jim Melton --- Editor of ISO/IEC 9075-* (SQL) Phone: +1.801.942.0144
    Oracle Corporation Oracle Email: mailto:jim.melton@oracle.com
    1930 Viscounti Drive Standards email: mailto:jim.melton@acm.org
    Sandy, UT 84093-1063 Personal email: mailto:jim@melton.name
    USA Fax : +1.801.942.3345
    ========================================================================
    = Facts are facts. However, any opinions expressed are the opinions =
    = only of myself and may or may not reflect the opinions of anybody =
    = else with whom I may or may not have discussed the issues at hand. =
    ========================================================================

    -------------------
    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



    This archive was generated by hypermail 2.1.5 : Fri Apr 18 2003 - 09:58:29 PDT