xsl-list
[Top] [All Lists]

RE: "normalizing" an XML document

2004-09-29 23:01:52
Hello, Jarno:

Tomorrow I'll post specific files and 
then explain the task a bit better....

Regards,

Oswald


--- Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com wrote:

Hi,

I have an XML document X1 that conforms to schema
M1,
where M1 is the 'union' of schemas S1 and S2, each
of
which contains multiple entities.  I need to split

the contents of X1 into two XML documents D1 and
D2,
where D1 conforms to S1 and D2 conforms to S2. 
This
problem is further complicated by the fact that S1
and S2 (and hence M1) also contain many
namespaces.

I would appreciate a rudimentary solution, such as
one in which S1 and S2 define a single complex
type
that contains elements with different namespaces.

Do you need a solution where a stylesheet ST1
processes S1 and S2 and generates stylesheets SG1
and SG2, which can extract the documents D1 and D2
from M1, or do you just want a stylesheet that hard
codes the logic? Coming up with even a rudimentatry
solution without seeing your schemas is more of less
impossible, so if you show us your schemas and the
solution attempt you've got so far, maybe people can
offer specific solution possibilities.

Cheers,

Jarno - Real Synthetic Audio 2004-08-03


--+------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





<Prev in Thread] Current Thread [Next in Thread>