W3C home > Mailing lists > Public > www-xsl-fo@w3.org > May 2009

XSL - multiple namespaces

From: Sam Fuqua <samfuqua@gmail.com>
Date: Tue, 5 May 2009 02:22:01 -0400
Message-ID: <e0af82400905042322x83d6183p71cee8647c025fcc@mail.gmail.com>
To: www-xsl-fo@w3.org
Hi,

I have an xml document with multiple namespaces and I'm wondering how to
handle them with xsl.  The document looks like the following:

<?xml version="1.0" encoding="UTF-8"?>
<parent xmlns="url1" xmlns:ns2="url2" xmlns:ns3="url3">
   <child/>
   <sibling xmlns="url2" xmlns:ns4="url5">
      <ns4:grandchild/>
   </sibling>
</parent>

Of course I know how to handle namespaces from the root level, but how would
I handle these child elements that redeclare namespaces?

-- 
Sam Fuqua
  454
Received on Tuesday, 5 May 2009 06:22:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 May 2009 06:22:37 GMT