Subject: RE: Forcing namespace output/generating self-contained fragments
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Tue, 1 Jul 2003 13:07:21 -0400
|
[ Arthur Allen]
>I use SAX 1.0 to post-process the file to capture subtrees
> into data base
> records
> ( in large qty), by way of temporary capture files. Unfortunately the
> resulting
> subtrees are missing needed namespace declarations, and are
> thus invalid as
> such.
>
> 1) Is there a way of forcing the output of namespace
> declarations under a
> node
> instead of relying on implicit namespace inheritance, so that
> when I chunk
> the file
> I have complete fragments.
>
> 2) Is there a clean way of doing what I am trying to do?
>
Use Sax 2, which understands namespaces.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|