J
Johan
How can I include one XML file into another XML file (on the client
side, in Firefox)?
I think XInclude is just what I need, but Firefox doesn't support it:
https://bugzilla.mozilla.org/show_bug.cgi?id=201754
It seems I also can use an "external entity reference", but that
depends on a DTD and I'm using XML Schema. Is it also possible with a
Schema and how can I do it?
Here is exactly what I'm trying to do:
design.xml:
<?xml .....>
<root>
<design>....</design>
<library>....</library>
</root>
Currently the 'library' element is inside the 'design.xml' file. I
want to put the library element into a separate xml file and include
it in all my design files. (I have a lot of designs and only a couple
of libraries).
The design.xml file contains a reference to an XSLT file that
visualizes the design. When you open the design.xml file in Firefox a
SVG (scalable vector graphics) file is created on the fly and shown to
you.
I also have an XML Schema file that specifies what all the valid
elements in the design.xml file are.
Can someone show me an example that accomplishes this? That would be
great.
thanks, Johan.
side, in Firefox)?
I think XInclude is just what I need, but Firefox doesn't support it:
https://bugzilla.mozilla.org/show_bug.cgi?id=201754
It seems I also can use an "external entity reference", but that
depends on a DTD and I'm using XML Schema. Is it also possible with a
Schema and how can I do it?
Here is exactly what I'm trying to do:
design.xml:
<?xml .....>
<root>
<design>....</design>
<library>....</library>
</root>
Currently the 'library' element is inside the 'design.xml' file. I
want to put the library element into a separate xml file and include
it in all my design files. (I have a lot of designs and only a couple
of libraries).
The design.xml file contains a reference to an XSLT file that
visualizes the design. When you open the design.xml file in Firefox a
SVG (scalable vector graphics) file is created on the fly and shown to
you.
I also have an XML Schema file that specifies what all the valid
elements in the design.xml file are.
Can someone show me an example that accomplishes this? That would be
great.
thanks, Johan.