man > XML::XPath::Node::Namespace

📖 NAME

Namespace - an XML namespace node

🚀 Quick Reference

Use CaseCommandDescription
Create a namespace nodenew(prefix, expanded)Create a new namespace node with given prefix and expanded URI
Get the prefixgetPrefix()Return the namespace prefix
Get the expanded URIgetExpanded()Return the expanded namespace URI
Convert to stringtoString()Return xmlns:prefix="expanded" string

🔧 API

🆕 new(prefix, expanded)

Create a new namespace node, expanded is the expanded namespace URI.

🔍 getPrefix

Returns the prefix

🔍 getExpanded

Returns the expanded URI

📝 toString

Returns 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)

XML::XPath::Node::Namespace
📖 NAME 🚀 Quick Reference 🔧 API
🆕 new(prefix, expanded) 🔍 getPrefix 🔍 getExpanded 📝 toString

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)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format