cjreynolds
2009-03-24 22:50:10 UTC
I have a grammar (xml) file, and one of the top-level rules is:
<RULE NAME="dosome" TOPLEVEL="ACTIVE">
<P>Merlin Do Some</P>
<RULEREF NAME="ArtList"/>
</RULE>
Then in the same file I have:
<RULE NAME="ArtList">
<L>
<P>AC-DC</P>
<P>Aerosmith</P>
<P>Al Di Meola</P>
<P>Allman Brothers</P>
<P>Alvin Lee</P>
etc...
</L>
</RULE>
I would like to have the "ArtList" in a separate file (ie: artlist.xml).
I've tried
<!--#include FILE="artlist.xml" -->
Didn't work - tried putting a URL property in the ruleref tag:
<RULE NAME="dosome" TOPLEVEL="ACTIVE">
<P>Merlin Do Some</P>
<RULEREF NAME="ArtList" URL="artlist.xml"/>
</RULE>
but that didn't work either. Tried absolute pathname in the URL
(URL="file://f:/tmp/artlist.xml"/) but that failed.
What am I missing here?
<RULE NAME="dosome" TOPLEVEL="ACTIVE">
<P>Merlin Do Some</P>
<RULEREF NAME="ArtList"/>
</RULE>
Then in the same file I have:
<RULE NAME="ArtList">
<L>
<P>AC-DC</P>
<P>Aerosmith</P>
<P>Al Di Meola</P>
<P>Allman Brothers</P>
<P>Alvin Lee</P>
etc...
</L>
</RULE>
I would like to have the "ArtList" in a separate file (ie: artlist.xml).
I've tried
<!--#include FILE="artlist.xml" -->
Didn't work - tried putting a URL property in the ruleref tag:
<RULE NAME="dosome" TOPLEVEL="ACTIVE">
<P>Merlin Do Some</P>
<RULEREF NAME="ArtList" URL="artlist.xml"/>
</RULE>
but that didn't work either. Tried absolute pathname in the URL
(URL="file://f:/tmp/artlist.xml"/) but that failed.
What am I missing here?