W3C home > Mailing lists > Public > www-xml-xinclude-comments@w3.org > April 2009

Question about XInclude

From: Markus Waltl <markus.waltl@itec.uni-klu.ac.at>
Date: Mon, 06 Apr 2009 09:21:51 +0000
Message-ID: <49D35BBF.6030509@itec.uni-klu.ac.at>
To: www-xml-xinclude-comments@w3.org
CC: mwaltl@itec.uni-klu.ac.at
[[PGP Signed Part:Failed]]
Dear Sirs,

I have a question regarding XInclude. I saw in 2000 the same question
showed up put during this time XInclude was under development. Now I
want to know if it is possible to import definitions which have
attributes within XInclude and attributes within
the included file with the current recommendation? For example:

orig.xml:
---------
<xi:include ref="file.xml" title="Hello there"/>

file.xml:
---------
<Book chapter="5" page="50"/>


output after processing:
------------------------
<Book chapter="5" page="50" title="Hello there"/>

Is this possible? Or is it allowed for an implementation to resolve to
the above result? I am asking because within the recommendation there is
the parsus: "Attributes other than those listed above may be placed on
the xi:include element."


Please inform me as soon as possible.

Regards,

Markus Waltl

PS: please CC to my address!



--
Markus Waltl, Bakk.techn.           Phone:  ++43-463-2700-3633
System Engineer                     Fax:    ++43-463-2700-3699
ITEC, University of Klagenfurt      Office: E.2.41a
E-mail: markus.waltl@itec.uni-klu.ac.at
GnuPG KeyID: 7761179D, available at pgpkeys.pca.dfn.de
Fingerprint: 0871 C735 B0E7 028E 4434 5926 AE3B EA79 7761 179D
[[End of PGP Signed Part]]
Received on Wednesday, 8 April 2009 11:33:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 April 2009 11:33:21 GMT