Namespace - an XML namespace node
| Use Case | Command | Description |
|---|---|---|
| Create a namespace node | new(prefix, expanded) | Create a new namespace node with given prefix and expanded URI |
| Get the prefix | getPrefix() | Return the namespace prefix |
| Get the expanded URI | getExpanded() | Return the expanded namespace URI |
| Convert to string | toString() | Return xmlns:prefix="expanded" string |
new(prefix, expanded)Create a new namespace node, expanded is the expanded namespace URI.
getPrefixReturns the prefix
getExpandedReturns the expanded URI
toStringReturns a string that you can add to the list of attributes of an element: xmlns:prefix="expanded"
perl v5.28.0 2018-10-20 XML::XPath::Node::Namespace(3pm)
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:42 @216.73.216.177
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format