StevenCote
Programmer
I have one XML file and need to create several XSL files to style my XML different ways. I've seen several scripted ways to do this, but it seem to me this should be common place, ...part of XML.
I found that creating NEW XML's and using ENTITIES in the DOCTYPE would allow me do this.
Is this a valid practice? I've never seen it suggested.
I don't know allot about it... Kinda new to XML
It seems to work...
example:
<?xml version 1.0?>
<!DOCTYPE NewXML
[
<!ENTITY OriginalXML SYSTEM "My.xml">
]>
<?xsl-stylesheet different style sheet?>
<XMLData>
&OriginalXML;
</XMLData>
If this kinda thing is ok I'm a happy camper...
I found that creating NEW XML's and using ENTITIES in the DOCTYPE would allow me do this.
Is this a valid practice? I've never seen it suggested.
I don't know allot about it... Kinda new to XML
It seems to work...
example:
<?xml version 1.0?>
<!DOCTYPE NewXML
[
<!ENTITY OriginalXML SYSTEM "My.xml">
]>
<?xsl-stylesheet different style sheet?>
<XMLData>
&OriginalXML;
</XMLData>
If this kinda thing is ok I'm a happy camper...