Re: [xep-support] value of rx:meta-field

From: Nikolai Grigoriev (
Date: Thu May 22 2003 - 02:15:34 PDT

  • Next message: Keith Furnell: "RE: [xep-support] value of rx:meta-field"


    > The "problem" is that I would like to use these <rx:metafield>
    > so that the same stylesheet can be used by different users with
    > different xml files without any changes

    So, your problem is how to write an XSLT expression to stuff
    @value attribute with data from the source XML document,
    right? That's what my very first message was about.

    > For example the "value" of the metafield "author" would get
    > the content of the @"State" in the following xml file
    > <e:eAIP xmlns:e=
    > xmlns:xlink=
    > xmlns="" State="France">
    > ....
    > </e:AIP>
    > as well as with the following one
    > <e:eAIP xmlns:e=
    > xmlns:xlink=
    > xmlns=
    > State="Belgium and G.D. of Luxembourg">
    > .....
    > </e:AIP>

    (Your opening and closing tags don't match, BTW).

    <xsl:stylesheet version="1.0"
        <rx:meta-field name="author" value="{/e:AIP/@State}"/>

    should do the trick.

    Best regards,

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Thu May 22 2003 - 02:04:07 PDT