Hacker News new | past | comments | ask | show | jobs | submit login

What is the point of this? I don't see a situation where this would be a better choice over:

(1) XSLT (2) Regular programming language e.g. Java / .NET and use the XML libraries to build the document.

Also with the navigation e.g. UP; it looks hard to maintain.

I can imagine production code ending up with:

UP; UP; UP; UP; UP;

A simple change to the XML structure and this will break so easily.




this supports PUSH and POP

so you could easily PUSH the current node

dive deep deep deep deep (and even have no problem adding more later)

then POP the original location back.


That ain't a whole lot better.

But if you are only doing very simple stuff that you could do quite simply in XSLT anyway then it is probably fine.

Although XSLT may be preferable anyway due to tooling support.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: