Is this valid?

Subject: Is this valid?
From: Michael.Reinertsen@xxxxxxxxx
Date: Tue, 15 Dec 1998 13:59:06 -0500


I want to access the value of the element which has the id which
corresponds to the current element's id reference.

Here is the DTD:

<!ELEMENT grouped_links (group_info+, group+)>
<!ELEMENT group_info (name, property_list?, group_info?)>
<!ATTLIST group_info
depth               CDATA                #REQUIRED
info_id             ID                   #REQUIRED
>
<!ELEMENT group ((name | href), property_list?, status?, group*)>
<!ATTLIST group
depth               CDATA                #REQUIRED
info_ref       IDREF               #REQUIRED
>
<!ELEMENT property (name, value)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT value (#PCDATA)>
<!ELEMENT property_list (property+)>
<!ELEMENT href (url, text)>
<!ELEMENT url (#PCDATA)>
<!ELEMENT text (#PCDATA)>
<!ELEMENT status (#PCDATA)>

Is this a valid XSL construct?

     <xsl:value-of expr="id({attribute(info_ref)})"/>


Thanks.






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread