Is there a way to include xml in xml in Joomla?

24 views
Skip to first unread message

Dan YJ

unread,
Oct 4, 2012, 9:10:08 PM10/4/12
to joomla-de...@googlegroups.com
This has been bothering me for some time. 
Is there a way that I could extend default template xml file with another xml ?
Reason I am asking is, I do not want the default xml file changed but would like to give an option 
to a user to extend it. 

I tried 2 approaches 
<xi:include

and 
but no luck so far. 

Doing this 

<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd" [ <!ENTITY extend SYSTEM "extend.xml"> ]>

is not giving the xml error so it seems that inclusion works but the output is not there 

<fieldset name="basic"> &extend; </fieldset>

and in extend.xml file i have 1 field 

Is this approach  maybe "disabled" from system side ?

Reply all
Reply to author
Forward
0 new messages