Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: xinclude all children xinclude all childrenTo: NULL Date: 7/4/2008 2:34:00 PM I have an XML file that looks something like this: ------------------------ <?xml ...?> <!DOCTYPE ...> <src:fragment id="foo" ...> <Ph:Item> some stuff </Ph:Item> <Ph:Item> some more stuff </Ph:Item> ... <Ph:Item> still more stuff </Ph:Item> </src:fragment> ---------------------- I want to xinclude all the children of the root element into another XML file. I've been trying things like <xi:include href="firstFileName" xpointer="foo/1"/> However, if(!) I'm understanding correctly, this would only xinclude the *first* child of the element named 'foo'. Instead, I want to xinclude *all* the children. I would have thought that this <xi:include href="firstFileName" xpointer="foo/*"/> would work, but it generates an error: XPointer evaluation failed: #foo/* All the variants of this that I've tried also fail. How do I xinclude all children of the specified element? Mike Maxwell CASL/ U MD | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
