-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting specified tags #483
Comments
This is not HTML Parser, could you please tell what's the use case? |
In the liquid template above, I want to use backend code that returns different data for each request path. This will be a structure like multiple render_body, rather than using a single render_body. |
You can cast the IFluidTemplate that is returned to a FluidTemplate instance, and have access to all statements. From there you should be able to filter the tags, check their name, and get the positions. |
Here's an example on how to recursively traverse the AST and handle specific statements. `
` |
Thanks a lot |
Is this posible to get all tag from specified template?
for example, i want to get all position tags and they values
The text was updated successfully, but these errors were encountered: