xsl-list
[Top] [All Lists]

RE: Merging Document Problem

2004-07-04 10:16:36
Without knowing what the other document looks like, or what you want the
result to look like, it's very hard to advise you.

2 observations on your XML:

(a) Names beginning "xml" (in any case combination), like XmlSite, should
not be used because they are reserved for future standardisation

(b) The value of xsi:noNamespaceSchemaLocation is supposed to be a URI. The
value "H:\Web
Clients\WWWRoot\Ithinkdesigns\XmlSite\_data\Performance.xsd" is not a URI,
it is a Windows filename. This essentially locks you into Microsoft
products, which don't enforce the standard in this area.

Michael Kay

-----Original Message-----
From: John Hamman [mailto:John(_at_)iThinkdesigns(_dot_)com] 
Sent: 04 July 2004 01:32
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Merging Document Problem

Hi all, Maybe someone can help with this.

I have 2 docs I want to merge and one of them is this:

 

Breadcrumb.xml

<ensemble xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="H:\Web
Clients\WWWRoot\Ithinkdesigns\XmlSite\_data\Performance.xsd">

            <theater>

                        <instrument type="BreadCrumb" 
id="PageBreadCrumb">

                                    <!-- This App is the 
bread crumb of the
page. -->

                                    <Breadcrumb>

                                                <Topic title="Home"
link="/">

                                                            <Topic
title="Services" link="/services">

 
<Topic title="Content Management" 
link="/services/content-management"/>

                                                            </Topic>

                                                </Topic>

                                    </Breadcrumb>

                        </instrument>

            </theater>

</ensemble>

 

And I want to make sure that everything from <theater> on is 
copied exactly
like this one.

Does anyone know how I can do this. I am totally lost since 
its recursive

john



--+------------------------------------------------------------------
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>