|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Are nodes atomic values?
> My question is, is there a XPath that selects a node such as i get the > same as if i did a > > <xsl:copy> > <xsl:apply-templates select="*[not(SomeNode)]"/> > </xsl:copy> > > or with a example, giving this node > > <Menu> > <Name>aaa</Name> > <SomeNode>xxx</SomeNode> > </Menu> > > is there a XPath expr that selects only > > <Menu> > <Name>aaa</Name> > </Menu> > Your source document doesn't have a Menu element with one child, so the only way the result can contain a Menu element with one child is by creating a new node or modifying an existing one. XPath never creates or modifies nodes, so the answer is no. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








