RE: [xsl] "normalizing" an XML document

Subject: RE: [xsl] "normalizing" an XML document
From: Oswald Campesato <ocampesato@xxxxxxxxx>
Date: Wed, 29 Sep 2004 23:01:52 -0700 (PDT)
Hello, Jarno:

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

Regards,

Oswald


--- Jarno.Elovirta@xxxxxxxxx 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

Current Thread