Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
XML
How to pull the namespaces to the serailized XML Fragment using Xalan-C++ API
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Joe Kesselman, post: 2024178"] Namespace Nodes are an XSLT/XPath concept. Basically, they're the declarations in scope at a given node. The normal copy-a-node-from-source-to-result mechanisms in XSLT (xsl:copy) conceptually copies these along with the nodes, helping to ensure not only that all namespaces used in node names are properly defined, but that those in text content (for example, in XPaths that are part of the content being processed) have their necessary info. See the XPath spec's description of the namespace:: axis, and XSLT's description of how namespace nodes are handled. If you're hand-coding the copy process, it's up to you to either do this sort of copying -- determine which declarations are in scope and explicitly declare them in the output document -- or to have your serializer regenerate them when you discover that a namespaced node has a prefix that isn't already declared with that value at this point in the document. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
XML
How to pull the namespaces to the serailized XML Fragment using Xalan-C++ API
Top