I saw this post does anyone knows about some C# framework doing similar like dom4j do? I need to build up XMLs using XPATHs.
Asked
Active
Viewed 3,370 times
-2
-
3I thought XPATH was for searching in existing XML streams and plucking out values, not "building up" new ones. I'd be shocked if C# didn't already have such a thing. It's likely to be just one, instead of the many alternatives available to Java (e.g., dom4j, jdom, etc.). – duffymo Jul 26 '09 at 14:13
-
Not XPath expression related, but some sort of XPath engine implementation question. Retagging – Jan 15 '11 at 14:24
-
Recommendation requests are, in general, off-topic for stack overflow. But does [Create XML Nodes based on XPath?](https://stackoverflow.com/q/508390/3744182) answer the question of the person awarding the bounty? – dbc Jan 05 '22 at 15:41
1 Answers
1
You are probably looking for XPath natively part of C# : https://learn.microsoft.com/en-us/dotnet/api/system.xml.xpath?view=net-6.0

Yann TM
- 1,942
- 13
- 22
-
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/30800850) – KonstantinosKokos Jan 12 '22 at 14:12
-
well the answer is really in the "natively" + consult the documentation of your language provider to get precise info, not much more to say than you don't need to look further than the libraries provided in C#.Net API, dom4j is not native in Java but System.XML.Xpath is native to C# – Yann TM Jan 19 '22 at 21:41