Use an external (parsed) general entity to reference b. Xml from a. Xml .
Up vote 1 down vote favorite share g+ share fb share tw.
I would just like to be able to dynamically write the contents of an xml file from another xml file. A. XML contains: -Include Contents of b.
Xml B. XML contains: a is there any way to do this in xml? End product looks like this: a Update from comments: In xml alone.
So that when I view the xml file in a browser it renders correctly xml xslt xquery dtd xlink link|improve this question edited Apr 28 '11 at 20:36user357812 asked Apr 28 '11 at 16:01Willyam62.
Use an external (parsed) general entity to reference b. Xml from a.xml. > &b; The XML parser will dynamically include the content of b.
Xml as it parsees a. Xml and will produce the XML that you want. If you load a.
Xml in IE, it will render correctly. Note: Some browsers have very strict security policies that cause problems loading referenced XML files from the filesystem and expanding entity references, so it may not work in all browsers if you load a. Xml from the filesystem, but may work in more browsers if you load from a URL.
If you are asking how to do it in C# it has already been asked before.
In xml alone. So that when I view the xml file in a browser it renders correctly? – Willyam Apr 28 '11 at 16:08 I fear it might not be possible, unless you don't use at least an XSLT.
Perhaps if you describe more thoroughly what you're up to there might be some kind of workaround. – Brizio Apr 28 '11 at 19:25.
When this XML document is opened in a browser: -Include Contents of b. Xml With this XSLT stylesheet (other XML document) refered with stylesheet. Xsl relative URI: It's rendered (without any style, or with browser default XML stylesheet) as: a Note: The processing instruction.
I have used xsl:copy-of instruction because I didn't want to confuse you with posible infinite recursion...
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.