Hi Flibbles, I'd certainly use such a plugin! The perspective of retrieving data and document chunks from XML with such powerful xpath-like filters is quite exciting. Also I don't forget that XHTML is an XML instance...
Don't hesitate to ask if you want early feeback! Cheers, Xavier. Le mar. 28 avr. 2020 à 04:22, Flibbles <[email protected]> a écrit : > Thanks for the reply, TonyM. > > Looks like I'll continue with my plugin. Maybe I'll clean it up and > publish it--just a simple plugin that has some xml tools. > > I was also thinking about xpath filter operators or reference indexes. ( > {{MyXmlRecipe##food[name="French Toast"]/price}} ), or something like that. > Dunno who'd use it. > > On Monday, April 27, 2020 at 9:02:59 PM UTC-4, TonyM wrote: >> >> Flibbles, >> >> Given xml tags act like custom html tags I would think it may be possible >> to use css and the display but it appears the correct way is xslt >> >> >> https://www.w3schools.com/xml/tryxslt.asp?xmlfile=cdcatalog&xsltfile=cdcatalog >> >> >> <breakfast_menu> >> <food> >> <name>Belgian Waffles</name> >> <price>$5.95</price> >> <description> >> Two of our famous Belgian Waffles with plenty of real maple syrup >> </description> >> <calories>650</calories> >> </food> >> <food> >> <name>Strawberry Belgian Waffles</name> >> <price>$7.95</price> >> <description> >> Light Belgian waffles covered with strawberries and whipped cream >> </description> >> <calories>900</calories> >> </food> >> <food> >> <name>Berry-Berry Belgian Waffles</name> >> <price>$8.95</price> >> <description> >> Belgian waffles covered with assorted fresh berries and whipped cream >> </description> >> <calories>900</calories> >> </food> >> <food> >> <name>French Toast</name> >> <price>$4.50</price> >> <description> >> Thick slices made from our homemade sourdough bread >> </description> >> <calories>600</calories> >> </food> >> <food> >> <name>Homestyle Breakfast</name> >> <price>$6.95</price> >> <description> >> Two eggs, bacon or sausage, toast, and our ever-popular hash browns >> </description> >> <calories>950</calories> >> </food> >> </breakfast_menu> >> source https://www.w3schools.com/xml/default.asp >> >> Also there is some codemirror or highlight support for XML >> >> Regards >> Tony >> >> On Tuesday, April 28, 2020 at 10:54:33 AM UTC+10, TonyM wrote: >>> >>> Flibbles, >>> >>> It really depends on what features and functions you want to achieve >>> with XML. The closest comprehensive solution is >>> https://joshuafontany.github.io/TW5-JsonMangler/ but this is for JSON. >>> >>> - There has also being work on pulling tags and tag values from html >>> which would be very similar to some XML cases. >>> - I think there may even have being an XML editor written but I cant >>> find it. >>> - There is also a level of support already through html tag >>> mechanisms. >>> - We would benefit from some widgets and filter operators to >>> interrogate and write XML but this would be good if it were more general >>> allowing us to manipulate any htm/xml in tiddlers. >>> >>> >>> Regards >>> tony >>> >> -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/8201341d-59b4-4b7c-9d0b-77d7b6a85177%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/8201341d-59b4-4b7c-9d0b-77d7b6a85177%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYOcHsAFWrB0%3DVaueymSUePUZo1pJxzEGyj47G%3DezU4xXg%40mail.gmail.com.

