You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XDocument catalog = XElement.Parse($@""<Catalog> <Book id=""""bk101""""> <Author>{""Garghentini, Davide""}</Author> <Title>{""XML Developer's Guide""}</Title> <Price>{""44.95""}</Price> <Description>{""\r\n An in-depth look at creating applications\r\n with ""}<technology>{""XML""}</technology>{"". For\r\n ""}<audience>{""beginners""}</audience>{"" or\r\n ""}<audience>{""advanced""}</audience>{"" developers.\r\n ""}</Description> </Book> <Book id=""""bk331""""> <Author>{""Spencer, Phil""}</Author> <Title>{""Developing Applications with Visual Basic .NET""}</Title> <Price>{""45.95""}</Price> <Description>{""\r\n Get the expert insights, practical code samples,\r\n and best practices you need\r\n to advance your expertise with ""}<technology>{""Visual\r\n Basic .NET""}</technology>{"".\r\n Learn how to create faster, more reliable applications\r\n based on professional,\r\n pragmatic guidance by today's top ""}<audience>{""developers""}</audience>{"".\r\n ""}</Description> </Book> </Catalog>"");
114
+
XElement htmlOutput = XElement.Parse($@""<html> <body>{from book in catalog.Elements(""Catalog"").Elements(""Book"")
BC36610: Name 'TransformDescription' is either not declared or not in the current scope.
120
+
3 target compilation errors:
121
+
CS0029: Cannot implicitly convert type 'System.Xml.Linq.XElement' to 'System.Xml.Linq.XDocument'
122
+
CS1061: 'IEnumerable<XElement>' does not contain a definition for 'Value' and no accessible extension method 'Value' accepting a first argument of type 'IEnumerable<XElement>' could be found (are you missing a using directive or an assembly reference?)
123
+
CS0103: The name 'TransformDescription' does not exist in the current context");
0 commit comments